- 15 Aug, 2017 5 commits
-
-
Ryan Winograd authored
Update the progress timers `t_nslookup`, `t_connect`, `t_appconnect`, `t_pretransfer`, and `t_starttransfer` to track the total times for these activities when a redirect is followed. Previously, only the times for the most recent request would be tracked. Related changes: - Rename `Curl_pgrsResetTimesSizes` to `Curl_pgrsResetTransferSizes` now that the function only resets transfer sizes and no longer modifies any of the progress timers. - Add a bool to the `Progress` struct that is used to prevent double-counting `t_starttransfer` times. Added test case 1399. Fixes #522 and Known Bug 1.8 Closes #1602 Reported-by: joshhe on github
-
Benbuck Nason authored
Closes #1785
-
Kamil Dudka authored
Commit curl-7_54_0-118-g8b2f22ed changed the output format of curl --help to use <file> and <dir> instead of FILE and DIR, which caused zsh.pl to produce a broken completion script: % curl --<TAB> _curl:10: no such file or directory: seconds Closes #1779
-
Daniel Stenberg authored
-
Daniel Stenberg authored
-
- 14 Aug, 2017 5 commits
-
-
Daniel Stenberg authored
-
Daniel Stenberg authored
... make sure we bail out on overflows. Reported-by: Brian Carpenter Closes #1758
-
Daniel Stenberg authored
to make sure they keep building warning-free Closes #1777
-
Daniel Stenberg authored
-
Daniel Stenberg authored
... converted from the MS specific _snscanf()
-
- 13 Aug, 2017 5 commits
-
-
Daniel Stenberg authored
-
Daniel Stenberg authored
-
Sergei Nikulov authored
Closes #1719
-
Daniel Stenberg authored
Fixes #1764 Closes #1773 Reported-by: James Slaughter
-
Alex Potapenko authored
Closes #1774
-
- 12 Aug, 2017 13 commits
-
-
Daniel Stenberg authored
Closes #1772
-
Salah-Eddin Shaban authored
This fixes redirects to IDN URLs Fixes #1441 Closes #1762 Reported by: David Lord
-
Daniel Stenberg authored
-
Daniel Stenberg authored
Could've prevented #1755
-
Simon Warta authored
Closes #1763
-
Daniel Stenberg authored
-
Daniel Stenberg authored
-
Daniel Stenberg authored
Regression since adef394a (released in 7.55.0) Reported-by: Han Qiao Fixes #1769 Closes #1771
-
Daniel Stenberg authored
Fixes #1752
-
Alessandro Ghedini authored
Closes #1770
-
Alessandro Ghedini authored
-
Alessandro Ghedini authored
-
Dan Fandrich authored
-
- 11 Aug, 2017 8 commits
-
-
Thomas Petazzoni authored
The long list of architectures in include/curl/system.h is annoying to maintain, and needs to be extended for each and every architecture to support. Instead, let's rely on the __SIZEOF_LONG__ define of the gcc compiler (we are in the GNUC condition anyway), which tells us if long is 4 bytes or 8 bytes. This fixes the build of libcurl 7.55.0 on architectures such as OpenRISC or ARC. Closes #1766 Signed-off-by:
Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-
Daniel Stenberg authored
Suspicion: when we enabled the threaded resolver by default.
-
Daniel Stenberg authored
-
Even Rouault authored
Fixes the below leak: $ valgrind --leak-check=full ~/install-curl-git/bin/curl --proxy "http://a:b@/x" http://127.0.0.1 curl: (5) Couldn't resolve proxy name ==5048== ==5048== HEAP SUMMARY: ==5048== in use at exit: 532 bytes in 12 blocks ==5048== total heap usage: 5,288 allocs, 5,276 frees, 445,271 bytes allocated ==5048== ==5048== 2 bytes in 1 blocks are definitely lost in loss record 1 of 12 ==5048== at 0x4C2DB8F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==5048== by 0x4E6CB79: parse_login_details (url.c:5614) ==5048== by 0x4E6BA82: parse_proxy (url.c:5091) ==5048== by 0x4E6C46D: create_conn_helper_init_proxy (url.c:5346) ==5048== by 0x4E6EA18: create_conn (url.c:6498) ==5048== by 0x4E6F9B4: Curl_connect (url.c:6967) ==5048== by 0x4E86D05: multi_runsingle (multi.c:1436) ==5048== by 0x4E88432: curl_multi_perform (multi.c:2160) ==5048== by 0x4E7C515: easy_transfer (easy.c:708) ==5048== by 0x4E7C74A: easy_perform (easy.c:794) ==5048== by 0x4E7C7B1: curl_easy_perform (easy.c:813) ==5048== by 0x414025: operate_do (tool_operate.c:1563) ==5048== ==5048== 2 bytes in 1 blocks are definitely lost in loss record 2 of 12 ==5048== at 0x4C2DB8F: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==5048== by 0x4E6CBB6: parse_login_details (url.c:5621) ==5048== by 0x4E6BA82: parse_proxy (url.c:5091) ==5048== by 0x4E6C46D: create_conn_helper_init_proxy (url.c:5346) ==5048== by 0x4E6EA18: create_conn (url.c:6498) ==5048== by 0x4E6F9B4: Curl_connect (url.c:6967) ==5048== by 0x4E86D05: multi_runsingle (multi.c:1436) ==5048== by 0x4E88432: curl_multi_perform (multi.c:2160) ==5048== by 0x4E7C515: easy_transfer (easy.c:708) ==5048== by 0x4E7C74A: easy_perform (easy.c:794) ==5048== by 0x4E7C7B1: curl_easy_perform (easy.c:813) ==5048== by 0x414025: operate_do (tool_operate.c:1563) Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=2984 Credit to OSS Fuzz for discovery Closes #1761
-
Daniel Stenberg authored
-
Daniel Stenberg authored
-
Daniel Stenberg authored
A gcc7 warning.
-
David Benjamin authored
Just making the pointer as const works for the pre-1.1.0 path too. Closes #1759
-
- 10 Aug, 2017 4 commits
-
-
Daniel Stenberg authored
To avoid "old crap" unintentionally getting shipped. Bug: https://curl.haxx.se/mail/lib-2017-08/0050.html Reported-by: Christian Weisgerber
-
Jay Satiro authored
- Enable execute permission (chmod +x) - Change interpreter to /usr/bin/env perl Ref: https://github.com/curl/curl/issues/1743
-
Daniel Stenberg authored
Closes #1647
-
Daniel Stenberg authored
Closes #1756
-