Review HttpRequest Body Reading in HttpPipelinePolicies #14917
Labels
Azure.Core
azure-core
Client
This issue points to a problem in the data-plane of the library.
common
common module used by all azure SDKs (e.g. client, Mgmt)
pillar-performance
The issue is related to performance, one of our core engineering pillars.
Milestone
Review
HttpPipelinePolicy
operations on how they consumeHttpRequest
bodies. Particularly, ensure that side-affect operations, such as authorization calculations, don't leave theByteBuffer
in a consumed state (where a call toremaining()
is mutated). In cases where the body buffers need to be read a duplicate of the body buffer should be created and consumed to ensure the body is left in an unmodified state when theHttpClient
goes to send the request.The text was updated successfully, but these errors were encountered: