Skip to content

CURLOPT_HAPROXYPROTOCOL.md: only sent for newly setup connections#21517

Closed
bagder wants to merge 2 commits into
masterfrom
bagder/haproxy
Closed

CURLOPT_HAPROXYPROTOCOL.md: only sent for newly setup connections#21517
bagder wants to merge 2 commits into
masterfrom
bagder/haproxy

Conversation

@bagder

@bagder bagder commented May 7, 2026

Copy link
Copy Markdown
Member

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the CURLOPT_HAPROXYPROTOCOL option documentation to clarify when the HAProxy PROXY protocol header is transmitted, helping libcurl users understand behavior when connections are reused.

Changes:

  • Document that the HAProxy protocol message is only sent on newly established connections.
  • Clarify that subsequent transfers reusing an existing connection do not resend the message.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread docs/libcurl/opts/CURLOPT_HAPROXYPROTOCOL.md Outdated
language

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@bagder bagder closed this in 94729ce May 7, 2026
@bagder bagder deleted the bagder/haproxy branch May 7, 2026 07:11
outcast36 pushed a commit to greearb/curl that referenced this pull request Jun 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

2 participants