- Jun 22, 2017
-
-
Daniel Stenberg authored
-
- Jun 21, 2017
-
-
Daniel Stenberg authored
The compressed output size seems to be a tad bit smaller, but generally xz seems more preferred these days and is used directly by for example gentoo instead of bz2. "Users of LZMA Utils should move to XZ Utils" => https://tukaani.org/lzma/ Closes #1604
-
Daniel Stenberg authored
... and CURLOPT_REQUEST_TARGET instead of CURLOPT_STRIP_PATH_SLASH. This option instead provides the full "alternative" target to use in the request, instead of extracting the path from the URL. Test 1298 and 1299 updated accordingly. Idea-by: Evert Pot Suggestion: https://daniel.haxx.se/blog/2017/06/19/options-with-curl/comment-page-1/#comment-18373 Closes #1593
-
Marcel Raad authored
Declare TU-local variables static.
-
Marcel Raad authored
- switch debug and release configurations so that we get an optimized build with GCC 4.3+ as required by typecheck-gcc - enable warnings-as-errors for release builds (which have warnings disabled) Closes https://github.com/curl/curl/pull/1595
-
Marcel Raad authored
typecheck-gcc expected curl_socket_t instead of curl_off_t arguments for CURLINFO_OFF_T. Detected by test1521, unfortunately only when run locally. Closes https://github.com/curl/curl/pull/1592
-
Simon Warta authored
-
- Jun 20, 2017
-
-
Marcel Raad authored
remote_scope_id is only used when both HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID and ENABLE_IPV6 are defined instead of only one of them.
-
Daniel Stenberg authored
-
- Jun 19, 2017
-
-
Daniel Stenberg authored
... to enable sending "OPTIONS *" which wasn't possible previously. This option currently only works for HTTP. Added test cases 1298 + 1299 to verify Fixes #1280 Closes #1462
-
Daniel Stenberg authored
Closes #1588
-
Daniel Stenberg authored
Also added return value checks to make sure no unexpected return codes are used.
-
Simon Warta authored
this improves symmetry with the rule above
-
Simon Warta authored
-
Daniel Stenberg authored
-
Daniel Stenberg authored
This change introduces new alternatives for the existing six curl_easy_getinfo() options that return sizes or speeds as doubles. The new versions are named like the old ones but with an appended '_T': CURLINFO_CONTENT_LENGTH_DOWNLOAD_T CURLINFO_CONTENT_LENGTH_UPLOAD_T CURLINFO_SIZE_DOWNLOAD_T CURLINFO_SIZE_UPLOAD_T CURLINFO_SPEED_DOWNLOAD_T CURLINFO_SPEED_UPLOAD_T Closes #1511
-
Daniel Stenberg authored
The list was freed incorrectly since the llist refactor of cbae73e1. Added test 1550 to verify that it works and avoid future regressions. Reported-by: Pascal Terjan Fixes #1584 Closes #1585
-
- Jun 18, 2017
-
-
Daniel Stenberg authored
torture mode with test 1021 found it
-
Daniel Stenberg authored
-
Marcel Raad authored
After deff7de0, the build without CURL_DISABLE_PROXY and CURL_DISABLE_HTTP was failing because of missing includes.
-
Marcel Raad authored
With CURL_DISABLE_PROXY or CURL_DISABLE_HTTP, GCC complained about a missing prototype for Curl_connect_free.
-
- Jun 17, 2017
-
-
Daniel Stenberg authored
-
Daniel Stenberg authored
... also updated the CURLOPT_PREQUOTE.3 man page to mention the correct protocol support. Closes #1514
-
Daniel Stenberg authored
... as it really cannot have reached this far with config being NULL, thus this is unnecesary and misleading. Bug: https://news.ycombinator.com/item?id=14577585 and https://daniel.haxx.se/blog/2017/06/17/curl-doesnt-spew-binary-anymore/comment-page-1/#comment-18356 Forwarded-to-us-by: Jakub Wilk
-
- Jun 16, 2017
-
-
Daniel Stenberg authored
... unless "--output -" is used. Binary detection is done by simply checking for a binary zero in early data. Added test 1425 1426 to verify. Closes #1512
-
Marcel Raad authored
The configure-based build also has this in addition to -Wall. Closes https://github.com/curl/curl/pull/1578
-
Marcel Raad authored
It usually warns when using commas instead of semicolons or other operators by accident. Closes https://github.com/curl/curl/pull/1578
-
Marcel Raad authored
It usually warns when forgetting to declare TU-local variables static. Closes https://github.com/curl/curl/pull/1578
-
Marcel Raad authored
Enable -Wdouble-promotion for both GCC and clang. It warns on implicit promotion from float to double. Closes https://github.com/curl/curl/pull/1578
-
Marcel Raad authored
Previously, that warning was only implicitly active in C90 mode. Enable it unconditionally as already done for GCC. Closes https://github.com/curl/curl/pull/1578
-
Daniel Stenberg authored
Regression since 5113ad04. ... and remove 'flaky' from test 1061 again Closes #1579
-
Daniel Stenberg authored
... the previous code would reset the header length wrongly (since 5113ad04). This makes test 1060 reliable again. Also: make sws send even smaller chunks of data to increase the likeliness of this happening.
-
Daniel Stenberg authored
-
Jay Satiro authored
Bug: https://github.com/curl/curl/issues/1254 Closes #1546
-
Daniel Stenberg authored
Both these tests run the same underlying test code: libntlmconnect.c - this test code made some assumptions about socket ordering when it used curl_easy_fdset() and when we changed timing or got accidental changes in libcurl the tests would fail. The tests verify that the different transfers keep using the same connections, which I now instead made sure by adding the number of bytes each transfer gets and then verifies that they always get the same amount as when these tests worked. Closes #1576
-
Daniel Stenberg authored
Closes #1569
-
Daniel Stenberg authored
Fails intermittently on travis builds since a few days. Likely due to 5113ad04.
-
Jay Satiro authored
- Move the logic to detect a Windows drive letter prefix (eg c: in c:foo) into a function-like macro. Closes https://github.com/curl/curl/pull/1571
-
Jay Satiro authored
- No longer allow partial downloads of certdata. Prior to this change partial downloads were (erroneously?) allowed since only the server code was checked to be 200. Bug: https://github.com/curl/curl/pull/1577 Reported-by: Matteo B.
-