summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* curl: remove tool_writeenv.[ch]bagder/remove-writeenvDaniel Stenberg2017-05-0310-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.
* 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
|
* pingpong: use the set buffer sizeDaniel Stenberg2017-05-011-6/+9
|
* http2: use the correct set buffer sizeDaniel Stenberg2017-05-011-1/+1
|
* http: don't clobber the receive buffer for timecondDaniel Stenberg2017-05-011-19/+21
|
* buffer_size: make sure it always has the correct sizeDaniel Stenberg2017-05-015-4/+4
| | | | Removes the need for CURL_BUFSIZE
* file: use private buffer for C-L outputDaniel Stenberg2017-05-011-4/+5
| | | | ... instead of clobbering the download buffer.
* CURLOPT_BUFFERSIZE: 1024 bytes is now the minimum sizeDaniel Stenberg2017-05-012-6/+10
| | | | | | The buffer is needed to receive FTP, HTTP CONNECT responses etc so already at this size things risk breaking and smaller is certainly not wise.
* ftp: use private buffer for temp storage, not receive bufferDaniel Stenberg2017-05-011-10/+12
|
* http: use private user:password output bufferDaniel Stenberg2017-05-011-11/+17
| | | | Don't clobber the receive buffer.
* anyauthput: remove unused codeMarcel Raad2017-05-011-24/+0
| | | | | | | | The definition of TRUE was introduced in 4a728747e6f8845e500910e397dfc99aaf4a7984 and is not used anymore since e664cd5826d43930fcc5b5dbaedbec94af33184b. The usage of intptr_t was removed in 32e38b8f42477cf5ce3c3fef2fcc9db82f7fb7be.
* tool: Fix missing prototype warnings for CURL_DOES_CONVERSIONSJay Satiro2017-05-013-1/+5
| | | | | | | - Include tool_convert.h where needed. Bug: https://github.com/curl/curl/issues/1460 Reported-by: Gisle Vanem
* curl_setup: Ensure no more than one IDN lib is enabledJay Satiro2017-05-011-1/+5
| | | | | | | | | | Prior to this change it was possible for libcurl to be built with both Windows' native IDN lib (normaliz) and libidn2 enabled. It appears that doesn't offer any benefit --and could cause a bug-- since libcurl's IDN handling is written to use either one but not both. Bug: https://github.com/curl/curl/issues/1441#issuecomment-297689856 Reported-by: Gisle Vanem
* getpart: use correct variable typeMarcel Raad2017-05-011-2/+2
| | | | | | This fixes the following clang warning: getpart.c:201:17: warning: cast from function call of type 'CURLcode' to non-matching type 'int' [-Wbad-function-cast]
* tests: declare TU-local variables staticMarcel Raad2017-05-017-19/+19
| | | | | This fixes missing-variable-declarations warnings when building with clang.
* tool_cb_prg: fix double-promotion warningMarcel Raad2017-05-011-1/+1
| | | | | | | | | clang complains: tool_cb_prg.c:86:22: error: implicit conversion increases floating-point precision: 'float' to 'double' [-Werror,-Wdouble-promotion] Fix this by using a double instead of a float constant.
* examples: fixed too long line and too long string warningsDan Fandrich2017-05-011-3/+3
|
* examples: declare TU-local variables staticMarcel Raad2017-04-305-8/+8
| | | | | This fixes missing-variable-declarations warnings when building with clang.
* http2: declare TU-local variables staticMarcel Raad2017-04-301-2/+2
| | | | | | | | | | This fixes the following clang warnings: http2.c:184:27: error: no previous extern declaration for non-static variable 'Curl_handler_http2' [-Werror,-Wmissing-variable-declarations] http2.c:204:27: error: no previous extern declaration for non-static variable 'Curl_handler_http2_ssl' [-Werror,-Wmissing-variable-declarations]
* unit1604: fixed indentationDan Fandrich2017-04-301-12/+12
|
* unit1604: fixed compilation under Windows, broken in the previous commitDan Fandrich2017-04-301-14/+19
|
* tests: fixed OOM handling of unit tests to abort testDan Fandrich2017-04-304-4/+6
| | | | It's dangerous to continue to run the test when a memory alloc fails.
* curl_rtmp: fix missing-variable-declarations warningsMarcel Raad2017-04-291-0/+1
| | | | | | | | | | | | | clang complains: curl_rtmp.c:61:27: error: no previous extern declaration for non-static variable 'Curl_handler_rtmp' [-Werror,-Wmissing-variable-declarations] curl_rtmp.c:81:27: error: no previous extern declaration for non-static variable 'Curl_handler_rtmpt' [-Werror,-Wmissing-variable-declarations] curl_rtmp.c:101:27: error: no previous extern declaration for non-static variable 'Curl_handler_rtmpe' [-Werror,-Wmissing-variable-declarations] curl_rtmp.c:121:27: error: no previous extern declaration for non-static variable 'Curl_handler_rtmpte' [-Werror,-Wmissing-variable-declarations] curl_rtmp.c:141:27: error: no previous extern declaration for non-static variable 'Curl_handler_rtmps' [-Werror,-Wmissing-variable-declarations] curl_rtmp.c:161:27: error: no previous extern declaration for non-static variable 'Curl_handler_rtmpts' [-Werror,-Wmissing-variable-declarations] Fix this by including the header file.
* url: fixed a memory leak on OOM while setting CURLOPT_BUFFERSIZEDan Fandrich2017-04-291-3/+4
|
* tests: added --remote-time tests for remaining protocols that support itDan Fandrich2017-04-295-0/+134
|
* runtests.pl: support multiline <postcheck> commandsDan Fandrich2017-04-291-1/+1
|
* tool_operate: use utimes instead of obsolescent utime when availableDan Fandrich2017-04-272-1/+13
|
* test1443: test --remote-timeDan Fandrich2017-04-272-1/+69
|
* http-proxy: removed unused argument in CURL_DISABLE_PROXY caseDan Fandrich2017-04-271-1/+1
| | | | Missed in commit 55c3c02e
* cookie_interface.c: changed the other domain to example.com tooDaniel Stenberg2017-04-271-1/+1
|
* cookie_interface.c: fix cookie domain so the example worksDaniel Stenberg2017-04-271-3/+3
|
* Makefile: fix make distDan Fandrich2017-04-261-3/+6
| | | | | | Commit 80a87e8a broke 'make dist' as it can't handle installing from absolute target names. Rearranged the dependencies so the absolute name is used for building but the relative name is use for distributing.
* lib: remove unused codeMarcel Raad2017-04-265-12/+5
| | | | | | | | This fixes the following clang warnings: macro is not used [-Wunused-macros] will never be executed [-Wunreachable-code] Closes https://github.com/curl/curl/pull/1448