- 16 Jun, 2017 15 commits
-
-
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.
-
- 15 Jun, 2017 14 commits
-
-
Daniel Stenberg authored
-
Daniel Stenberg authored
-
Daniel Stenberg authored
Reported-by: Dan Fandrich
-
Daniel Stenberg authored
Fixes #1476
-
Frederik B authored
-
Frederik B authored
-
Daniel Stenberg authored
... all other non-HTTP protocol schemes are now defaulting to "tunnel trough" mode if a HTTP proxy is specified. In reality there are no HTTP proxies out there that allow those other schemes. Assisted-by: Ray Satiro, Michael Kaufmann Closes #1505
-
Daniel Stenberg authored
... since commit 73a2fcea
-
Daniel Stenberg authored
... to make it really apparent if there's any user using this on purpose. Suggested-by: Jay Satiro Closes #1542
-
Daniel Stenberg authored
When this define was set, libcurl would check the environment variable named CURL_CA_BUNDLE at run-time and use that CA cert bundle. This feature was only defined by the watcom and m32 makefiles and caused inconsistent behaviours among libcurls built on different platforms. The curl tool does already feature its own similar logic and the library does not really need it, and it isn't documented libcurl behavior. So this change removes it. Ref: #1538
-
Daniel Stenberg authored
-
Daniel Stenberg authored
So many headers can be provided as @filename. Suggested-by: Timothe Litt Closes #1486
-
Daniel Stenberg authored
-
Daniel Stenberg authored
-
- 14 Jun, 2017 7 commits
-
-
Daniel Stenberg authored
Mentioned as a problem since 2007 (8f87c15b) and of course it existed even before that. Closes #1547
-
Daniel Stenberg authored
Bug #1556 Reported-by: Paul Harris Closes #1559
-
Marcel Raad authored
CURLSYS_PULL_WS2TCPIP_H got renamed to CURL_PULL_WS2TCPIP_H in commit 73a2fcea.
-
Daniel Stenberg authored
This gives us accurate precision and it allows us to avoid storing "no time" for systems with too low timer resolution as we then bump the time up to 1 microsecond. Should fix test 573 on windows. Remove the now unused curlx_tvdiff_secs() function. Maintains the external getinfo() API with using doubles. Fixes #1531
-
Daniel Stenberg authored
The maketgz script now makes sure the generated hugehelp.c file in the tarball is newer than the generated curl.1 man page, so that it doesn't have to get unnecessarily rebuilt first thing in a typical build. It thus also removes the need for perl to build off a plain release tarball. Fixes #1565
-
Daniel Stenberg authored
Rely entirely on curl/system.h now. Introduced in Aug 2008 with commit 14240e9e. Now gone. Fixes #1456
-
Daniel Stenberg authored
-
- 13 Jun, 2017 4 commits
-
-
Dan Fandrich authored
-
Stuart Henderson authored
lib/vtls/openssl.c has a workaround for a bug with OCSP responses signed by intermediate certs, this was fixed in LibreSSL in https://github.com/libressl-portable/openbsd/commit/912c64f68f7ac4f225b7d1fdc8fbd43168912ba0 Bug: https://curl.haxx.se/mail/lib-2017-06/0038.html
-
Daniel Stenberg authored
Bug: https://github.com/curl/curl/issues/1540 Advisory: https://curl.haxx.se/docs/adv_20170614.html Assisted-by: Ray Satiro Reported-by: Marcel Raad
-
Daniel Stenberg authored
The multiply() function that is used to avoid integer overflows, was itself reason for a possible division by zero error when passed a specially formatted glob. Reported-by: GwanYeong Kim
-