Skip to content

curl_easy_nextheader.md: a new transfer invalidates 'prev' - #20285

Closed
bagder wants to merge 2 commits into
masterfrom
bagder/nextheader-perform
Closed

bagder wants to merge 2 commits into
masterfrom
bagder/nextheader-perform

Conversation

@bagder

@bagder bagder commented Jan 13, 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

This PR adds important documentation to clarify that the prev pointer returned by curl_easy_nextheader() becomes invalid when a new transfer is performed using the same easy handle.

Changes:

  • Added a new paragraph documenting the lifetime and validity constraints of the prev pointer parameter

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

Comment thread docs/libcurl/curl_easy_nextheader.md Outdated
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@bagder
bagder marked this pull request as ready for review January 13, 2026 13:05
@bagder bagder closed this in 236c7d3 Jan 13, 2026
@bagder
bagder deleted the bagder/nextheader-perform branch January 13, 2026 13:11
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