summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* docs: Add note about libcurl copying strings to CURLOPT_* manpagesFrank Gevaerts2017-01-1374-0/+222
| | | | Closes #1169
* CURLOPT_PREQUOTE.3: takes a struct curl_slist*, not a char*Frank Gevaerts2017-01-131-1/+2
|
* IDN: Use TR46 non-transitionalDaniel Stenberg2017-01-131-3/+10
| | | | Assisted-by: Tim Rühsen
* IDN: revert use of the transitional optionDaniel Stenberg2017-01-131-6/+2
| | | | | | | It made the german ß get converted to ss, IDNA2003 style, and we can't have that for the .de TLD - a primary reason for our switch to IDNA2008. Test 165 verifies.
* IDN: Fix compile time detection of linidn2 TR46Tim Rühsen2017-01-131-1/+1
| | | | | | Follow-up to f30cbcac1 Closes #1207
* url: --noproxy option overrides NO_PROXY environment variableERAMOTO Masaya2017-01-1310-2/+335
| | | | | | | | | Under condition using http_proxy env var, noproxy list was the combination of --noproxy option and NO_PROXY env var previously. Since this commit, --noproxy option overrides NO_PROXY environment variable even if use http_proxy env var. Closes #1140
* url: Refactor detect_proxy()ERAMOTO Masaya2017-01-131-51/+40
| | | | | | | | | If defined CURL_DISABLE_HTTP, detect_proxy() returned NULL. If not defined CURL_DISABLE_HTTP, detect_proxy() checked noproxy list. Thus refactor to set proxy to NULL instead of calling detect_proxy() if define CURL_DISABLE_HTTP, and refactor to call detect_proxy() if not define CURL_DISABLE_HTTP and the host is not in the noproxy list.
* url: Fix NO_PROXY env var to work properly with --proxy option.ERAMOTO Masaya2017-01-136-3/+219
| | | | | | | | | | | The combination of --noproxy option and http_proxy env var works well both for proxied hosts and non-proxied hosts. However, when combining NO_PROXY env var with --proxy option, non-proxied hosts are not reachable while proxied host is OK. This patch allows us to access non-proxied hosts even if using NO_PROXY env var with --proxy option.
* IDN: Use TR46 'transitional' for toASCII translationsTim Rühsen2017-01-131-1/+6
| | | | | | | References: http://unicode.org/faq/idn.html http://unicode.org/reports/tr46 Closes #1206
* docs: FAQ MAIL-ETIQUETTE language fixesrailsnewbie2572017-01-132-80/+83
| | | | Closes #1194
* gnutls: check for alpn and ocsp in configureMarcus Hoffmann2017-01-132-3/+3
| | | | | | | | | | | Check for presence of gnutls_alpn_* and gnutls_ocsp_* functions during configure instead of relying on the version number. GnuTLS has options to turn these features off and we ca just work with with such builds like we work with older versions. Signed-off-by: Marcus Hoffmann <m.hoffmann@cartelsol.com> Closes #1204
* url: Fix parsing for when 'file' is the default protocolJay Satiro2017-01-125-10/+151
| | | | | | | | | | | | | | | | | | | | | | | | Follow-up to 3463408. Prior to 3463408 file:// hostnames were silently stripped. Prior to this commit it did not work when a schemeless url was used with file as the default protocol. Ref: https://curl.haxx.se/mail/lib-2016-11/0081.html Closes https://github.com/curl/curl/pull/1124 Also fix for drive letters: - Support --proto-default file c:/foo/bar.txt - Support file://c:/foo/bar.txt - Fail when a file:// drive letter is detected and not MSDOS/Windows. Bug: https://github.com/curl/curl/issues/1187 Reported-by: Anatol Belski Assisted-by: Anatol Belski
* rand: make it work without TLS backingDaniel Stenberg2017-01-1215-70/+65
| | | | | | | Regression introduced in commit f682156a4fc6c4 Reported-by: John Kohl Bug: https://curl.haxx.se/mail/lib-2017-01/0055.html
* STARTTLS: Don't print response character in denied messagesJay Satiro2017-01-122-2/+2
| | | | | | | Both IMAP and POP3 response characters are used internally, but when appended to the STARTTLS denial message likely could confuse the user. Closes https://github.com/curl/curl/pull/1203
* smtp: Fix STARTTLS denied error messageJay Satiro2017-01-121-1/+1
| | | | - Format the numeric denial code as an integer instead of a character.
* http2_send: avoid unsigned integer wrap aroundDaniel Stenberg2017-01-111-12/+6
| | | | ... when checking for a too large request.
* cmake: Fix passing _WINSOCKAPI_ macro to compilerJiri Malak2017-01-091-1/+1
| | | | | | | Define _WINSOCKAPI_ blank rather than to 1 in order to match the value used by Microsoft's winsock header files. Closes https://github.com/curl/curl/pull/1195
* sws: retry send() on EWOULDBLOCKDaniel Stenberg2017-01-091-1/+8
| | | | | | | Fixes spurious test 1060 and 1061 failures on OpenBSD, Solaris and more. Bug: https://curl.haxx.se/mail/lib-2017-01/0009.html Reported-by: Christian Weisgerber
* RELEASE-NOTES: synced with a41e8592d6b3e58Daniel Stenberg2017-01-091-2/+34
|
* examples: make the C++ examples follow our code style tooDaniel Stenberg2017-01-082-125/+85
| | | | At least mostly, not counting // comments.
* asiohiper: improved socket handlingAulddays2017-01-081-27/+59
| | | | | | | | | | libcurl requires CURLMOPT_SOCKETFUNCTION to KEEP watching socket events and notify back. Modify event_cb() to continue watching events when fired. Fixes #1191 Closes #1192 Fixed-by: Mingliang Zhu
* lib506: fix build for Open WatcomJiří Malák2017-01-081-6/+6
| | | | | | Rename symbol lock to locks to not clash with OW CRTL function name. Closes #1196
* ROADMAP: 2017 cleanupDaniel Stenberg2017-01-071-33/+9
| | | | Removed items already fixed, clarified a few others.
* COPYING: update the generic copyright year rangeDaniel Stenberg2017-01-071-1/+1
|
* docs/silent: mention --show-error in --silent descriptionDaniel Stenberg2017-01-072-0/+6
| | | | | Reported in #1190 Reported-by: Dan Jacobson
* docs/page-header: mention how to disable the progress meterDaniel Stenberg2017-01-072-7/+9
| | | | | | curl.1 is regenerated Fixes #1190
* wolfssl: display negotiated SSL version and cipherDan Fandrich2017-01-071-0/+6
|
* wolfssl: support setting cipher listDan Fandrich2017-01-063-0/+126
|
* CIPHERS.md: document GSKit ciphersPatrick Monnerat2017-01-061-0/+64
|
* TheArtOfHttpScripting: grammarpeterpih2017-01-051-17/+17
|
* darwinssl: --insecure overrides --cacert if both settings are in useNick Zitzmann2017-01-031-7/+2
| | | | Fixes #1184
* docs/libcurl: TCP_KEEPALIVE start and interval default to 60Jay Satiro2017-01-022-2/+4
| | | | | | | | Since the TCP keep-alive options were added in 705f0f7 the start and interval default values have been 60, but that wasn't documented. Bug: https://curl.haxx.se/mail/lib-2017-01/0000.html Reported-by: Praveen Pvs
* curl.h: CURLE_FUNCTION_NOT_FOUND is no longer in useDaniel Stenberg2016-12-291-1/+1
| | | | | This error code was once introduced when some library was dynamically loaded and a funciton within said library couldn't be found.
* content_encoding: change return code on a failureDaniel Stenberg2016-12-291-1/+1
| | | | | Failure to decompress is now a write error instead of the weird "function not found".
* page-footer: error 36 is protocol agnostic!Daniel Stenberg2016-12-291-1/+1
|
* tool_operate: Fix --remote-time incorrect times on WindowsJay Satiro2016-12-282-7/+54
| | | | | | | | | | | | - Use Windows API SetFileTime to set the file time instead of utime. Avoid utime on Windows if possible because it may apply a daylight saving time offset to our UTC file time. Bug: https://curl.haxx.se/mail/archive-2016-11/0033.html Reported-by: Tim Closes https://github.com/curl/curl/pull/1121
* digest_sspi: copy terminating NUL as wellMax Khon2016-12-291-1/+1
| | | | | | | Curl_auth_decode_digest_http_message(): copy terminating NUL as later Curl_override_sspi_http_realm() expects a NUL-terminated string. Fixes #1180
* curl_formadd.3: CURLFORM_CONTENTSLENGTH not needed when chunkedDaniel Stenberg2016-12-281-2/+2
| | | | Mentioned in #1013
* cmake: use crypt32.lib when building with OpenSSL on windowsKyselgov E.N2016-12-271-0/+2
| | | | | | Reviewed-by: Peter Wu Closes #1149 Fixes #1147
* darwinssl: fix CFArrayRef leakChris Araman2016-12-271-6/+10
| | | | | Reviewed-by: Nick Zitzmann Closes #1173
* darwinssl: fix iOS buildChris Araman2016-12-271-0/+4
| | | | | Reviewed-by: Nick Zitzmann Fixes #1172
* curl: remove superfluous include fileDaniel Stenberg2016-12-271-4/+0
| | | | | | | | | The <netinet/tcp.h> is a leftover from the past when TCP socket options were set in this file. This include causes build issues on AIX 4.3. Reported-by: Kim Minjoong Closes #1178
* RELEASE-NOTES: synced with a7b38c9dc98481eDaniel Stenberg2016-12-261-3/+15
|
* vtls: s/SSLEAY/OPENSSLDaniel Stenberg2016-12-261-2/+2
| | | | | | | | Fixed an old leftover use of the USE_SSLEAY define which would make a socket get removed from the applications sockets to monitor when the multi_socket API was used, leading to timeouts. Bug: #1174
* docs/ciphers: link to our own new page about ciphersDaniel Stenberg2016-12-253-18/+4
| | | | ... as the former ones always go stale!
* cmdline-opts/page-footer: add three more exit codesDaniel Stenberg2016-12-252-0/+22
| | | | ... and regenerated curl.1
* formdata: use NULL, not 0, when returning pointersDaniel Stenberg2016-12-251-1/+1
|
* ftp: failure to resolve proxy should return that error codeDaniel Stenberg2016-12-251-1/+1
|
* configure: accept --with-libidn2 insteadDaniel Stenberg2016-12-251-1/+1
| | | | | | | | ... which the help text already implied since we switched to libidn2 from libidn in commit 9c91ec778104ae3b back in October 2016. Reported-by: Christian Weisgerber Bug: https://curl.haxx.se/mail/lib-2016-12/0110.html
* test1282: verify the ftp-gss checkDaniel Stenberg2016-12-242-1/+46
|