summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* RELEASE-NOTES: synced with e3f84efc32d6b01aDaniel Stenberg2017-05-081-2/+29
|
* runtests: fix "use of undefined value" warning in -R handlingDaniel Stenberg2017-05-081-1/+5
|
* test537: use correct variable typeMarcel Raad2017-05-081-2/+2
| | | | | | | Avoids narrowing conversion warnings because rlim_t is usually unsigned long. Closes https://github.com/curl/curl/pull/1469
* sendrecv: fix MinGW-w64 warningMarcel Raad2017-05-071-1/+1
| | | | | | | The first argument to select is an int, while curl_socket_t is unsigned long long when using WinSock. It's ignored anyway [1]. [1] https://msdn.microsoft.com/en-us/library/windows/desktop/ms740141.aspx
* tool_parsecfg: fix -Wcast-qual warningMarcel Raad2017-05-071-1/+1
| | | | | Don't convert string literal to char * before assigning it to const char *.
* asyn-thread: fix unused macro warningsMarcel Raad2017-05-071-5/+5
| | | | Don't do anything in this file if CURLRES_THREADED is not defined.
* tftp: silence bad-function-cast warningMarcel Raad2017-05-071-2/+6
| | | | | The cases this warns about are handled elsewhere, so just use an intermediate variable to silence the warning.
* buildconf: fix hang on IRIXcanavan at github2017-05-071-2/+2
| | | | | | | Apparently, /usr/bin/m4 ignores the --version parameter and waits for input from stdin. Fixes #1471
* opts: fix bad example formatting \n => \\nDaniel Stenberg2017-05-0620-22/+22
| | | | ...to render properly nroff.
* opts: examples added to 8 more libcurl option man pagesDaniel Stenberg2017-05-068-16/+164
|
* curl: remove tool_writeenv.[ch]Daniel Stenberg2017-05-0610-178/+3
| | | | | | | | | ... and USE_ENVIRONMENT and --environment. It was once added for RISC OS support and its platform specific behavior has been annoying ever since. Added in commit c3c8bbd3b2688da8e, mostly unchanged since then. Most probably not actually used for years. Closes #1463
* runtests.pl: simplify the datacheck read sectionDan Fandrich2017-05-062-28/+17
| | | | Also, document that numbered datacheck sections are possible.
* tests: fix -Wcast-qual warningsMarcel Raad2017-05-056-10/+11
| | | | Avoid casting string literals to non-const char *.
* docs/opts: 24 more man pages now have examplesDaniel Stenberg2017-05-0524-47/+382
|
* docs/opts: 23 more man pages now have examplesDaniel Stenberg2017-05-0526-52/+445
|
* tests/server: run checksrc by default in debug-buildsDaniel Stenberg2017-05-052-2/+23
|
* curl_slist_append.3: clarify a NULL input creates a new listDaniel Stenberg2017-05-051-14/+14
|
* unit1305: fix compiler warningMarcel Raad2017-05-051-5/+2
| | | | calloc and ai_addrlen expect different (usually unsigned) types.
* runtests: use -R for random orderDaniel Stenberg2017-05-052-5/+5
| | | | Suggested-by: Dan Fandrich
* runtests: add -o to run test cases in scrambled orderDaniel Stenberg2017-05-042-6/+27
| | | | | | ... instead of numerical order. Closes #1466
* sockfilt.c: shortened too long lineDan Fandrich2017-05-041-1/+2
|
* tests/server: make string literals constMarcel Raad2017-05-045-12/+12
| | | | | | | assign string literals to const char * instead of char * in order to avoid a lot of these warnings: cast from 'const char *' to 'char *' drops const qualifier [-Wcast-qual]
* schannel: return a more specific error code for SEC_E_UNTRUSTED_ROOTDan Fandrich2017-05-041-1/+2
|
* test557: set a known good numeric localeDan Fandrich2017-05-042-5/+13
| | | | | | | | Windows does not allow setting the locale with environment variables (as the test attempted to do), so the test failed when run with a user locale that has a comma as radixchar. Changed the test to call setlocale() explicitly to ensure that a known working locale is set even on Windows.
* curl: fix warning "comma at end of enumerator list"Daniel Stenberg2017-05-041-1/+1
|
* test559: verify use of minimum CURLOPT_BUFFERSIZEDaniel Stenberg2017-05-044-2/+111
|
* curl_setup_once: use SEND_QUAL_ARG2 for swriteMarcel Raad2017-05-041-1/+1
| | | | | | | SEND_QUAL_ARG2 had to be set, but was never used. Use it in swrite to avoid warnings about casting away low-level const. Closes https://github.com/curl/curl/pull/1464
* CURLINFO_REDIRECT_URL.3: add exampleDaniel Stenberg2017-05-041-2/+16
|