@@ -25,7 +25,7 @@ public async Task Set204StatusCodeWhenChannelComplete()
2525 var context = new DefaultHttpContext ( ) ;
2626 var connection = new DefaultConnectionContext ( "foo" , toTransport , toApplication ) ;
2727
28- var poll = new LongPollingTransport ( CancellationToken . None , TimeSpan . Zero , toTransport . Reader , connectionId : string . Empty , loggerFactory : new LoggerFactory ( ) ) ;
28+ var poll = new LongPollingTransport ( CancellationToken . None , toTransport . Reader , connectionId : string . Empty , loggerFactory : new LoggerFactory ( ) ) ;
2929
3030 Assert . True ( toTransport . Writer . TryComplete ( ) ) ;
3131
@@ -43,7 +43,7 @@ public async Task Set200StatusCodeWhenTimeoutTokenFires()
4343 var connection = new DefaultConnectionContext ( "foo" , toTransport , toApplication ) ;
4444
4545 var timeoutToken = new CancellationToken ( true ) ;
46- var poll = new LongPollingTransport ( timeoutToken , TimeSpan . Zero , toTransport . Reader , connectionId : string . Empty , loggerFactory : new LoggerFactory ( ) ) ;
46+ var poll = new LongPollingTransport ( timeoutToken , toTransport . Reader , connectionId : string . Empty , loggerFactory : new LoggerFactory ( ) ) ;
4747
4848 using ( var cts = CancellationTokenSource . CreateLinkedTokenSource ( timeoutToken , context . RequestAborted ) )
4949 {
@@ -62,7 +62,7 @@ public async Task FrameSentAsSingleResponse()
6262 var context = new DefaultHttpContext ( ) ;
6363 var connection = new DefaultConnectionContext ( "foo" , toTransport , toApplication ) ;
6464
65- var poll = new LongPollingTransport ( CancellationToken . None , TimeSpan . Zero , toTransport . Reader , connectionId : string . Empty , loggerFactory : new LoggerFactory ( ) ) ;
65+ var poll = new LongPollingTransport ( CancellationToken . None , toTransport . Reader , connectionId : string . Empty , loggerFactory : new LoggerFactory ( ) ) ;
6666 var ms = new MemoryStream ( ) ;
6767 context . Response . Body = ms ;
6868
@@ -84,7 +84,7 @@ public async Task MultipleFramesSentAsSingleResponse()
8484 var context = new DefaultHttpContext ( ) ;
8585 var connection = new DefaultConnectionContext ( "foo" , toTransport , toApplication ) ;
8686
87- var poll = new LongPollingTransport ( CancellationToken . None , TimeSpan . Zero , toTransport . Reader , connectionId : string . Empty , loggerFactory : new LoggerFactory ( ) ) ;
87+ var poll = new LongPollingTransport ( CancellationToken . None , toTransport . Reader , connectionId : string . Empty , loggerFactory : new LoggerFactory ( ) ) ;
8888 var ms = new MemoryStream ( ) ;
8989 context . Response . Body = ms ;
9090
@@ -111,7 +111,7 @@ public async Task SetsInherentKeepAliveFeatureOnFirstPoll()
111111 var connection = new DefaultConnectionContext ( "foo" , toTransport , toApplication ) ;
112112 var pollTimeout = TimeSpan . FromSeconds ( 42 ) ;
113113
114- var poll = new LongPollingTransport ( CancellationToken . None , pollTimeout , toTransport . Reader , connectionId : string . Empty , loggerFactory : new LoggerFactory ( ) ) ;
114+ var poll = new LongPollingTransport ( CancellationToken . None , toTransport . Reader , connectionId : string . Empty , loggerFactory : new LoggerFactory ( ) ) ;
115115 var ms = new MemoryStream ( ) ;
116116 context . Response . Body = ms ;
117117
0 commit comments