cloudflared-mirror/connection
Nuno Diegues 3aebaaad01 TUN-5836: QUIC transport no longer sets body to nil in any condition
Setting the body to nil was rendering cloudflared to crashing with
a SIGSEGV in the odd case where the hostname accessed maps to a
TCP origin (e.g. SSH/RDP/...) but the eyeball sends a plain HTTP
request that does not go through cloudflared access (thus not wrapped
in websocket as it should).

Instead, QUIC transport now sets http.noBody in that condition, which
deals with the situation gracefully.
2022-03-07 11:39:07 +00:00
..
connection.go TUN-5696: HTTP/2 Configuration Update 2022-03-04 12:28:55 +00:00
connection_test.go TUN-5698: Make ingress rules and warp routing dynamically configurable 2022-02-16 09:38:28 +00:00
control.go TUN-5749: Refactor cloudflared to pave way for reconfigurable ingress 2022-02-14 15:37:09 +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-5698: Make ingress rules and warp routing dynamically configurable 2022-02-16 09:38:28 +00:00
h2mux_header.go TUN-5393: Content-length is no longer a control header for non-h2mux transports 2021-11-17 10:56:15 +00:00
h2mux_header_test.go TUN-5393: Content-length is no longer a control header for non-h2mux transports 2021-11-17 10:56:15 +00:00
h2mux_test.go TUN-5698: Make ingress rules and warp routing dynamically configurable 2022-02-16 09:38:28 +00:00
header.go TUN-5393: Content-length is no longer a control header for non-h2mux transports 2021-11-17 10:56:15 +00:00
header_test.go TUN-5393: Content-length is no longer a control header for non-h2mux transports 2021-11-17 10:56:15 +00:00
http2.go TUN-5696: HTTP/2 Configuration Update 2022-03-04 12:28:55 +00:00
http2_test.go TUN-5696: HTTP/2 Configuration Update 2022-03-04 12:28:55 +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-5749: Refactor cloudflared to pave way for reconfigurable ingress 2022-02-14 15:37:09 +00:00
protocol_test.go TUN-5749: Refactor cloudflared to pave way for reconfigurable ingress 2022-02-14 15:37:09 +00:00
quic.go TUN-5836: QUIC transport no longer sets body to nil in any condition 2022-03-07 11:39:07 +00:00
quic_test.go TUN-5836: QUIC transport no longer sets body to nil in any condition 2022-03-07 11:39:07 +00:00
rpc.go TUN-5749: Refactor cloudflared to pave way for reconfigurable ingress 2022-02-14 15:37:09 +00:00
tunnelsforha.go TUN-3471: Add structured log context to logs 2021-01-05 20:21:16 +00:00