HybridConnectionListener.RequestHandler unread large request.InputStream causes 500 InternalServerError
nickeeex opened this issue · comments
Actual Behavior
- Send a Request with a large body
- Listener receives the request but never reads the InputStream if the request is deemed to not be necessary to process
- Listener returns a response e.g. BadRequest
- A InternalServerError 500 The service was unable to process the request is returned to the caller.
Expected Behavior
- Should not need to read the actual InputStream of a request before sending a response.
Versions
- OS platform and version: Windows 10 1803 (OS Build 17134.590
- .NET Version: 4.7.1
- NuGet package version or commit ID: v2.0.0-preview1-20180523