Skip to content
This repository has been archived by the owner on Nov 2, 2020. It is now read-only.

Send response header even if Sec-WebSocket-Key header field is invalid #35

Merged
merged 1 commit into from
Mar 2, 2020

Conversation

akihikodaki
Copy link
Contributor

A reverse proxy like nginx with the default configuration may consider the server is unavailable for some duration when it did not receive response header, which leads to denial of service.

Send response header even if Sec-WebSocket-Key header field is invalid and eliminate such possibility.

A reverse proxy like nginx with the default configuration may consider the
server is unavailable for some duration when it did not receive response
header, which leads to denial of service.

Send response header even if Sec-WebSocket-Key header field is invalid and
eliminate such possibility.
@goriunov goriunov self-assigned this Mar 2, 2020
@goriunov
Copy link
Member

goriunov commented Mar 2, 2020

Thanks for PR, looks good :)

@goriunov goriunov merged commit 71f98cf into ClusterWS:master Mar 2, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants