Re: libcurl options for --create-dirs -O --output-dir

2021-06-08 Thread Daniel Stenberg via curl-library
On Tue, 8 Jun 2021, Anmol Mishra via curl-library wrote: However, I cannot see the equivalent options inside libcurl. Is the --output-dir option only available in the curl CLI ? Yes, since libcurl doesn't really save content to files/directories. It delivers the content to a callback. --

libcurl options for --create-dirs -O --output-dir

2021-06-08 Thread Anmol Mishra via curl-library
Daniel posted about the --output-dir option in curl 7.73 - https://daniel.haxx.se/blog/2020/09/10/store-the-curl-output-over-there/ However, I cannot see the equivalent options inside libcurl. Is the --output-dir option only available in the curl CLI ?

7.77.0: tests/server/sws overflows stack

2021-06-08 Thread Christian Weisgerber via curl-library
Running curl 7.77.0's regression test suite shows severe attrition on OpenBSD. Observed: TESTDONE: 1427 tests were considered during 348 seconds. TESTDONE: 501 tests out of 501 reported OK: 100% Expected: TESTDONE: 1427 tests were considered during 584 seconds. TESTDONE: 1120 tests out

curl_multi_wakeup doesn't seem to wakeup the associated curl_multi_poll - Android (but may not be limited to)

2021-06-08 Thread Florian Morel via curl-library
Hi folks! This question was originally posted on Stack Overflow, but I was asked to post it here to have better support. Here it is! Curl version: 7.71.0 with c-ares Background We are building a library that's being integrated into mobile apps. We are targeting both iOS and Android. Curl

Re: TLS session ID re-use broken in 7.77.0

2021-06-08 Thread Daniel JeliƄski via curl-library
Simple repro: >curl -vI --http1.1 https://example.com/[1-3] -H"Connection:close" output of the old CURL version contains "* SSL re-using session ID"; output of 7.77.0 does not. Wireshark confirms that the old version sent PSK in client hello, the new version did not. curl 7.77 downloaded here: