Repository navigation
mod_remoteip: PROXY protocol LOCAL tests, and log EOF before the header at info level (PR 63893) - #805
Closed
notroj wants to merge 1 commit into
Closed
mod_remoteip: PROXY protocol LOCAL tests, and log EOF before the header at info level (PR 63893)#805notroj wants to merge 1 commit into
notroj wants to merge 1 commit into
Conversation
…der, and test the LOCAL command. PR 63893. * modules/metadata/mod_remoteip.c (remoteip_input_filter): Log EOF while reading the PROXY protocol header at info level, as the peer going away; other read errors are still logged as errors. Skip metadata buckets rather than copying from them: the EOS bucket arriving before the EOF was passed to memcpy() as a NULL source. * test/modules/metadata/test_004_remoteip.py (test_metadata_004_03, test_metadata_004_04, test_metadata_004_05, test_metadata_004_06): Test PROXY protocol v2 with the PROXY and LOCAL commands, with and without an address block, and a peer disconnecting after a partial header. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
notroj
force-pushed
the
remoteip-pp-local
branch
from
October 8, 2026 18:10
bb8ff9e to
eb31ce2
Compare
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.
Tests for the PROXY protocol v2 LOCAL command (Bugzilla 63893), and a fix
for the remaining log noise from health-check probes that connect and go
away before sending a header.
Analysis by @claude:
🤖 Generated with Claude Code