summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* setopt: less *or equal* than INT_MAX/1000 should be finebagder/setopt-int_max-div1000Daniel Stenberg2017-12-111-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
* RELEASE-NOTES: synced with 3b9ea70eeDaniel Stenberg2017-12-111-5/+37
|
* TODO: Expose tried IP addresses that failedDaniel Stenberg2017-12-111-0/+8
| | | | | | Suggested-by: Rainer Canavan Closes #2126
* curl.1: mention http:// and https:// as valid proxy prefixesDaniel Stenberg2017-12-111-0/+4
|
* curl.1: documented two missing valid exit codesDaniel Stenberg2017-12-111-0/+4
|
* CURLOPT_DNS_LOCAL_IP4.3: fixed the seel also to not self-referenceDaniel Stenberg2017-12-111-1/+1
|
* Revert "curl: don't set CURLOPT_INTERLEAVEDATA"Daniel Stenberg2017-12-1110-1/+10
| | | | | | | | | This reverts commit 9ffad8eb1329bb35c8988115ac7ed85cf91ef955. It was actually added rather recently in 8e8afa82cbb629 due to a crash that would otherwise happen in the RTSP code. As I don't think we've fixed that behavior yet, we better keep this work-around until we have fixed it better.
* tests: mark data files as non-executable in gitMichael Kaufmann2017-12-105-0/+0
|
* tests: update .gitignore for libtestsMichael Kaufmann2017-12-101-1/+1
|
* multi_done: prune DNS cacheDaniel Stenberg2017-12-102-47/+54
| | | | | | | | | | | | | Prune the DNS cache immediately after the dns entry is unlocked in multi_done. Timed out entries will then get discarded in a more orderly fashion. Test506 is updated Reported-by: Oleg Pudeyev Fixes #2169 Closes #2170
* mailmap: fixup two old git Author "aliases"Daniel Stenberg2017-12-101-0/+2
|
* openssl: Disable file buffering for Win32 SSLKEYLOGFILEJay Satiro2017-12-101-0/+4
| | | | | | | | | | | | Prior to this change SSLKEYLOGFILE used line buffering on WIN32 just like it does for other platforms. However, the Windows CRT does not actually support line buffering (_IOLBF) and will use full buffering (_IOFBF) instead. We can't use full buffering because multiple processes may be writing to the file and that could lead to corruption, and since full buffering is the only buffering available this commit disables buffering for Windows SSLKEYLOGFILE entirely (_IONBF). Ref: https://github.com/curl/curl/pull/1346#issuecomment-350530901
* RESOLVE: output verbose text when trying to set a duplicate nameDaniel Stenberg2017-12-101-1/+4
| | | | ... to help users understand what is or isn't done!
* CURLOPT_DNS_CACHE_TIMEOUT.3: see also CURLOPT_RESOLVEDaniel Stenberg2017-12-091-0/+1
|
* sftp: allow quoted commands to use relative pathsJohn DeHelian2017-12-094-19/+34
| | | | Closes #1900
* CURLOPT_PRIVATE.3: fix grammarrichardthe3rd2017-12-081-1/+1
| | | | | | - Change "never does nothing" double-negative to "never does anything". Closes https://github.com/curl/curl/pull/2168
* curl: remove __EMX__ #ifdefsDaniel Stenberg2017-12-082-36/+2
| | | | | | | | These are OS/2-specific things added to the code in the year 2000. They were always ugly. If there's any user left, they still don't need it done this way. Closes #2166
* openssl: improve data-pending check for https proxyJay Satiro2017-12-081-6/+7
| | | | | | | | | | | | | | | | | | - Allow proxy_ssl to be checked for pending data even when connssl does not yet have an SSL handle. This change is for posterity. Currently there doesn't seem to be a code path that will cause a pending data check when proxyssl could have pending data and the connssl handle doesn't yet exist [1]. [1]: Recall that an https proxy connection starts out in connssl but if the destination is also https then the proxy SSL backend data is moved from connssl to proxyssl, which means connssl handle is temporarily empty until an SSL handle for the destination can be created. Ref: https://github.com/curl/curl/commit/f4a6238#commitcomment-24396542 Closes https://github.com/curl/curl/pull/1916
* curl: don't set CURLOPT_INTERLEAVEDATADaniel Stenberg2017-12-0810-10/+1
| | | | | | | | | That data is only ever used by the CURLOPT_INTERLEAVEFUNCTION callback and that option isn't set or used by the curl tool! Updates the 9 tests that verify --libcurl Closes #2167
* curl.h: remove incorrect comment about ERRORBUFFERDaniel Stenberg2017-12-081-1/+1
| | | | ... error messages are _not_ sent to stderr if this is not set.
* configure: add AX_CODE_COVERAGE only if using gccMichael Felt2017-12-081-1/+7
| | | | | Fixes #2076 Closes #2125
* curl: limit -# update frequency for unknown total sizeDaniel Stenberg2017-12-071-8/+25
| | | | | | | | | | Make it use a max 10Hz update frequency for this case as well. Return early if the "point" hasn't moved since last invoke. Reported-by: Elliot Saba Fixes #2158 Closes #2163
* BINDINGS: another PostgreSQL clientDaniel Stenberg2017-12-071-1/+1
| | | | | | ...the former link is dead. Reported-by: Frank Gevaerts
* CONNECT: keep close connection flag in http_connect_state structZachary Seguin2017-12-072-6/+7
| | | | | Fixes #2088 Closes #2157
* include: get netinet/in.h before linux/tcp.hPer Malmberg2017-12-072-0/+8
| | | | | | | ... to allow build on older Linux dists (specifically CentOS 4.8 on gcc 4.8.5) Closes #2160
* openldap: fix checksrc nitsDaniel Stenberg2017-12-061-5/+5
|
* openldap: add commented out debug possibilitiesStepan Broz2017-12-061-0/+28
| | | | | | ... to aid debugging openldap library using its built-in debug messages. Closes #2159
* examples: move threaded-shared-conn.c to the "complicated" onesDaniel Stenberg2017-12-061-6/+7
| | | | ... due it relying on pthreads to link.
* RELEASE-NOTES: synced with b261c44e8Daniel Stenberg2017-12-062-8/+31
| | | | ... and bump next release version to 7.58.0
* URL: tolerate backslash after drive letter for FILE:Jan-E2017-12-061-1/+1
| | | | | | | ... as in "file://c:\some\path\curl.out" Reviewed-by: Matthew Kerwin Closes #2154
* tests: added netinet/in6.h includes in test serversRandall S. Becker2017-12-063-0/+9
|
* configure: check for netinet/in6.hRandall S. Becker2017-12-065-0/+19
| | | | | | | Needed by HPE NonStop NSE and NSX systems Fixes #2146 Closes #2155
* curl-config: add --ssl-backendsDaniel Stenberg2017-12-063-2/+13
| | | | | | | Lists all SSL backends that were enabled at build-time. Suggested-by: Oleg Pudeyev Fixes #2128
* conncache: only allow multiplexing within same multi handleDaniel Stenberg2017-12-052-2/+14
| | | | | | | | | Connections that are used for HTTP/1.1 Pipelining or HTTP/2 multiplexing only get additional transfers added to them if the existing connection is held by the same multi or easy handle. libcurl does not support doing HTTP/2 streams in different threads using a shared connection. Closes #2152
* threaded-shared-conn.c: fixed typo in commentaDaniel Stenberg2017-12-051-1/+1
|
* threaded-shared-conn.c: new exampleDaniel Stenberg2017-12-052-1/+157
|
* conncache: fix several lock issuesDaniel Stenberg2017-12-056-183/+315
| | | | | | | | | If the lock is released before the dealings with the bundle is over, it may have changed by another thread in the mean time. Fixes #2132 Fixes #2151 Closes #2139
* libssh: remove dead code in sftp_qouteDaniel Stenberg2017-12-051-113/+107
| | | | | | | | ... by removing a superfluous NULL pointer check that also confuses Coverity. Fixes #2143 Closes #2153
* sasl_getmesssage: make sure we have a long enough string to passDaniel Stenberg2017-12-057-42/+112
| | | | | | | | | | For pop3/imap/smtp, added test 891 to somewhat verify the pop3 case. For this, I enhanced the pingpong test server to be able to send back responses with LF-only instead of always using CRLF. Closes #2150
* libssh2: remove dead code from SSH_SFTP_QUOTEDaniel Stenberg2017-12-041-4/+4
| | | | | | | | | | | Figured out while reviewing code in the libssh backend. The pointer was checked for NULL after having been dereferenced, so we know it would always equal true or it would've crashed. Pointed-out-by: Nikos Mavrogiannopoulos Bug #2143 Closes #2148
* ssh-libssh.c: please checksrcDaniel Stenberg2017-12-041-1/+1
|
* libssh: fixed dereference in statvfs accessNikos Mavrogiannopoulos2017-12-041-1/+1
| | | | | | | The behavior is now equivalent to ssh.c when SSH_SFTP_QUOTE_STATVFS handling fails. Fixes #2142
* RESOURCES: update spec namesGuitared2017-12-041-9/+9
| | | | Closes #2145
* libssh: corrected use of sftp_statvfs() in SSH_SFTP_QUOTE_STATVFSNikos Mavrogiannopoulos2017-12-031-3/+1
| | | | | | | | | The previous code was incorrectly following the libssh2 error detection for libssh2_sftp_statvfs, which is not correct for libssh's sftp_statvfs. Fixes #2142 Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
* libssh: no need to call sftp_get_error as ssh_get_error is sufficientNikos Mavrogiannopoulos2017-12-031-9/+2
| | | | | | Fixes #2141 Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
* libssh: fix minor static code analyzer nitsDaniel Stenberg2017-12-021-7/+10
| | | | | | | | | - remove superfluous NULL check which otherwise tricks the static code analyzers to assume NULL pointer dereferences. - fix fallthrough in switch() - indent mistake
* openssl: pkcs12 is supported by boringsslDaniel Stenberg2017-12-021-10/+0
| | | | | | | | Removes another #ifdef for BoringSSL Pointed-out-by: David Benjamin Closes #2134
* travis: use pip2 instead of pipJay Satiro2017-12-021-1/+1
| | | | | | | | | | | .. since now mac osx image expects pip2 or pip3, and doesn't know pip: 0.01s$ pip install --user cpp-coveralls /Users/travis/.travis/job_stages: line 57: pip: command not found Ref: https://github.com/travis-ci/travis-ci/issues/8829 Closes https://github.com/curl/curl/pull/2133
* lib582: do not verify host for SFTPNikos Mavrogiannopoulos2017-12-011-0/+1
| | | | | | | | | | | This SFTP test fails with libssh back-end due to failure to verify the peer. Disable peer verification in the test as there seems to be the intention of the test. Note that the libssh back-end automatically verifies the peer's host using the default known_hosts file. Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
* libssh: added SFTP supportNikos Mavrogiannopoulos2017-12-015-19/+1548
| | | | | | | | | | The SFTP back-end supports asynchronous reading only, limited to 32-bit file length. Writing is synchronous with no other limitations. This also brings keyboard-interactive authentication. Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>