Skip to content

httputil: FullResponse* returns pooled buffer #709

@Mzack9999

Description

@Mzack9999

ResponseChain.FullResponseBytes/String could return data backed by a pooled buffer after release, risking corrupted reads/races. PR #708 fixes by returning a safe copy and making Close() idempotent.

Metadata

Metadata

Assignees

Labels

Type: BugInconsistencies or issues which will cause an issue or problem for users or implementors.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions