- 05 Mar, 2019 1 commit
-
-
Jay Satiro authored
- Change closure handle to receive verbose setting from the easy handle most recently added via curl_multi_add_handle. The closure handle is a special easy handle used for closing cached connections. It receives limited settings from the easy handle most recently added to the multi handle. Prior to this change that did not include verbose which was a problem because on connection shutdown verbose mode was not acknowledged. Ref: https://github.com/curl/curl/pull/3598 Co-authored-by: Daniel Stenberg Closes https://github.com/curl/curl/pull/3618
-
- 04 Mar, 2019 1 commit
-
-
Daniel Stenberg authored
Test 659 verifies Also fixed the test 658 name Closes #3641
-
- 03 Mar, 2019 6 commits
-
-
Daniel Stenberg authored
Pointed out by Coverity, CID 1442956. Closes #3640
-
Daniel Stenberg authored
Closes #3498
-
Daniel Stenberg authored
-
Daniel Stenberg authored
-
Daniel Stenberg authored
-
Daniel Stenberg authored
-
- 02 Mar, 2019 5 commits
-
-
Daniel Stenberg authored
Closes #3637
-
Daniel Stenberg authored
-
Simon Legner authored
This is the renamed script formerly known as zsh.pl Closes #3545
-
Daniel Stenberg authored
It has been deprecated by GnuTLS since a year ago and now causes build warnings. Ref: https://gitlab.com/gnutls/gnutls/commit/b0041897d2846737f5fb0f Docs: https://www.gnutls.org/manual/html_node/Compatibility-API.html Closes #3636
-
Jay Satiro authored
.. since system_win32 is a more appropriate location for the functions and to extern the globals. Ref: https://github.com/curl/curl/commit/ca597ad#r32446578 Reported-by: Gisle Vanem Closes https://github.com/curl/curl/pull/3625
-
- 01 Mar, 2019 8 commits
-
-
Daniel Stenberg authored
Reported-by: Sara Golemon Fixes #3592 Closes #3634
-
Daniel Stenberg authored
-
Arnaud Rebillout authored
The main change here is the timer value that was wrong, it was given in usecs (ms * 1000), while the itimerspec struct wants nsecs (ms * 1000 * 1000). This resulted in the callback being invoked WAY TOO OFTEN. As a quick check you can run this command before and after applying this commit: # shell 1 ./ephiperfifo 2>&1 | tee ephiperfifo.log # shell 2 echo http://hacking.elboulangero.com > hiper.fifo Then just compare the size of the logs files. Closes #3633 Fixes #3632 Signed-off-by: Arnaud Rebillout <arnaud.rebillout@collabora.com>
-
Daniel Stenberg authored
- no need to have them protocol specific - no need to set pointers to them with the Curl_setup_transfer() call - make Curl_setup_transfer() operate on a transfer pointer, not connection - switch some counters from long to the more proper curl_off_t type Closes #3627
-
Daniel Stenberg authored
- use better variable names to explain their purposes - convert logic to curl_multi_wait()
-
Daniel Stenberg authored
When a transfer is done, the resolver thread will be brought down. That could accidentally generate an error message in the error buffer even though this is not an error situationand the transfer would still return OK. An application that still reads the error buffer could find a "Could not resolve host: [host name]" message there and get confused. Reported-by: Michael Schmid Fixes #3629 Closes #3630
-
Ԝеѕ authored
clarify redir - "in absurdum" doesn't seem to make sense in this context Closes #3631
-
Daniel Stenberg authored
in the same sftp_done function in both SSH backends. Simplify them somewhat. Pointed out by Codacy. Closes #3628
-
- 28 Feb, 2019 7 commits
-
-
Daniel Stenberg authored
-
Daniel Stenberg authored
Introduced in 8b6314cc, but not used anymore in current code. Unclear since when. Closes #3626
-
Daniel Stenberg authored
Without it set, we would unwillingly triger the "HTTP error before end of send, stop sending" condition even if the entire POST body had been sent (since it wouldn't know the expected size) which would unnecessarily log that message and close the connection when it didn't have to. Reported-by: Matt McClure Bug: https://curl.haxx.se/mail/archive-2019-02/0023.html Closes #3624
-
Daniel Stenberg authored
-
Daniel Stenberg authored
-
Daniel Stenberg authored
-
Daniel Stenberg authored
Everyone calls it Secure Transport, now we do too. Reviewed-by: Nick Zitzmann Closes #3619
-
- 27 Feb, 2019 7 commits
-
-
Marcel Raad authored
But use the MSYS2 shell rather than the default MSYS shell because of POSIX path conversion issues. Classic MinGW is only available on the Visual Studio 2015 image. Closes https://github.com/curl/curl/pull/3623
-
Marcel Raad authored
Add a MinGW-w64 build using CMake's MSYS Makefiles generator. Use the Visual Studio 2015 image as it has GCC 8, while the Visual Studio 2017 image only has GCC 7.2. Closes https://github.com/curl/curl/pull/3623
-
Daniel Stenberg authored
Follow-up to 8eddb8f4. If the cookieinfo pointer is NULL there really is nothing to save. Without this fix, we got a problem when a handle was using shared object with cookies and is told to "FLUSH" it to file (which worked) and then the share object was removed and when the easy handle was closed just afterwards it has no cookieinfo and no cookies so it decided to save an empty jar (overwriting the file just flushed). Test 1905 now verifies that this works. Assisted-by: Michael Wallner Assisted-by: Marcel Raad Closes #3621
-
DaVieS authored
Closes #3421
-
Daniel Stenberg authored
This allows the compiler to pack and align the structs better in memory. For a rather feature-complete build on x86_64 Linux, gcc 8.1.2 makes the Curl_easy struct 4.9% smaller. From 6312 bytes to 6000. Removed an unused struct field. No functionality changes. Closes #3610
-
Don J Olmstead authored
Closes #3616
-
Daniel Stenberg authored
Closes #3611
-
- 26 Feb, 2019 5 commits
-
-
Daniel Stenberg authored
Follow-up to 180501cb Reported-by: Marcel Raad Fixes #3609 Closes #3620
-
Marcel Raad authored
Switch all Visual Studio 2015 builds to Visual Studio 2017. It's not a moving target anymore as the last update, Update 9, has been released. Closes https://github.com/curl/curl/pull/3606
-
Marcel Raad authored
The Visual Studio 2017 image has Visual Studio 2015 and 2017 installed. Closes https://github.com/curl/curl/pull/3606
-
Marcel Raad authored
Currently, we're using the default Visual Studio 2015 image for everything. Closes https://github.com/curl/curl/pull/3606
-
Daniel Stenberg authored
Instead of using a fixed 256 byte buffer in the connectdata struct. In my build, this reduces the size of the connectdata struct by 11.8%, from 2160 to 1904 bytes with no functionality or performance loss. This also fixes a bug in schannel's Curl_verify_certificate where it called Curl_sspi_strerror when it should have called Curl_strerror for string from GetLastError. the only effect would have been no text or the wrong text being shown for the error. Co-authored-by: Jay Satiro Closes #3612
-