TestProxyProtocolV1WithH1 verifies that PROXY protocol v1 headers are sent correctly when the transport uses HTTP/1.1 to the upstream.
(t *testing.T)
| 380 | // TestProxyProtocolV1WithH1 verifies that PROXY protocol v1 headers are sent |
| 381 | // correctly when the transport uses HTTP/1.1 to the upstream. |
| 382 | func TestProxyProtocolV1WithH1(t *testing.T) { |
| 383 | testProxyProtocolMatrix(t, "v1", []string{"1.1"}, 1) |
| 384 | } |
| 385 | |
| 386 | // TestProxyProtocolV2WithH1 verifies that PROXY protocol v2 headers are sent |
| 387 | // correctly when the transport uses HTTP/1.1 to the upstream. |
nothing calls this directly
no test coverage detected