summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* tests: updated for modified rake randombagder/fake-rand-for-big-endianDaniel 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 Co-authored-by: Daniel Stenberg Reported-by: Michael Kaufmann
* 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
|
* CURLINFO_EFFECTIVE_URL.3: add exampleDaniel Stenberg2017-05-041-2/+17
|
* lib: fix compiler warningsMarcel Raad2017-05-032-3/+3
| | | | | | | | Fix the following warnings when building the tests by using the correct types: cast from 'const char *' to 'void *' drops const qualifier [-Wcast-qual] implicit conversion changes signedness [-Wsign-conversion]
* typecheck-gcc: add support for CURLINFO_SOCKETMarcel Raad2017-05-031-0/+9
| | | | Closes https://github.com/curl/curl/pull/1452
* typecheck-gcc: add missing string optionsMarcel Raad2017-05-031-0/+14
| | | | Closes https://github.com/curl/curl/pull/1452
* abstract-unix-socket.d: shorten the help text to fit within 79 colsDaniel Stenberg2017-05-031-1/+1
|
* RELEASE-NOTES: synced with 862b02f89Daniel Stenberg2017-05-021-3/+39
|
* Telnet: Write full buffer instead of byte-by-byteRichard Hsu2017-05-023-32/+95
| | | | | | | | Previous TODO wanting to write in chunks. We should support writing more at once since some TELNET servers may respond immediately upon first byte written such as WHOIS servers. Closes #1389
* curl: non-boolean command line args reject --no- prefixesDaniel Stenberg2017-05-023-221/+230
| | | | | | | | ... and instead properly respond with an error message to the user instead of silently ignoring. Fixes #1453 Closes #1458
* testpart: remove _MPRINTF_REPLACEMarcel Raad2017-05-021-2/+1
| | | | | Support for _MPRINTF_REPLACE in mprintf.h was removed in 55452ebdff47f98bf3cc383f1dfc3623fcaefefd, replaced with curl_printf.h.
* gtls: fixed a lingering BUFSIZE referenceDan Fandrich2017-05-022-4/+5
|
* ssh: fix compiler warning from e40e9d7f0deDaniel Stenberg2017-05-021-1/+1
|
* url: let CURLOPT_BUFFERSIZE realloc to smaller sizes tooDaniel Stenberg2017-05-021-2/+2
| | | | Closes #1449
* BUFSIZE: rename to READBUFFER_*, make separate MASTERBUF_SIZEDaniel Stenberg2017-05-013-18/+18
|
* openssl: use local stack for temp storageDaniel Stenberg2017-05-011-8/+8
|
* sendf: remove use of BUFSIZE from debug data conversionsDaniel Stenberg2017-05-011-25/+26
| | | | The buffer can have other sizes.
* buffer: use data->set.buffer_size instead of BUFSIZEDaniel Stenberg2017-05-018-27/+26
| | | | ... to properly use the dynamically set buffer size!
* krb5: use private buffer for temp string, not receive bufferDaniel Stenberg2017-05-011-5/+9
|
* upload: UPLOAD_BUFSIZE is now for the upload bufferDaniel Stenberg2017-05-014-4/+8
|
* unit1606: do not print/access bufferDaniel Stenberg2017-05-011-1/+0
| | | | It was a wrong assumption that it could do that!
* http-proxy: use a dedicated CONNECT response bufferDaniel Stenberg2017-05-013-15/+42
| | | | | To make it suitably independent of the receive buffer and its flexible size.
* transfer: fix minor buffer_size mistakeDaniel Stenberg2017-05-011-2/+1
|
* failf: use private buffer, don't clobber receive bufferDaniel Stenberg2017-05-011-8/+7
|