Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pires/go-proxyproto
/ functions
Functions
366 in github.com/pires/go-proxyproto
⨍
Functions
366
◇
Types & classes
41
Function
TestServeReturnsErrServerClosedAfterClose
(t *testing.T)
helper/http2/http2_internal_test.go:70
Function
TestServeReturnsErrServerClosedWhenListenerClosedDuringServe
(t *testing.T)
helper/http2/http2_internal_test.go:128
Function
TestServer_h1
(t *testing.T)
helper/http2/http2_test.go:51
Function
TestServer_h1_nil_ConnContext
(t *testing.T)
helper/http2/http2_test.go:161
Function
TestServer_h2
(t *testing.T)
helper/http2/http2_test.go:68
Function
TestServer_h2_nil_ConnContext
(t *testing.T)
helper/http2/http2_test.go:178
Function
TestServer_h2_tls
(t *testing.T)
helper/http2/http2_test.go:121
Function
TestSetTLVs
(t *testing.T)
header_test.go:507
Function
TestSkipProxyHeaderForCIDR
(t *testing.T)
policy_test.go:301
Function
TestSkipProxyProtocolConnPolicy
(t *testing.T)
protocol_test.go:1421
Function
TestSkipProxyProtocolPolicy
(t *testing.T)
protocol_test.go:1385
Function
TestStrictWhitelistPolicyReturnsRejectWhenUpstreamIpAddrNotInWhitelist
(t *testing.T)
policy_test.go:70
Function
TestTCPoverIPv4
(t *testing.T)
addr_proto_test.go:7
Function
TestTCPoverIPv6
(t *testing.T)
addr_proto_test.go:20
Function
TestTrustProxyHeaderFrom
(t *testing.T)
policy_test.go:401
Function
TestUDPoverIPv4
(t *testing.T)
addr_proto_test.go:33
Function
TestUDPoverIPv6
(t *testing.T)
addr_proto_test.go:46
Function
TestUnixDatagram
(t *testing.T)
addr_proto_test.go:72
Function
TestUnixStream
(t *testing.T)
addr_proto_test.go:59
Function
TestUseWithReadHeaderTimeout
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
Function
TestV2EqualsToTLV
(t *testing.T)
v2_test.go:438
Function
TestV2TLVAWSUnknownSubtype
(t *testing.T)
tlvparse/aws_test.go:173
Function
TestV2TLVAWSVPCEBadChars
(t *testing.T)
tlvparse/aws_test.go:120
Function
TestV2TLVFormatTooLargeTLV
(t *testing.T)
v2_test.go:530
Function
TestV2TLVPP2Registered
(t *testing.T)
tlv_test.go:77
Function
TestValid0Length
(t *testing.T)
tlv_test.go:47
Function
TestVersion1Overflow
(t *testing.T)
v1_test.go:366
Function
TestVersion1SlowLoris
(t *testing.T)
v1_test.go:389
Function
TestVersion1SlowLorisOverflow
(t *testing.T)
v1_test.go:422
Function
TestWhiteListPolicyFuncsReturnPolicies
(t *testing.T)
policy_test.go:268
Function
TestWhitelistPolicyReturnsErrorOnInvalidAddress
(t *testing.T)
policy_test.go:32
Function
TestWhitelistPolicyReturnsErrorOnInvalidIP
(t *testing.T)
policy_test.go:51
Function
TestWhitelistPolicyReturnsUseWhenUpstreamIpAddrInWhitelist
(t *testing.T)
policy_test.go:124
Function
TestWhitelistPolicyReturnsUseWhenUpstreamIpAddrInWhitelistRange
(t *testing.T)
policy_test.go:152
Function
TestWithBufferSizePositive
(t *testing.T)
protocol_test.go:489
Function
TestWithBufferSizeZeroOrNegative
(t *testing.T)
protocol_test.go:514
Function
TestWriteTo
(t *testing.T)
header_test.go:564
Function
TestWriteToDrainsBufferedData
(t *testing.T)
protocol_test.go:2093
Function
TestWriteToUsesConnWhenBufReaderNil
(t *testing.T)
protocol_test.go:2254
Function
TestWriteV1Valid
(t *testing.T)
v1_test.go:249
Function
TestWriteV2Valid
(t *testing.T)
v2_test.go:332
Function
Test_AllOptionsAreRecognized
(t *testing.T)
protocol_test.go:1313
Function
Test_ConnectionCasts
(t *testing.T)
protocol_test.go:1493
Function
Test_ConnectionErrorsWhenHeaderValidationFails
(t *testing.T)
protocol_test.go:1528
Function
Test_ConnectionHandlesInvalidUpstreamError
(t *testing.T)
protocol_test.go:1553
Function
Test_CreateWhitelistPolicyWithInvalidCidrReturnsError
(t *testing.T)
policy_test.go:180
Function
Test_CreateWhitelistPolicyWithInvalidIpAddressReturnsError
(t *testing.T)
policy_test.go:204
Function
Test_MisconfiguredTLSServerRespondsWithUnderlyingError
(t *testing.T)
protocol_test.go:1840
Function
Test_MustLaxWhiteListPolicyPanicsWithInvalidIpAddress
(t *testing.T)
policy_test.go:228
Function
Test_MustLaxWhiteListPolicyPanicsWithInvalidIpRange
(t *testing.T)
policy_test.go:238
Function
Test_MustStrictWhiteListPolicyPanicsWithInvalidIpAddress
(t *testing.T)
policy_test.go:248
Function
Test_MustStrictWhiteListPolicyPanicsWithInvalidIpRange
(t *testing.T)
policy_test.go:258
Function
Test_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
Function
Test_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
Function
Test_formatUnixName
(t *testing.T)
v2_test.go:612
Function
Test_parseUnixName
(t *testing.T)
v2_test.go:554
Method
Unwrap
()
helper/http2/http2_internal_test.go:297
Method
Write
(p []byte)
protocol_test.go:1917
Method
Write
(p []byte)
protocol_test.go:1939
Method
Write
(p []byte)
protocol_test.go:1972
Function
main
()
examples/client/client.go:18
Function
main
()
examples/tlsserver/tlsserver.go:35
Function
main
()
examples/server/server.go:11
Function
main
()
examples/tlsclient/tlsclient.go:22
Function
main
TODO: add httpclient example
examples/httpserver/httpserver.go:16
Method
toByte
()
version_cmd.go:40
← previous
301–366 of 366, ranked by callers