-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Description
@halter73
After upgrading from AspNetCore NuGet package 2.1.0-rc1-final to 2.1.0-rtm-30787 that differ slightly with #2533 and #2562 we noticed instances of 200 server responses containing empty content. This behavior messes with JSON-RPC client functionality. The behavior is intermittent in our production environment. We can not reliably reproduce (i.e. trigger in a controllable manner).
In our view the change to optional _streams?.Abort in aspnet/KestrelHttpServer@6e003d8
if (error != null)
{
_streams?.Abort(error);
}
could have had wider effect than for WebSocket connections only.
The issue #2530 mentions #2533 may or may not be similar and we are not sure about the timing wither it preceded or followed the change.
Note that HttpProtocol.Abort in dev branch has remained untouched v.s. release/2.1 leaving _streams?.Abort non-optional. It has been changed in #2612 but essentially remained intact.
Is this (the empty response symptom and the differences between the branches) something that you can give some insight or there is a duplicate issue I missed?
Thanks.