curl_easy_nextheader.md: a new transfer invalidates 'prev'

Closes #20285
This commit is contained in:
Daniel Stenberg
2026-01-13 13:29:30 +01:00
parent db86f2de9b
commit 236c7d3c4d

View File

@@ -61,6 +61,10 @@ The memory for the struct this points to, is owned and managed by libcurl and
is associated with the easy handle. Applications must copy the data if they
want it to survive subsequent API calls or the life-time of the easy handle.
The *prev* pointer is only valid until another transfer is done using the
*easy* handle. Once a new transfer has started, a new *prev* must be retrieved
by calling curl_easy_nextheader(3) again with NULL as the fourth argument.
# %PROTOCOLS%
# EXAMPLE