mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 22:26:09 +08:00
flush sslstreams in keepalive case ( should not be needed but well )
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user