Skip to content

configurable request header for determining peer#6063

Draft
rnewson wants to merge 1 commit into
mainfrom
custom-peer-header
Draft

configurable request header for determining peer#6063
rnewson wants to merge 1 commit into
mainfrom
custom-peer-header

Conversation

@rnewson

@rnewson rnewson commented Jul 10, 2026

Copy link
Copy Markdown
Member

Overview

Allow peer determination by a custom header, useful when CouchDB is behind a reverse proxy or load balancer.

In the absence of the header the usual logic is used to determine peer (the x-forwarded-for header logic in mochiweb).

Testing recommendations

covered by tests.

Related Issues or Pull Requests

#6052

Checklist

  • This is my own work, I did not use AI, LLM's or similar technology
  • Code is written and works correctly
  • Changes are covered by tests
  • Any new configurable parameters are documented in rel/overlay/etc/default.ini
  • Documentation changes were made in the src/docs folder
  • Documentation changes were backported (separated PR) to affected branches

@rnewson

rnewson commented Jul 10, 2026

Copy link
Copy Markdown
Member Author

draft as I need to add docs and tests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant