You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
HybridConnectionListener.RequestHandler Response.OutputStream currently waits a period of time (2 seconds at the moment) to see if all the writes finish and the total size is <= 64KB.
Expected Behavior
If the code wants to force a rendezvous and flush written bytes there needs to be a way to opt for this. Suggestion is to allow user to set a new field, OutputStream.NoDelay.
listener.RequestHandler =(context)=>{>>> context.Response.OutputStream.NoDelay =true;<<< context.Response.StatusCode = HttpStatusCode.OK;// Stream the body here...};
Versions
OS platform and version: Windows 10
.NET Version: .NET 4.6
NuGet package version or commit ID: 2.0.0-preview1-20180523
The text was updated successfully, but these errors were encountered:
Actual Behavior
HybridConnectionListener.RequestHandler Response.OutputStream currently waits a period of time (2 seconds at the moment) to see if all the writes finish and the total size is <= 64KB.
Expected Behavior
If the code wants to force a rendezvous and flush written bytes there needs to be a way to opt for this. Suggestion is to allow user to set a new field, OutputStream.NoDelay.
Versions
The text was updated successfully, but these errors were encountered: