Skip to content

Tests: custom PROXY protocol v2 TLVs sent to backends. - #110

Open
fatpat wants to merge 1 commit into
nginx:masterfrom
fatpat:proxy_protocol_v2_tlv
Open

Tests: custom PROXY protocol v2 TLVs sent to backends.#110
fatpat wants to merge 1 commit into
nginx:masterfrom
fatpat:proxy_protocol_v2_tlv

Conversation

@fatpat

@fatpat fatpat commented Aug 27, 2026

Copy link
Copy Markdown

Proposed changes

Tests for the "proxy_protocol_v2_tlv" directive in stream and mail. The backend is a Perl daemon that parses the PROXY protocol header itself, so the TLVs are checked as written on the wire; this tells a zero-length TLV apart from an absent one, which reading them back through $proxy_protocol_tlv_* cannot.

Also covers the accepted type notation and the rejection of duplicate types, by running "nginx -t" over generated configurations.

test for changes from nginx/nginx#1698

Checklist

Before creating a PR, run through this checklist and mark each as complete:

Tests for the "proxy_protocol_v2_tlv" directive in stream and mail.
The backend is a Perl daemon that parses the PROXY protocol header
itself, so the TLVs are checked as written on the wire; this tells a
zero-length TLV apart from an absent one, which reading them back
through $proxy_protocol_tlv_* cannot.

Also covers the accepted type notation and the rejection of duplicate
types, by running "nginx -t" over generated configurations.

Assisted-by: Claude:claude-opus-5
@fatpat
fatpat force-pushed the proxy_protocol_v2_tlv branch from 85aadb5 to 8fe2c73 Compare August 27, 2026 18:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: New

Development

Successfully merging this pull request may close these issues.

2 participants