MCPcopy Create free account

hub / github.com/pires/go-proxyproto / functions

Functions366 in github.com/pires/go-proxyproto

FunctionTestServeReturnsErrServerClosedAfterClose
(t *testing.T)
helper/http2/http2_internal_test.go:70
FunctionTestServeReturnsErrServerClosedWhenListenerClosedDuringServe
(t *testing.T)
helper/http2/http2_internal_test.go:128
FunctionTestServer_h1
(t *testing.T)
helper/http2/http2_test.go:51
FunctionTestServer_h1_nil_ConnContext
(t *testing.T)
helper/http2/http2_test.go:161
FunctionTestServer_h2
(t *testing.T)
helper/http2/http2_test.go:68
FunctionTestServer_h2_nil_ConnContext
(t *testing.T)
helper/http2/http2_test.go:178
FunctionTestServer_h2_tls
(t *testing.T)
helper/http2/http2_test.go:121
FunctionTestSetTLVs
(t *testing.T)
header_test.go:507
FunctionTestSkipProxyHeaderForCIDR
(t *testing.T)
policy_test.go:301
FunctionTestSkipProxyProtocolConnPolicy
(t *testing.T)
protocol_test.go:1421
FunctionTestSkipProxyProtocolPolicy
(t *testing.T)
protocol_test.go:1385
FunctionTestStrictWhitelistPolicyReturnsRejectWhenUpstreamIpAddrNotInWhitelist
(t *testing.T)
policy_test.go:70
FunctionTestTCPoverIPv4
(t *testing.T)
addr_proto_test.go:7
FunctionTestTCPoverIPv6
(t *testing.T)
addr_proto_test.go:20
FunctionTestTrustProxyHeaderFrom
(t *testing.T)
policy_test.go:401
FunctionTestUDPoverIPv4
(t *testing.T)
addr_proto_test.go:33
FunctionTestUDPoverIPv6
(t *testing.T)
addr_proto_test.go:46
FunctionTestUnixDatagram
(t *testing.T)
addr_proto_test.go:72
FunctionTestUnixStream
(t *testing.T)
addr_proto_test.go:59
FunctionTestUseWithReadHeaderTimeout
TestUseWithReadHeaderTimeout will iterate through 3 different timeouts to see whether using a USE policy for a listener would not cause an error if th
protocol_test.go:236
FunctionTestV2EqualsToTLV
(t *testing.T)
v2_test.go:438
FunctionTestV2TLVAWSUnknownSubtype
(t *testing.T)
tlvparse/aws_test.go:173
FunctionTestV2TLVAWSVPCEBadChars
(t *testing.T)
tlvparse/aws_test.go:120
FunctionTestV2TLVFormatTooLargeTLV
(t *testing.T)
v2_test.go:530
FunctionTestV2TLVPP2Registered
(t *testing.T)
tlv_test.go:77
FunctionTestValid0Length
(t *testing.T)
tlv_test.go:47
FunctionTestVersion1Overflow
(t *testing.T)
v1_test.go:366
FunctionTestVersion1SlowLoris
(t *testing.T)
v1_test.go:389
FunctionTestVersion1SlowLorisOverflow
(t *testing.T)
v1_test.go:422
FunctionTestWhiteListPolicyFuncsReturnPolicies
(t *testing.T)
policy_test.go:268
FunctionTestWhitelistPolicyReturnsErrorOnInvalidAddress
(t *testing.T)
policy_test.go:32
FunctionTestWhitelistPolicyReturnsErrorOnInvalidIP
(t *testing.T)
policy_test.go:51
FunctionTestWhitelistPolicyReturnsUseWhenUpstreamIpAddrInWhitelist
(t *testing.T)
policy_test.go:124
FunctionTestWhitelistPolicyReturnsUseWhenUpstreamIpAddrInWhitelistRange
(t *testing.T)
policy_test.go:152
FunctionTestWithBufferSizePositive
(t *testing.T)
protocol_test.go:489
FunctionTestWithBufferSizeZeroOrNegative
(t *testing.T)
protocol_test.go:514
FunctionTestWriteTo
(t *testing.T)
header_test.go:564
FunctionTestWriteToDrainsBufferedData
(t *testing.T)
protocol_test.go:2093
FunctionTestWriteToUsesConnWhenBufReaderNil
(t *testing.T)
protocol_test.go:2254
FunctionTestWriteV1Valid
(t *testing.T)
v1_test.go:249
FunctionTestWriteV2Valid
(t *testing.T)
v2_test.go:332
FunctionTest_AllOptionsAreRecognized
(t *testing.T)
protocol_test.go:1313
FunctionTest_ConnectionCasts
(t *testing.T)
protocol_test.go:1493
FunctionTest_ConnectionErrorsWhenHeaderValidationFails
(t *testing.T)
protocol_test.go:1528
FunctionTest_ConnectionHandlesInvalidUpstreamError
(t *testing.T)
protocol_test.go:1553
FunctionTest_CreateWhitelistPolicyWithInvalidCidrReturnsError
(t *testing.T)
policy_test.go:180
FunctionTest_CreateWhitelistPolicyWithInvalidIpAddressReturnsError
(t *testing.T)
policy_test.go:204
FunctionTest_MisconfiguredTLSServerRespondsWithUnderlyingError
(t *testing.T)
protocol_test.go:1840
FunctionTest_MustLaxWhiteListPolicyPanicsWithInvalidIpAddress
(t *testing.T)
policy_test.go:228
FunctionTest_MustLaxWhiteListPolicyPanicsWithInvalidIpRange
(t *testing.T)
policy_test.go:238
FunctionTest_MustStrictWhiteListPolicyPanicsWithInvalidIpAddress
(t *testing.T)
policy_test.go:248
FunctionTest_MustStrictWhiteListPolicyPanicsWithInvalidIpRange
(t *testing.T)
policy_test.go:258
FunctionTest_TLSServerHeaderBeforeTLS
Test_TLSServerHeaderBeforeTLS covers ordering A: the upstream sends the PROXY header in cleartext before the TLS handshake. proxyproto must read the h
protocol_test.go:1765
FunctionTest_TLSServerHeaderInsideTLS
Test_TLSServerHeaderInsideTLS covers ordering B: the upstream completes the TLS handshake first and only then writes the PROXY header inside the encry
protocol_test.go:1697
FunctionTest_formatUnixName
(t *testing.T)
v2_test.go:612
FunctionTest_parseUnixName
(t *testing.T)
v2_test.go:554
MethodUnwrap
()
helper/http2/http2_internal_test.go:297
MethodWrite
(p []byte)
protocol_test.go:1917
MethodWrite
(p []byte)
protocol_test.go:1939
MethodWrite
(p []byte)
protocol_test.go:1972
Functionmain
()
examples/client/client.go:18
Functionmain
()
examples/tlsserver/tlsserver.go:35
Functionmain
()
examples/server/server.go:11
Functionmain
()
examples/tlsclient/tlsclient.go:22
Functionmain
TODO: add httpclient example
examples/httpserver/httpserver.go:16
MethodtoByte
()
version_cmd.go:40
← previous301–366 of 366, ranked by callers