File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
src/Servers/IIS/IIS/test/Common.FunctionalTests Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ public async Task CanSendAndReceieveData()
106106 }
107107
108108 [ ConditionalFact ]
109- public async Task Compression ( )
109+ public async Task AttemptCompressionWorks ( )
110110 {
111111 var webSocketUri = Fixture . DeploymentResult . ApplicationBaseUri ;
112112 webSocketUri = webSocketUri . Replace ( "http:" , "ws:" ) ;
@@ -115,7 +115,9 @@ public async Task Compression()
115115 cws . Options . DangerousDeflateOptions = new WebSocketDeflateOptions ( ) ;
116116 await cws . ConnectAsync ( new Uri ( webSocketUri + "WebSocketAllowCompression" ) , default ) ;
117117
118- var expected = Fixture . DeploymentParameters . HostingModel == HostingModel . InProcess ? "permessage-deflate; client_max_window_bits=15" : "None" ;
118+ // Compression doesn't work with OutOfProcess, let's make sure the websocket extensions aren't forwarded and the connection still works
119+ var expected = Fixture . DeploymentParameters . HostingModel == HostingModel . InProcess
120+ ? "permessage-deflate; client_max_window_bits=15" : "None" ;
119121 await ReceiveMessage ( cws , expected ) ;
120122
121123 for ( int i = 0 ; i < 1000 ; i ++ )
You can’t perform that action at this time.
0 commit comments