Azure / azure-relay-dotnet

☁️ .NET Standard client library for Azure Relay Hybrid Connections

Home Page:https://docs.microsoft.com/en-us/azure/service-bus-relay/relay-what-is-it

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

HybridConnectionListener.RequestHandler unread large request.InputStream causes 500 InternalServerError

nickeeex opened this issue · comments

Actual Behavior

  1. Send a Request with a large body
  2. Listener receives the request but never reads the InputStream if the request is deemed to not be necessary to process
  3. Listener returns a response e.g. BadRequest
  4. A InternalServerError 500 The service was unable to process the request is returned to the caller.

Expected Behavior

  1. 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