summaryrefslogtreecommitdiff
path: root/caddytest/integration/reverseproxy_test.go
diff options
context:
space:
mode:
authorMatt Holt <mholt@users.noreply.github.com>2022-09-02 17:01:55 -0600
committerGitHub <noreply@github.com>2022-09-02 17:01:55 -0600
commit66476d8c8f6010f19fb65bac7758c6fd2824e231 (patch)
tree951aee5aa7e5d8d950aedd234bfaf3d39e3f04f9 /caddytest/integration/reverseproxy_test.go
parentd3c3fa10bd72029720969cff0c29e2b79a1b2cdf (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 'caddytest/integration/reverseproxy_test.go')
0 files changed, 0 insertions, 0 deletions