summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Makefile.vc: Added our standard copyright headerSteve Holme2017-12-221-0/+22
|
* winbuild: Added support for VC15Steve Holme2017-12-223-4/+4
|
* build: Added Visual Studio 2017 project filesSteve Holme2017-12-2213-7/+5866
|
* build-wolfssl.bat: Added support for VC15Steve Holme2017-12-221-3/+16
|
* build-openssl.bat: Added support for VC15Steve Holme2017-12-221-3/+13
|
* curl/system.h: fix compilation with gcc on AIX PPC and IA64 HP-UXDimitrios Apostolou2017-12-221-1/+2
| | | | Closes https://github.com/curl/curl/pull/2186
* examples/rtsp: fix error handling macrosMattias Fornander2017-12-221-2/+2
| | | | Closes https://github.com/curl/curl/pull/2185
* curl_easy_reset: release mime-related data.Patrick Monnerat2017-12-205-9/+78
| | | | | | | | | | | Move curl_mime_initpart() and curl_mime_cleanpart() calls to lower-level functions dealing with UserDefined structure contents. This avoids memory leakages on curl-generated part mime headers. New test 2073 checks this using the cli tool --next option: it triggers a valgrind error if bug is present. Bug: https://curl.haxx.se/mail/lib-2017-12/0060.html Reported-by: Martin Galvan
* content_encoding: rework zlib_inflatePatrick Monnerat2017-12-203-54/+305
| | | | | | | | | | | | - When zlib version is < 1.2.0.4, process gzip trailer before considering extra data as an error. - Inflate with Z_BLOCK instead of Z_SYNC_FLUSH to maximize correct data and minimize corrupt data output. - Do not try to restart deflate decompression in raw mode if output has started or if the leading data is not available anymore. - New test 232 checks inflating raw-deflated content. Closes #2068
* brotli: allow compiling with version 0.6.0.Patrick Monnerat2017-12-201-0/+4
| | | | | Some error codes were not yet defined in brotli 0.6.0: do not issue code for them in this case.
* CURLOPT_READFUNCTION.3: refer to argument with correct nameDaniel Stenberg2017-12-131-2/+2
| | | | | | Bug: #2175 [ci skip]
* rand: add a clang-analyzer work-aroundDaniel Stenberg2017-12-131-0/+6
| | | | | | scan-build would warn on a potential access of an uninitialized buffer. I deem it a false positive and had to add this somewhat ugly work-around to silence it.
* krb5: fix a potential access of uninitialized memoryDaniel Stenberg2017-12-131-1/+2
| | | | A scan-build warning.
* conncache: fix a return code [regression]Daniel Stenberg2017-12-121-1/+1
| | | | | This broke in 07cb27c98e. Make sure to return 'result' properly. Pointed out by scan-build!
* curl: support >256 bytes warning messsagesDaniel Stenberg2017-12-121-2/+6
| | | | Bug: #2174
* libssh: fix a syntax error in configure.acMichael Kaufmann2017-12-121-1/+1
| | | | | | Follow-up to c92d2e1 Closes #2172
* examples/smtp-mail.c: use separate defines for options and mailDaniel Stenberg2017-12-121-16/+20
| | | | | | | ... to make it clearer that the options want address-only, while the headers in an email can also have the real name. Assisted-by: Sean MacLennan
* THANKS: added missing namesDaniel Stenberg2017-12-122-0/+15
| | | | ... as I reran the contrithanks script after the mailmap name fixups.
* mailmap: added/clarified several namesDaniel Stenberg2017-12-122-1/+10
|
* 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
* vtls: replaced getenv() with curl_getenv()dmitrykos2017-12-121-1/+4
| | | | | | | | | Fixed undefined symbol of getenv() which does not exist when compiling for Windows 10 App (CURL_WINDOWS_APP). Replaced getenv() with curl_getenv() which is aware of getenv() absence when CURL_WINDOWS_APP is defined. Closes #2171
* 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