1
Fork 0
mirror of https://github.com/caddyserver/caddy.git synced 2024-12-16 21:56:40 -05:00
caddy/modules
Matt Holt 66476d8c8f
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>
2022-09-02 17:01:55 -06:00
..
caddyevents events: Tune logging and context cancellation 2022-08-31 18:48:46 -06:00
caddyhttp reverseproxy: Close hijacked conns on reload/quit (#4895) 2022-09-02 17:01:55 -06:00
caddypki chore: Bump up to Go 1.19, minimum 1.18 (#4925) 2022-08-02 16:39:09 -04:00
caddytls events: Implement event system (#4912) 2022-08-31 15:01:30 -06:00
filestorage httpcaddyfile: Minor fixes to parsing storage options 2020-05-01 09:34:32 -06:00
logging logging: Fix cookie filter (#4943) 2022-08-08 19:11:02 -06:00
metrics Clean up metrics test code 2022-08-16 10:03:19 -06:00
standard events: Implement event system (#4912) 2022-08-31 15:01:30 -06:00