Skip to content

Under certain circumstances, the HttpLogging middleware does not follow the ResponseBodyLogLimit setting #46703

@saber-wang

Description

@saber-wang

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

At this time, the buffer length may be longer than the ResponseBodyLogLimit setting

BuffersExtensions.Write(this, buffer.Span);

Expected Behavior

No response

Steps To Reproduce

No response

Exceptions (if any)

No response

.NET Version

net6.0

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-networkingIncludes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions