Repository navigation
envoy: under client_address connection the auth check is told the connection's scheme, HAProxy's less strict list is checked against nginx's, and the conformance page keeps no count a check does not read - #73
Merged
Conversation
…nection's scheme, HAProxy's less strict list is checked against nginx's, and the conformance page keeps no count a check does not read (Part of #70, #71, #72) With auth.send_request and client_address connection, the Envoy output told the auth check the request's own scheme, which a client writes: an HTTP/2 request sent over plain HTTP with :scheme https made the check read https (measured on Envoy 1.40.2), and an http target sent over TLS made it read http. The check is now told the listener's scheme, https with tls and http without. Under forwarded nothing changes, and a file without those two keys renders byte for byte as before. HAProxy, measured on a plain connection file for the first time, already told the connection's scheme, and so does nginx since #65; neither generator's output changes. The battery holds the scheme each proxy tells the check for a request line, an HTTP/2 :scheme and a client's own header, on a plain and a TLS file under connection, on every entry. Of the three differences measured on nginx for #65, one holds on HAProxy, the admin listener answering an absolute target, and its list has 12 entries; the page says what was measured for the other two. The notes of client_address name the X-Forwarded-For of a client on a loopback address, where the Envoy output appends its own address and the nginx and HAProxy outputs 127.0.0.1. docs/conformance.md gives each scenario's rows in digits, and the battery checks them, and the rows sent as their scenario starts, before any container starts; every other count of the present is gone from the page. The pages' copies of the support table's notes and of render's line are generated.
This was referenced Nov 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #70, closes #71, closes #72
The scheme the auth check is told (#70)
With
auth.send_request: trueandclient_address: connection, the Envoy output told the check the request's own scheme, which the client writes. Measured on Envoy 1.40.2:connection:scheme: httpshttpshttphttptarget, or:scheme: http, over TLShttphttpshttpstarget over plain HTTP403, check not askedThe check is now told the listener's scheme,
httpswithtlsandhttpwithout. Underforwardednothing changes: a file without those two keys renders byte for byte as before, andproxyfile checkreports exactly the files that hold both.HAProxy was measured on a plain
connectionfile for the first time: it already tells the check the connection's scheme and answers an absolute target400without asking the check. nginx tells the connection's scheme since #65. Neither generator's output changes here.The battery holds the scheme each proxy tells the check for a request line, an HTTP/2
:schemeand a client's ownX-Forwarded-Proto, on a plain and a TLS file underconnection, on every entry, with rows for an upper-caseHTTPS://target, a:schemeofftp, and plain HTTP sent to the TLS port.HAProxy's list (#71)
Of the three differences measured on nginx for #65, one holds on HAProxy 3.2 and 3.4: the admin listener answers an absolute request target by its path. It is named, not corrected, and HAProxy's list has 12 entries. The other two do not hold, and
docs/haproxy.mdsays what was measured: HAProxy answers an absolutehttpstarget over plain HTTP400, and removes a tab at either end of a header's value, as Envoy does.Named on the way, in the notes of
client_address: for a client on a loopback address the Envoy output appends its own address toX-Forwarded-For, where the nginx and HAProxy outputs append127.0.0.1.The conformance page's counts (#72)
docs/conformance.mdgives each scenario's rows in digits, and the battery checks them, and the rows sent as their scenario starts, before any container starts. Every other count that described the present is dropped or written without its number, so the page holds no present number that a check does not read. Dated history stays. The pages' copies of the support table's notes, and of the linerenderprints, are generated.Checks
gofmt,go vet(also with theconformancetag),go buildandgo test ./internal/... ./cmd/...pass; the generated pages and examples are current; the site builds and its links resolve.For the next release's notes
docs/format.mdhas the section "After 2.2.0": every nginx file is rendered again, and an Envoy or nginx file withauth.send_request: trueunderclient_address: connectionis rendered again. HAProxy's files do not change.