summaryrefslogtreecommitdiff
path: root/lib/setopt.c
Commit message (Collapse)AuthorAgeFilesLines
...
* TODO fixed: Detect when called from within callbacksBjörn Stenberg2018-02-151-0/+4
| | | | Closes #2302
* time: support > year 2038 time stamps for system with 32bit longDaniel Stenberg2018-01-301-0/+8
| | | | | | | | ... with the introduction of CURLOPT_TIMEVALUE_LARGE and CURLINFO_FILETIME_T. Fixes #2238 Closes #2264
* http: prevent custom Authorization headers in redirectsDaniel Stenberg2018-01-221-1/+1
| | | | | | | | | | | | ... unless CURLOPT_UNRESTRICTED_AUTH is set to allow them. This matches how curl already handles Authorization headers created internally. Note: this changes behavior slightly, for the sake of reducing mistakes. Added test 317 and 318 to verify. Reported-by: Craig de Stigter Bug: https://curl.haxx.se/docs/adv_2018-b3bf.html
* setopt: fix SSLVERSION to allow CURL_SSLVERSION_MAX_ valuesJay Satiro2018-01-131-20/+22
| | | | | | | | | Broken since f121575 (precedes 7.56.1). Bug: https://github.com/curl/curl/issues/2225 Reported-by: cmfrolick@users.noreply.github.com Closes https://github.com/curl/curl/pull/2227
* setopt: reintroduce non-static Curl_vsetopt() for OS400 supportPatrick Monnerat2018-01-131-5/+4
| | | | | | | | This also upgrades ILE/RPG bindings with latest setopt options. Reported-By: jonrumsey on github Fixes #2230 Closes #2233
* build: remove HAVE_LIMITS_H checkJay Satiro2018-01-051-2/+0
| | | | | | | | .. because limits.h presence isn't optional, it's required by C89. Ref: http://port70.net/~nsz/c/c89/c89-draft.html#2.2.4.2 Closes https://github.com/curl/curl/pull/2215
* setopt: less *or equal* than INT_MAX/1000 should be fineDaniel Stenberg2017-12-121-3/+3
| | | | | | | | | | ... for the CURLOPT_TIMEOUT, CURLOPT_CONNECTTIMEOUT and CURLOPT_SERVER_RESPONSE_TIMEOUT range checks. Reported-by: Dominik Hölzl Bug: https://curl.haxx.se/mail/lib-2017-12/0037.html Closes #2173
* include: get netinet/in.h before linux/tcp.hPer Malmberg2017-12-071-0/+4
| | | | | | | ... to allow build on older Linux dists (specifically CentOS 4.8 on gcc 4.8.5) Closes #2160
* Added support for libssh SSH SCP back-endNikos Mavrogiannopoulos2017-12-011-2/+1
| | | | | | | | | | libssh is an alternative library to libssh2. https://www.libssh.org/ That patch set also introduces support for ECDSA ed25519 keys, as well as gssapi authentication. Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
* connect: add support for new TCP Fast Open API on LinuxAlessandro Ghedini2017-11-241-1/+6
| | | | | | | | | | | The new API added in Linux 4.11 only requires setting a socket option before connecting, without the whole sento() machinery. Notably, this makes it possible to use TFO with SSL connections on Linux as well, without the need to mess around with OpenSSL (or whatever other SSL library) internals. Closes #2056
* setopt: split out curl_easy_setopt() to its own fileDaniel Stenberg2017-11-101-0/+2549
... to make url.c smaller. Closes #1944