docs: record verified HTTP2 proxy and rolling drain acceptance

This commit is contained in:
2026-09-23 11:18:25 +08:00
parent b54a303ccd
commit 59bf04a461
10 changed files with 499 additions and 8 deletions

View File

@@ -0,0 +1,40 @@
go version go1.25.14 linux/amd64
go: downloading golang.org/x/net v0.25.0
go: downloading golang.org/x/text v0.15.0
=== RUN TestNginxHTTP2Proxy
proxy_test.go:37: proxyVersion=nginx version: nginx/1.30.5
=== RUN TestNginxHTTP2Proxy/TLSAndConnectionReuse
proxy_test.go:163: proxyResult=tlsAndReuse reusedRequests=32 upstreamConnections=1 invalidTrustStatus=502 invalidNameStatus=502 recovered=true
=== RUN TestNginxHTTP2Proxy/TimeoutAndCancellation
proxy_test.go:206: proxyResult=timeoutAndCancellation timeoutStatus=504 canceledHandlers=2 recovered=true stats={AcceptedConnections:3 RejectedConnections:0 RejectedRequests:0 ProtocolErrors:0 GoAwaySent:0 RSTStreams:0 GoAwayFrames:0 ActiveConnections:1 ActiveRequests:0}
=== RUN TestNginxHTTP2Proxy/GoAwayAndRollingDrain
proxy_test.go:281: proxyResult=goAwayAndRollingDrain oldRequests=2 newRequests=20 heldPostCompleted=true duplicateHandlers=0 oldStats={AcceptedConnections:1 RejectedConnections:0 RejectedRequests:0 ProtocolErrors:0 GoAwaySent:1 RSTStreams:0 GoAwayFrames:1 ActiveConnections:0 ActiveRequests:0}
--- PASS: TestNginxHTTP2Proxy (1.03s)
--- PASS: TestNginxHTTP2Proxy/TLSAndConnectionReuse (0.39s)
--- PASS: TestNginxHTTP2Proxy/TimeoutAndCancellation (0.42s)
--- PASS: TestNginxHTTP2Proxy/GoAwayAndRollingDrain (0.22s)
=== RUN TestNginxHTTP2Proxy
proxy_test.go:37: proxyVersion=nginx version: nginx/1.30.5
=== RUN TestNginxHTTP2Proxy/TLSAndConnectionReuse
proxy_test.go:163: proxyResult=tlsAndReuse reusedRequests=32 upstreamConnections=1 invalidTrustStatus=502 invalidNameStatus=502 recovered=true
=== RUN TestNginxHTTP2Proxy/TimeoutAndCancellation
proxy_test.go:206: proxyResult=timeoutAndCancellation timeoutStatus=504 canceledHandlers=2 recovered=true stats={AcceptedConnections:3 RejectedConnections:0 RejectedRequests:0 ProtocolErrors:0 GoAwaySent:0 RSTStreams:0 GoAwayFrames:0 ActiveConnections:1 ActiveRequests:0}
=== RUN TestNginxHTTP2Proxy/GoAwayAndRollingDrain
proxy_test.go:281: proxyResult=goAwayAndRollingDrain oldRequests=2 newRequests=20 heldPostCompleted=true duplicateHandlers=0 oldStats={AcceptedConnections:1 RejectedConnections:0 RejectedRequests:0 ProtocolErrors:0 GoAwaySent:1 RSTStreams:0 GoAwayFrames:1 ActiveConnections:0 ActiveRequests:0}
--- PASS: TestNginxHTTP2Proxy (0.81s)
--- PASS: TestNginxHTTP2Proxy/TLSAndConnectionReuse (0.17s)
--- PASS: TestNginxHTTP2Proxy/TimeoutAndCancellation (0.45s)
--- PASS: TestNginxHTTP2Proxy/GoAwayAndRollingDrain (0.20s)
=== RUN TestNginxHTTP2Proxy
proxy_test.go:37: proxyVersion=nginx version: nginx/1.30.5
=== RUN TestNginxHTTP2Proxy/TLSAndConnectionReuse
proxy_test.go:163: proxyResult=tlsAndReuse reusedRequests=32 upstreamConnections=1 invalidTrustStatus=502 invalidNameStatus=502 recovered=true
=== RUN TestNginxHTTP2Proxy/TimeoutAndCancellation
proxy_test.go:206: proxyResult=timeoutAndCancellation timeoutStatus=504 canceledHandlers=2 recovered=true stats={AcceptedConnections:3 RejectedConnections:0 RejectedRequests:0 ProtocolErrors:0 GoAwaySent:0 RSTStreams:0 GoAwayFrames:0 ActiveConnections:1 ActiveRequests:0}
=== RUN TestNginxHTTP2Proxy/GoAwayAndRollingDrain
proxy_test.go:281: proxyResult=goAwayAndRollingDrain oldRequests=2 newRequests=20 heldPostCompleted=true duplicateHandlers=0 oldStats={AcceptedConnections:1 RejectedConnections:0 RejectedRequests:0 ProtocolErrors:0 GoAwaySent:1 RSTStreams:0 GoAwayFrames:1 ActiveConnections:0 ActiveRequests:0}
--- PASS: TestNginxHTTP2Proxy (0.89s)
--- PASS: TestNginxHTTP2Proxy/TLSAndConnectionReuse (0.21s)
--- PASS: TestNginxHTTP2Proxy/TimeoutAndCancellation (0.44s)
--- PASS: TestNginxHTTP2Proxy/GoAwayAndRollingDrain (0.23s)
PASS