Skip to content

Conversation

@johanbrandhorst
Copy link
Collaborator

When draining the request body, first ensure the body is not nil, otherwise this can cause a nil pointer panic.

Fixes #5667

When draining the request body, first ensure the body is not nil,
otherwise this can cause a nil pointer panic.
@johanbrandhorst johanbrandhorst enabled auto-merge (squash) June 17, 2025 22:28
@johanbrandhorst johanbrandhorst merged commit a8a7bb0 into main Jun 17, 2025
14 checks passed
@johanbrandhorst johanbrandhorst deleted the fix-panic-on-drain branch June 17, 2025 22:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Panic from request drain in v2.26.2

2 participants