3aebaaad01
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. |
||
---|---|---|
.. | ||
metrics.go | ||
pool.go | ||
proxy.go | ||
proxy_posix_test.go | ||
proxy_test.go |