- Feb 15, 2019
-
-
Marcel Raad authored
I missed to check this in with commit 71786c05, which only disabled the test. This fixes the actual linker error. Closes https://github.com/curl/curl/pull/3568
-
Daniel Stenberg authored
Closes #3571
-
- Feb 14, 2019
-
-
Daniel Stenberg authored
Closes #3564
-
Daniel Stenberg authored
Detected by scan-build
-
Daniel Stenberg authored
Fix scan-build warnings, no globals, no silly handle scan. Also remove handles from the multi before cleaning up.
-
Daniel Stenberg authored
To avoid scan-build warnings and global variables.
-
Daniel Stenberg authored
Detected by scan-build
-
Daniel Stenberg authored
Detected by scan-build
-
Daniel Stenberg authored
in ftpget, ftpsget and sftpget, so that scan-build stops warning for potential NULL pointer dereference below! Detected by scan-build
-
Daniel Stenberg authored
scan-build warning: Null pointer passed as an argument to a 'nonnull' parameter
-
Jay Satiro authored
- Save the original conn->data before it's changed to the specified data transfer for the connection check and then restore it afterwards. This is a follow-up to 38d8e1bd 2019-02-11. History: It was discovered a month ago that before checking whether to extract a dead connection that that connection should be associated with a "live" transfer for the check (ie original conn->data ignored and set to the passed in data). A fix was landed in 54b201b4 which did that and also cleared conn->data after the check. The original conn->data was not restored, so presumably it was thought that a valid conn->data was no longer needed. Several days later it was discovered that a valid conn->data was needed after the check and follow-up fix was landed in bbae24c3 which partially reverted the original fix and attempted to limit the scope of when conn->data was changed to only when pruning dead connections. In that case conn->data was not cleared and the original conn->data not restored. A month later it was discovered that the original fix was somewhat correct; a "live" transfer is needed for the check in all cases because original conn->data could be null which could cause a bad deref at arbitrary points in the check. A fix was landed in 38d8e1bd which expanded the scope to all cases. conn->data was not cleared and the original conn->data not restored. A day later it was discovered that not restoring the original conn->data may lead to busy loops in applications that use the event interface, and given this observation it's a pretty safe assumption that there is some code path that still needs the original conn->data. This commit is the follow-up fix for that, it restores the original conn->data after the connection check. Assisted-by: <tholin@users.noreply.github.com> Reported-by: <tholin@users.noreply.github.com> Fixes https://github.com/curl/curl/issues/3542 Closes #3559
-
Daniel Stenberg authored
Used by debug builds with NSS. Reverted from 05b100ae
-
Patrick Monnerat authored
On non-ascii platforms, the chunked hex header was measured for char code conversion length, even for chunked trailers that do not have an hex header. In addition, the efective length is already known: use it. Since the hex length can be zero, only convert if needed. Reported by valgrind.
-
Daniel Stenberg authored
Closes #2367
-
Patrick Monnerat authored
Detected by scan-build (false positive).
-
Daniel Stenberg authored
Closes #3569
-
Daniel Stenberg authored
Closes #2905
-
Daniel Stenberg authored
Closes #2719
-
Daniel Stenberg authored
Heimdal includes on FreeBSD spewed out lots of them. Less so now. Closes #3566
-
Daniel Stenberg authored
Closes #3523
-
Daniel Stenberg authored
Closes #3109
-
- Feb 13, 2019
-
-
Patrick Monnerat authored
Rephrase to satisfy scan-build.
-
Marcel Raad authored
This test doesn't link without FTP support after fc7ab483, which made Curl_fnmatch unavailable without FTP support. Closes https://github.com/curl/curl/pull/3565
-
Daniel Stenberg authored
Nobody works on this now. Closes #3378
-
Daniel Stenberg authored
Mostly a false positive, but this makes the code easier to read anyway. Detected by scan-build. Closes #3563
-
Daniel Stenberg authored
Detected by scan-build.
-
Jay Satiro authored
Follow-up to 84c10dc1 from earlier today which wrapped a lot of the noisy debug output in DEBUGF but omitted a few lines. Ref: https://github.com/curl/curl/commit/84c10dc#r32292900
-
- Feb 12, 2019
-
-
Jay Satiro authored
- Pass an empty string to CURLOPT_ACCEPT_ENCODING to use the default supported encodings. Prior to this change the specific encodings of gzip and deflate were set but there's no guarantee they'd be supported by the user's libcurl.
-
Daniel Stenberg authored
... instead of allocating it separately and point to it. It is fixed-size and always used for each part. Closes #3561
-
Daniel Stenberg authored
Convert numerous infof() calls into debug-build only messages since they are annoyingly verbose for regular applications. Removed a few. Bug: https://curl.haxx.se/mail/lib-2019-02/0027.html Reported-by: Volker Schmid Closes #3552
-
Romain Geissler authored
Closes #3562
-
Daniel Stenberg authored
Closes #3557
-
Daniel Stenberg authored
Follow-up to cac0e4a6 Detected by scan-build Closes #3560
-
Daniel Stenberg authored
... since that data won't be used in the request anyway. Fixes #3548 Reported-by: Renaud Allard Close #3549
-
Daniel Stenberg authored
Reported-by: James Brown Bug: https://curl.haxx.se/mail/archive-2019-02/0013.html Closes #3558
-
Daniel Stenberg authored
Reported-by: MAntoniak on github Fixes #3553 Closes #3556
-
Daniel Gustafsson authored
Fix two occurrences of s/convers/converts/ spotted while reading code.
-
Daniel Stenberg authored
Closes #3551
-
Daniel Stenberg authored
-
- Feb 11, 2019
-
-
Frank Gevaerts authored
The code is more or less copied from the stdout comparison code, maybe some better reuse is possible. test 1457 is adjusted to make the output actually match (by using --silent) test 506 used <stderr> without actually needing it, so that <stderr> block is removed Closes #3536
-