Skip to content

Conversation

@the-Drunken-coder
Copy link

http_detect() allocates a temporary request buffer with g_strndup() to scan for WebSocket upgrade headers. That buffer was only freed on the WebSocket early-return path; on the normal (non-WebSocket) path it was left allocated. This change ensures both the request buffer and the lowercased copy are freed on all paths, with no change to detection behavior or priority.

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.

1 participant