TestProxyProtocolV1WithH2C verifies that PROXY protocol v1 headers are sent correctly when the transport uses h2c (HTTP/2 cleartext) to the upstream.
(t *testing.T)
| 392 | // TestProxyProtocolV1WithH2C verifies that PROXY protocol v1 headers are sent |
| 393 | // correctly when the transport uses h2c (HTTP/2 cleartext) to the upstream. |
| 394 | func TestProxyProtocolV1WithH2C(t *testing.T) { |
| 395 | testProxyProtocolMatrix(t, "v1", []string{"h2c"}, 1) |
| 396 | } |
| 397 | |
| 398 | // TestProxyProtocolV2WithH2C verifies that PROXY protocol v2 headers are sent |
| 399 | // correctly when the transport uses h2c (HTTP/2 cleartext) to the upstream. |
nothing calls this directly
no test coverage detected