TestProxyProtocolV2WithH1 verifies that PROXY protocol v2 headers are sent correctly when the transport uses HTTP/1.1 to the upstream.
(t *testing.T)
| 386 | // TestProxyProtocolV2WithH1 verifies that PROXY protocol v2 headers are sent |
| 387 | // correctly when the transport uses HTTP/1.1 to the upstream. |
| 388 | func TestProxyProtocolV2WithH1(t *testing.T) { |
| 389 | testProxyProtocolMatrix(t, "v2", []string{"1.1"}, 1) |
| 390 | } |
| 391 | |
| 392 | // TestProxyProtocolV1WithH2C verifies that PROXY protocol v1 headers are sent |
| 393 | // correctly when the transport uses h2c (HTTP/2 cleartext) to the upstream. |
nothing calls this directly
no test coverage detected