flush sslstreams in keepalive case ( should not be needed but well )
							parent
							
								
									bdddedc550
								
							
						
					
					
						commit
						4ab8da01bc
					
				|  | @ -525,6 +525,17 @@ namespace OSHttpServer | |||
|             else | ||||
|             { | ||||
|                 LastActivityTimeMS = ContextTimeoutManager.EnvironmentTickCount(); | ||||
|                 if(Stream!=null && Stream.CanWrite) | ||||
|                 { | ||||
|                     try | ||||
|                     { | ||||
|                         Stream.Flush(); | ||||
|                     } | ||||
|                     catch | ||||
|                     { | ||||
|                     }; | ||||
|                 } | ||||
| 
 | ||||
|                 lock (requestsInServiceIDs) | ||||
|                 { | ||||
|                     if (requestsInServiceIDs.Count == 0) | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	 UbitUmarov
						UbitUmarov