diff options
author | Matt Holt <mholt@users.noreply.github.com> | 2022-09-02 17:01:55 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-02 17:01:55 -0600 |
commit | 66476d8c8f6010f19fb65bac7758c6fd2824e231 (patch) | |
tree | 951aee5aa7e5d8d950aedd234bfaf3d39e3f04f9 /cmd/caddy/setcap.sh | |
parent | d3c3fa10bd72029720969cff0c29e2b79a1b2cdf (diff) |
reverseproxy: Close hijacked conns on reload/quit (#4895)
* reverseproxy: Close hijacked conns on reload/quit
We also send a Close control message to both ends of
WebSocket connections. I have tested this many times in
my dev environment with consistent success, although
the variety of scenarios was limited.
* Oops... actually call Close() this time
* CloseMessage --> closeMessage
Co-authored-by: Francis Lavoie <lavofr@gmail.com>
* Use httpguts, duh
* Use map instead of sync.Map
Co-authored-by: Francis Lavoie <lavofr@gmail.com>
Diffstat (limited to 'cmd/caddy/setcap.sh')
0 files changed, 0 insertions, 0 deletions