cloudflared-mirror/connection
Nuno Diegues f985ed567f TUN-5128: Enforce maximum grace period
This maximum grace period will be honored by Cloudflare edge such that
either side will close the connection after unregistration at most
by this time (3min as of this commit):
 - If the connection is unused, it is already closed as soon as possible.
 - If the connection is still used, it is closed on the cloudflared configured grace-period.

Even if cloudflared does not close the connection by the grace-period time,
the edge will do so.
2021-09-21 16:48:37 +00:00
..
connection.go TUN-5128: Enforce maximum grace period 2021-09-21 16:48:37 +00:00
connection_test.go TUN-4701: Split Proxy into ProxyHTTP and ProxyTCP 2021-07-19 13:43:59 +00:00
control.go TUN-4866: Add Control Stream for QUIC 2021-08-17 14:50:32 +00: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-4821: Make quick tunnels the default in cloudflared 2021-08-26 15:53:02 +00:00
h2mux.go TUN-4701: Split Proxy into ProxyHTTP and ProxyTCP 2021-07-19 13:43:59 +00:00
h2mux_test.go TUN-3863: Consolidate header handling logic in the connection package; move headers definitions from h2mux to packages that manage them; cleanup header conversions 2021-03-29 21:57:56 +00:00
header.go TUN-5029: Do not strip cf- prefixed headers 2021-09-02 12:21:01 -05:00
header_test.go TUN-5029: Do not strip cf- prefixed headers 2021-09-02 12:21:01 -05:00
http2.go TUN-5029: Do not strip cf- prefixed headers 2021-09-02 12:21:01 -05:00
http2_test.go TUN-4866: Add Control Stream for QUIC 2021-08-17 14:50: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-4067: Reformat code for consistent import order, grouping, and fix formatting. Added goimports target to the Makefile to make this easier in the future. 2021-03-24 10:53:29 -05:00
observer.go TUN-4821: Make quick tunnels the default in cloudflared 2021-08-26 15:53:02 +00:00
observer_test.go TUN-4821: Make quick tunnels the default in cloudflared 2021-08-26 15:53:02 +00:00
protocol.go TUN-4970: Only default to http2 for warp-routing if protocol is h2mux 2021-08-26 15:12:31 +00:00
protocol_test.go TUN-4819: Tolerate protocol TXT record lookup failing 2021-07-29 11:44:39 +00:00
quic.go TUN-5118: Quic connection now detects duplicate connections similar to http2 2021-09-21 06:30:09 +00:00
quic_test.go TUN-5118: Quic connection now detects duplicate connections similar to http2 2021-09-21 06:30:09 +00:00
rpc.go TUN-4821: Make quick tunnels the default in cloudflared 2021-08-26 15:53:02 +00:00
tunnelsforha.go TUN-3471: Add structured log context to logs 2021-01-05 20:21:16 +00:00