cloudflared-mirror/connection
Igor Postelnik 0b16a473da TUN-3869: Improve reliability of graceful shutdown.
- Don't rely on edge to close connection on graceful shutdown in h2mux, start muxer shutdown from cloudflared.
- Don't retry failed connections after graceful shutdown has started.
- After graceful shutdown channel is closed we stop waiting for retry timer and don't try to restart tunnel loop.
- Use readonly channel for graceful shutdown in functions that only consume the signal
2021-02-08 14:30:32 +00:00
..
connection.go TUN-3471: Add structured log context to logs 2021-01-05 20:21:16 +00:00
connection_test.go TUN-3848: Use transport logger for h2mux 2021-02-03 17:31:16 -06:00
errors.go TUN-3811: Better error reporting on http2 connection termination. Registration errors from control loop are now propagated out of the connection server code. Unified error handling between h2mux and http2 connections so we log and retry errors the same way, regardless of underlying transport. 2021-01-28 10:38:30 -06:00
event.go TUN-3593: /ready endpoint for k8s readiness. Move tunnel events out of UI package, into connection package. 2020-12-02 15:22:59 -06:00
h2mux.go TUN-3869: Improve reliability of graceful shutdown. 2021-02-08 14:30:32 +00:00
h2mux_test.go TUN-3118: Changed graceful shutdown to immediately unregister tunnel from the edge, keep the connection open until the edge drops it or grace period expires 2021-01-22 11:14:36 -06:00
header.go TUN-3559: Share response meta header with other packages 2020-11-18 16:51:03 +00:00
http2.go TUN-3869: Improve reliability of graceful shutdown. 2021-02-08 14:30:32 +00:00
http2_test.go TUN-3869: Improve reliability of graceful shutdown. 2021-02-08 14:30:32 +00:00
json.go TUN-3467: Serialize cf-cloudflared-response-meta during package initialization using jsoniter 2020-11-11 15:11:42 +00:00
metrics.go TUN-3738: Refactor observer to avoid potential of blocking on tunnel notifications 2021-01-18 11:16:23 +00:00
observer.go TUN-3848: Use transport logger for h2mux 2021-02-03 17:31:16 -06:00
observer_test.go TUN-3848: Use transport logger for h2mux 2021-02-03 17:31:16 -06:00
protocol.go TUN-3471: Add structured log context to logs 2021-01-05 20:21:16 +00:00
protocol_test.go TUN-3470: Replace in-house logger calls with zerolog 2020-12-23 14:15:17 -06:00
rpc.go TUN-3118: Changed graceful shutdown to immediately unregister tunnel from the edge, keep the connection open until the edge drops it or grace period expires 2021-01-22 11:14:36 -06:00
tunnelsforha.go TUN-3471: Add structured log context to logs 2021-01-05 20:21:16 +00:00