summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* includes: remove curl/curlbuild.h and curl/curlrules.hbagder/remove-curlbuildDaniel Stenberg2017-05-2246-1996/+390
| | | | | | | | Rely entirely on curl/system.h now. Introduced in Aug 2008 with commit 14240e9e109f. Now gone. Fixes #1456
* cmake: remove unused variables: GNUTLS_ENABLED, NSS_ENABLEDSimon Warta2017-05-211-3/+2
|
* cmake: remove CURL_CA_BUNDLE from cmake TODOSimon Warta2017-05-211-2/+0
|
* cmake: auto detection of CURL_CA_BUNDLE/CURL_CA_PATHSimon Warta2017-05-211-10/+53
| | | | Closes #1461
* cmake: add CURL_CA_BUNDLE/CURL_CA_FALLBACK/CURL_CA_PATH optionsSimon Warta2017-05-211-0/+29
|
* cmake: Add CURL_CA_FALLBACK to curl_config.h.cmakeSimon Warta2017-05-211-0/+3
| | | | This is for symmetry with the autoconf generated curl_config.h.in
* RELEASE-NOTES: synced with 052a14e3cDaniel Stenberg2017-05-211-4/+20
|
* tests: stabilize test 1034Michael Kaufmann2017-05-201-1/+5
| | | | | | | Pass the invalid domain name on stdin. On some systems, the test framework cannot pass invalid UTF-8 sequences on the command line. Closes #1488
* ssh: ignore timeouts during disconnectDaniel Stenberg2017-05-201-12/+15
| | | | | | | | | | | | ... as otherwise it risks not cleaning up the libssh2 handle properly which leads to memory leak! Assisted-by: Joel Depooter Closes #1495 Closes #1479 Bug: https://curl.haxx.se/mail/lib-2017-04/0024.html
* ghiper.c/hiperfifo.c: add comment about missing timer functionalityDaniel Stenberg2017-05-192-4/+21
| | | | | | | | | It takes someone to read up on the APIs of these libraries to figure out how to do this correctly. Reported-by: Michael Kaufmann Closes #1253
* asiohiper.cpp / evhiperfifo.c: deal with negative timerfunction inputDaniel Stenberg2017-05-192-3/+3
| | | | | | | That means delete the timer. Reported-by: Michael Kaufmann Ref: #1253
* cmdline-opts/write-out.d: s/-L/--locationDaniel Stenberg2017-05-181-2/+3
| | | | | Since the man page generator wants the long option name version to generate the proper output.
* mkhelp.pl: do not add current time into curl binaryBernhard M. Wiedemann2017-05-171-1/+1
| | | | | | | | ... as part of hugehelpgz rodata to make build reproducible. See https://reproducible-builds.org/ for why this is good Closes #1490
* oauth2-bearer.d: mention the <token> argumentDaniel Stenberg2017-05-171-0/+1
|
* darwinssl: Fix exception when processing a client-side certificate fileNick Zitzmann2017-05-161-1/+1
| | | | | | if no error was raised by the API but the SecIdentityRef was null Fixes #1450
* curl_sasl: fix build error with CURL_DISABLE_CRYPTO_AUTH + USE_NTLMDaniel Stenberg2017-05-161-2/+2
| | | | | Reported-by: wyattoday at github Fixes #1487
* docs/cmdline-opts/config.d: edit for languageDaniel Stenberg2017-05-161-7/+8
|
* RELEASE-NOTES: synced with eb16305e6Daniel Stenberg2017-05-151-5/+23
|
* SecureTransport/DarwinSSL: Implement public key pinningmoparisthebest2017-05-154-1/+186
| | | | Closes #1400
* man pages: fix example syntax errorsDaniel Stenberg2017-05-153-0/+3
| | | | follow-up to 5ddad099b42b50
* docs/libcurl/opts: added more examples in man pagesDaniel Stenberg2017-05-1514-37/+265
|
* CURLOPT_HTTPPROXYTUNNEL: clarify, add exampleDaniel Stenberg2017-05-151-12/+23
|
* curl: show the libcurl release date in --version outputDaniel Stenberg2017-05-143-5/+11
| | | | | | | | | | | | | | | | | ... and support and additional "security patched" date for those who enhance older versions that way. Pass on the define CURL_PATCHSTAMP with a date for that. Building with non-release headers shows the date as [unreleased]. Also: this changes the date format generated in the curlver.h file to be "YYYY-MM-DD" (no name of the day or month, no time, no time zone) to make it easier on the eye and easier to parse. Example (new) date string: 2017-05-09 Suggested-by: Brian Childs Closes #1474
* url.c: add a compile-time check that CURL_MAX_WRITE_SIZE is large enoughDan Fandrich2017-05-132-1/+11
| | | | | | Some code (e.g. Curl_fillreadbuffer) assumes that this buffer is not exceedingly tiny and will break if it is. This same check is already done at run time in the CURLOPT_BUFFERSIZE option.
* lib510: don't write past the end of the buffer if it's too smallDan Fandrich2017-05-131-0/+4
|
* tests: added missing keywords "chunked Transfer-Encoding"Dan Fandrich2017-05-1310-2/+11
|
* THANKS: add a few missing namesDaniel Stenberg2017-05-131-0/+10
| | | | ... I found them in the commit logs from the early years
* tests: made a couple of prechecks consistent with othersDan Fandrich2017-05-133-7/+2
| | | | | | | | | | Also removed a TODO suggesting caching the precheck results. Tests showed this would save about 0.1 sec on the total test run time on a relatively modern system, an unnoticeable gain at the cost of longer and more complicated code. There would also be a danger that a cached test result would be inappropriately returned, such as when other test dependencies (like environment variables) are different or when the precheck causes side effects (like filesystem changes).
* FAQ: add 7.4 to tocDaniel Stenberg2017-05-121-14/+15
| | | | | | ... and delete trailing whitespace Fixes #1484
* multi: remove leftover debug infof() calls from e9fd794a6Daniel Stenberg2017-05-121-3/+0
|
* pipeline: fix mistakenly trying to pipeline POSTsDaniel Stenberg2017-05-121-23/+27
| | | | | | | | | | | | | The function IsPipeliningPossible() would return TRUE if either pipelining OR HTTP/2 were possible on a connection, which would lead to it returning TRUE even for POSTs on HTTP/1 connections. It now returns a bitmask so that the caller can differentiate which kind the connection allows. Fixes #1481 Closes #1483 Reported-by: stootill at github
* mbedtls: Support server renegotiation requestRon Eldor2017-05-121-0/+5
| | | | | | Tested with servers: IIS 7.5; OpenSSL 1.0.2. Closes https://github.com/curl/curl/pull/1475
* cookie_interface: fix -Wcomma warningMarcel Raad2017-05-111-1/+2
| | | | | clang 5.0 complains: possible misuse of comma operator here [-Wcomma]
* formdata: fix -Wcomma warningMarcel Raad2017-05-111-1/+1
| | | | | | | clang 5.0 complains: possible misuse of comma operator here [-Wcomma] Change the comma to a semicolon to fix that.
* multi: use a fixed array of timers instead of mallocDaniel Stenberg2017-05-1012-70/+66
| | | | | | | | | | ... since the total amount is low this is faster, easier and reduces memory overhead. Also, Curl_expire_done() can now mark an expire timeout as done so that it never times out. Closes #1472
* multi: assign IDs to all timers and make each timer singletonDaniel Stenberg2017-05-1010-39/+98
| | | | | | | A) reduces the timeout lists drastically B) prevents a lot of superfluous loops for timers that expires "in vain" when it has actually already been extended to fire later on
* tests: remove superfluous test 1399Richard Hsu2017-05-102-44/+1
| | | | | | | | | | | | @MarcelRaad noted that `test1399` causes infinite loop on MinGW. Looking into this, seems like it is related to how Windows handles CRLF. See https://github.com/curl/curl/commit/9e093f by @mback2k. Removing `test1399` as it's identical to `test1326` then with such a fix. Test 1399 was broughy by commit 862b02f8947039e Closes #1478
* tests: make test file names more uniqueDan Fandrich2017-05-0913-34/+38
| | | | | | Include the test number in the names of files written out by tests to reduce the chance of accidental duplication and to make it more clear which test is associated with which file.
* tests: removed redundant --trace-ascii argumentsDan Fandrich2017-05-0912-12/+12
| | | | | This is already added by the test suite; it's not clear why all these tests had it, unless it's cargo-culting.
* tool: fix remaining -Wcast-qual warningsMarcel Raad2017-05-093-8/+8
| | | | Avoid casting away low-level const.
* formboundary: convert assert into run-time checkDaniel Stenberg2017-05-091-1/+2
| | | | | | | | | ... to really make sure the boundary fits in the target buffer. Fixes unused parameter 'buflen' warning. Reported-by: Michael Kaufmann Bug: https://github.com/curl/curl/pull/1468#issuecomment-300078754
* tests: list the primary server first in the server sectionDan Fandrich2017-05-092-2/+2
|
* curl: generate the --help outputDaniel Stenberg2017-05-083-253/+435
| | | | | | | | | | ... using the docs/cmdline-opts/gen.pl script, so that we get all the command line option documentation from the same source. The generation of the list has to be done manually and pasted into the source code. Closes #1465
* tests: updated for modified fake randomDaniel Stenberg2017-05-0833-44/+44
|
* rand: treat fake entropy the same regardless of endiannessJay Satiro2017-05-085-54/+87
| | | | | | | | | | | | | | | | | When the random seed is purposely made predictable for testing purposes by using the CURL_ENTROPY environment variable, process that data in an endian agnostic way so the the initial random seed is the same regardless of endianness. - Change Curl_rand to write to a char array instead of int array. - Add Curl_rand_hex to write random hex characters to a buffer. Fixes #1315 Closes #1468 Co-authored-by: Daniel Stenberg Reported-by: Michael Kaufmann
* tests: give each stunnel.conf file a unique nameDan Fandrich2017-05-082-2/+3
| | | | | Otherwise, subsequent uses of stunnel overwrite the configuration file of previous invocations so they can no longer be inspected.
* tool_msgs: remove wrong castMarcel Raad2017-05-081-1/+1
| | | | | | Commit 481e0de00a9003b9c5220b120e3fc302d9b0932d changed the variable type from int to size_t, so don't cast the result of strlen to int anymore.
* tftpd: fix signed/unsigned mismatch warningsMarcel Raad2017-05-081-3/+3
| | | | alarm's argument is unsigned.
* libtest: fix MinGW-w64 warningsMarcel Raad2017-05-086-6/+6
| | | | | | long is 32 bits while size_t is 64 bits on MinGW-w64, so typecheck-gcc.h complains when using size_t for a long option. Also, curl_socket_t is unsigned long long rather than int.
* curl.1: depend the build on the Makefile.inc tooDaniel Stenberg2017-05-081-1/+1
| | | | | ... to also make it update when we remove files, like we did for --environment in commit a8e388dd1095.