TODO: return code to CURLMOPT_PUSHFUNCTION to fail connection

This commit is contained in:
Daniel Stenberg 2020-06-29 23:50:44 +02:00
parent c585bad8e2
commit 42320a7120
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2
1 changed files with 8 additions and 0 deletions

View File

@ -36,6 +36,7 @@
1.17 Add support for IRIs 1.17 Add support for IRIs
1.18 try next proxy if one doesn't work 1.18 try next proxy if one doesn't work
1.20 SRV and URI DNS records 1.20 SRV and URI DNS records
1.21 Add return code to CURLMOPT_PUSHFUNCTION to fail the connection
1.22 CURLINFO_PAUSE_STATE 1.22 CURLINFO_PAUSE_STATE
1.23 Offer API to flush the connection pool 1.23 Offer API to flush the connection pool
1.24 TCP Fast Open for windows 1.24 TCP Fast Open for windows
@ -356,6 +357,13 @@
Offer support for resolving SRV and URI DNS records for libcurl to know which Offer support for resolving SRV and URI DNS records for libcurl to know which
server to connect to for various protocols (including HTTP!). server to connect to for various protocols (including HTTP!).
1.21 Add return code to CURLMOPT_PUSHFUNCTION to fail the connection
Allow the callback to return a value that would stop the entire operation,
like it can be done from most other callbacks.
See https://curl.haxx.se/mail/lib-2020-06/0099.html
1.22 CURLINFO_PAUSE_STATE 1.22 CURLINFO_PAUSE_STATE
Return information about the transfer's current pause state, in both Return information about the transfer's current pause state, in both