summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2015-11-16 08:26:22 +0100
committerDaniel Stenberg <daniel@haxx.se>2015-11-16 08:26:48 +0100
commit6c5f4303fe531f2b8772cedfe275b8bbe839ab4b (patch)
tree094c3cb944040eac5542baa67da02f7dd50b0037
parent39904d6f7d8427f46aa5a514983911493b86ebe8 (diff)
downloadgnurl-6c5f4303fe531f2b8772cedfe275b8bbe839ab4b.tar.gz
gnurl-6c5f4303fe531f2b8772cedfe275b8bbe839ab4b.tar.bz2
gnurl-6c5f4303fe531f2b8772cedfe275b8bbe839ab4b.zip
CURLMOPT_PUSHFUNCTION.3: *_byname() returns only the first header
... if there are more than one using the same name
-rw-r--r--docs/libcurl/opts/CURLMOPT_PUSHFUNCTION.33
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/libcurl/opts/CURLMOPT_PUSHFUNCTION.3 b/docs/libcurl/opts/CURLMOPT_PUSHFUNCTION.3
index 6a360e793..9c579615e 100644
--- a/docs/libcurl/opts/CURLMOPT_PUSHFUNCTION.3
+++ b/docs/libcurl/opts/CURLMOPT_PUSHFUNCTION.3
@@ -77,7 +77,8 @@ Returns the header at index 'num' (or NULL). The returned pointer points to a
Returns the value for the given header name (or NULL). This is a shortcut so
that the application doesn't have to loop through all headers to find the one
it is interested in. The data pointed will be freed when this callback
-returns.
+returns. If more than one header field use the same name, this returns only
+the first one.
.SH CALLBACK RETURN VALUE
.IP "CURL_PUSH_OK (0)"
The application has accepted the stream and it can now start receiving data,