diff options
author | Daniel Stenberg <daniel@haxx.se> | 2020-07-16 00:24:29 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2020-07-16 00:24:29 +0200 |
commit | 954cd3eb482a00fda610ca64498d50db2b2e8298 (patch) | |
tree | 261374f3a3c9c158a42b0c3bfe33d5cb6bd18b78 /docs/libcurl/opts/CURLMOPT_PUSHFUNCTION.3 | |
parent | 2f5d0e497e65aefd655a08e5ca96c70cc3123b40 (diff) | |
download | curl-954cd3eb482a00fda610ca64498d50db2b2e8298.tar.gz |
CURL_PUSH_ERROROUT: allow the push callback to fail the parent stream
... by adding support for a new dedicated return code.
Suggested-by: Jonathan Cardoso
Assisted-by: Erik Johansson
URL: https://curl.haxx.se/mail/lib-2020-06/0099.html
Closes #5636
Diffstat (limited to 'docs/libcurl/opts/CURLMOPT_PUSHFUNCTION.3')
-rw-r--r-- | docs/libcurl/opts/CURLMOPT_PUSHFUNCTION.3 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/libcurl/opts/CURLMOPT_PUSHFUNCTION.3 b/docs/libcurl/opts/CURLMOPT_PUSHFUNCTION.3 index 241f47547..a80b2539f 100644 --- a/docs/libcurl/opts/CURLMOPT_PUSHFUNCTION.3 +++ b/docs/libcurl/opts/CURLMOPT_PUSHFUNCTION.3 @@ -86,6 +86,9 @@ the ownership of the CURL handle has been taken over by the application. .IP "CURL_PUSH_DENY (1)" The callback denies the stream and no data for this will reach the application, the easy handle will be destroyed by libcurl. +.IP "CURL_PUSH_ERROROUT (2)" +Returning this will reject the pushed stream and return an error back on the +parent stream making it get closed with an error. (Added in curl 7.72.0) .IP * All other return codes are reserved for future use. .SH DEFAULT |