summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* cmdline-opts/proxytunnel.d: the option tunnnels all protocolsbagder/proxytunnel-docsDaniel Stenberg2019-03-081-5/+4
| | | | Clarify the language and simplify.
* KNOWN_BUGS: Client cert (MTLS) issues with SchannelDaniel Stenberg2019-03-071-0/+5
| | | | Closes #3145
* ROADMAP: updated to some more current things to work onDaniel Stenberg2019-03-071-14/+44
|
* tests: fix multiple may be used uninitialized warningsDaniel Stenberg2019-03-056-12/+14
|
* RELEASE-NOTES: syncedDaniel Stenberg2019-03-051-1/+16
|
* source: fix two 'nread' may be used uninitialized warningsDaniel Stenberg2019-03-052-4/+4
| | | | | | Both seem to be false positives but we don't like warnings. Closes #3646
* gopher: remove check for path == NULLDaniel Stenberg2019-03-051-1/+4
| | | | | | | | | | | Since it can't be NULL and it makes Coverity believe we lack proper NULL checks. Verified by test 659, landed in commit 15401fa886b. Pointed out by Coverity CID 1442746. Assisted-by: Dan Fandrich Fixes #3617 Closes #3642
* examples: only include <curl/curl.h>Daniel Stenberg2019-03-052-3/+2
| | | | | | | That's the only public curl header we should encourage use of. Reviewed-by: Marcel Raad Closes #3645
* ssh: loop the state machine if not done and not blockingDaniel Stenberg2019-03-051-4/+7
| | | | | | | | | | | | | | If the state machine isn't complete, didn't fail and it didn't return due to blocking it can just as well loop again. This addresses the problem with SFTP directory listings where we would otherwise return back to the parent and as the multi state machine doesn't have any code for using CURLM_CALL_MULTI_PERFORM for as long the doing phase isn't complete, it would return out when in reality there was more data to deal with. Fixes #3506 Closes #3644
* multi: support verbose conncache closure handleJay Satiro2019-03-052-0/+6
| | | | | | | | | | | | | | | | | - Change closure handle to receive verbose setting from the easy handle most recently added via curl_multi_add_handle. The closure handle is a special easy handle used for closing cached connections. It receives limited settings from the easy handle most recently added to the multi handle. Prior to this change that did not include verbose which was a problem because on connection shutdown verbose mode was not acknowledged. Ref: https://github.com/curl/curl/pull/3598 Co-authored-by: Daniel Stenberg Closes https://github.com/curl/curl/pull/3618
* CURLU: fix NULL dereference when used over proxyDaniel Stenberg2019-03-046-4/+140
| | | | | | | | Test 659 verifies Also fixed the test 658 name Closes #3641
* altsvc_out: check the return code from Curl_gmtimeDaniel Stenberg2019-03-031-1/+3
| | | | | | Pointed out by Coverity, CID 1442956. Closes #3640
* docs/ALTSVC.md: docs describing the approachDaniel Stenberg2019-03-032-0/+60
| | | | Closes #3498
* alt-svc: add a travis buildDaniel Stenberg2019-03-031-1/+5
|
* alt-svc: add test 355 and 356 to verify with command line curlDaniel Stenberg2019-03-034-2/+135
|
* alt-svc: the curl command line bitsDaniel Stenberg2019-03-037-9/+44
|
* alt-svc: the libcurl bitsDaniel Stenberg2019-03-0325-32/+1180
|
* travis: add build using gnutlsDaniel Stenberg2019-03-021-0/+5
| | | | Closes #3637
* RELEASE-NOTES: syncedDaniel Stenberg2019-03-021-8/+54
|
* scripts/completion.pl: also generate fish completion fileSimon Legner2019-03-026-99/+179
| | | | | | This is the renamed script formerly known as zsh.pl Closes #3545
* gnutls: remove call to deprecated gnutls_compression_get_nameDaniel Stenberg2019-03-021-6/+1
| | | | | | | | | | It has been deprecated by GnuTLS since a year ago and now causes build warnings. Ref: https://gitlab.com/gnutls/gnutls/commit/b0041897d2846737f5fb0f Docs: https://www.gnutls.org/manual/html_node/Compatibility-API.html Closes #3636
* system_win32: move win32_init here from easy.cJay Satiro2019-03-023-90/+90
| | | | | | | | | | .. since system_win32 is a more appropriate location for the functions and to extern the globals. Ref: https://github.com/curl/curl/commit/ca597ad#r32446578 Reported-by: Gisle Vanem Closes https://github.com/curl/curl/pull/3625
* curl_easy_duphandle.3: clarify that a duped handle has no sharesDaniel Stenberg2019-03-011-4/+6
| | | | | | | Reported-by: Sara Golemon Fixes #3592 Closes #3634
* 10-at-a-time.c: fix too long lineDaniel Stenberg2019-03-011-1/+1
|
* examples: various fixes in ephiperfifo.cArnaud Rebillout2019-03-011-9/+12
| | | | | | | | | | | | | | | | | | | | The main change here is the timer value that was wrong, it was given in usecs (ms * 1000), while the itimerspec struct wants nsecs (ms * 1000 * 1000). This resulted in the callback being invoked WAY TOO OFTEN. As a quick check you can run this command before and after applying this commit: # shell 1 ./ephiperfifo 2>&1 | tee ephiperfifo.log # shell 2 echo http://hacking.elboulangero.com > hiper.fifo Then just compare the size of the logs files. Closes #3633 Fixes #3632 Signed-off-by: Arnaud Rebillout <arnaud.rebillout@collabora.com>
* urldata: simplify bytecountersDaniel Stenberg2019-03-0122-176/+111
| | | | | | | | | | | | | - no need to have them protocol specific - no need to set pointers to them with the Curl_setup_transfer() call - make Curl_setup_transfer() operate on a transfer pointer, not connection - switch some counters from long to the more proper curl_off_t type Closes #3627
* examples/10-at-a-time.c: improve readability and simplifyDaniel Stenberg2019-03-011-72/+25
| | | | | - use better variable names to explain their purposes - convert logic to curl_multi_wait()
* threaded-resolver: shutdown the resolver thread without error messageDaniel Stenberg2019-03-011-30/+38
| | | | | | | | | | | | When a transfer is done, the resolver thread will be brought down. That could accidentally generate an error message in the error buffer even though this is not an error situationand the transfer would still return OK. An application that still reads the error buffer could find a "Could not resolve host: [host name]" message there and get confused. Reported-by: Michael Schmid Fixes #3629 Closes #3630
* docs: update max-redirs.d phrasingԜеѕ2019-03-011-3/+2
| | | | | | clarify redir - "in absurdum" doesn't seem to make sense in this context Closes #3631
* ssh: fix Condition '!status' is always trueDaniel Stenberg2019-03-012-14/+6
| | | | | | | | | in the same sftp_done function in both SSH backends. Simplify them somewhat. Pointed out by Codacy. Closes #3628
* test578: make it read data from the correct testDaniel Stenberg2019-02-281-1/+1
|
* Curl_easy: remove req.maxfd - never used!Daniel Stenberg2019-02-282-3/+0
| | | | | | | Introduced in 8b6314ccfb, but not used anymore in current code. Unclear since when. Closes #3626
* http: set state.infilesize when sending formpostsDaniel Stenberg2019-02-281-1/+1
| | | | | | | | | | | | Without it set, we would unwillingly triger the "HTTP error before end of send, stop sending" condition even if the entire POST body had been sent (since it wouldn't know the expected size) which would unnecessarily log that message and close the connection when it didn't have to. Reported-by: Matt McClure Bug: https://curl.haxx.se/mail/archive-2019-02/0023.html Closes #3624
* INSTALL: refer to the current TLS library names and configure optionsDaniel Stenberg2019-02-281-3/+3
|
* FAQ: minor updates and spelling fixesDaniel Stenberg2019-02-281-15/+16
|
* GOVERNANCE.md: minor spelling fixesDaniel Stenberg2019-02-281-2/+2
|
* Secure Transport: no more "darwinssl"Daniel Stenberg2019-02-2810-125/+134
| | | | | | | | Everyone calls it Secure Transport, now we do too. Reviewed-by: Nick Zitzmann Closes #3619
* AppVeyor: add classic MinGW buildMarcel Raad2019-02-271-0/+11
| | | | | | | | But use the MSYS2 shell rather than the default MSYS shell because of POSIX path conversion issues. Classic MinGW is only available on the Visual Studio 2015 image. Closes https://github.com/curl/curl/pull/3623
* AppVeyor: add MinGW-w64 buildMarcel Raad2019-02-271-1/+30
| | | | | | | | Add a MinGW-w64 build using CMake's MSYS Makefiles generator. Use the Visual Studio 2015 image as it has GCC 8, while the Visual Studio 2017 image only has GCC 7.2. Closes https://github.com/curl/curl/pull/3623
* cookies: only save the cookie file if the engine is enabledDaniel Stenberg2019-02-275-5/+165
| | | | | | | | | | | | | | | | | | | Follow-up to 8eddb8f4259. If the cookieinfo pointer is NULL there really is nothing to save. Without this fix, we got a problem when a handle was using shared object with cookies and is told to "FLUSH" it to file (which worked) and then the share object was removed and when the easy handle was closed just afterwards it has no cookieinfo and no cookies so it decided to save an empty jar (overwriting the file just flushed). Test 1905 now verifies that this works. Assisted-by: Michael Wallner Assisted-by: Marcel Raad Closes #3621
* cacertinmem.c: use multiple certificates for loading CA-chainDaVieS2019-02-271-75/+73
| | | | Closes #3421
* urldata: convert bools to bitfields and move to endDaniel Stenberg2019-02-275-261/+235
| | | | | | | | | | | | This allows the compiler to pack and align the structs better in memory. For a rather feature-complete build on x86_64 Linux, gcc 8.1.2 makes the Curl_easy struct 4.9% smaller. From 6312 bytes to 6000. Removed an unused struct field. No functionality changes. Closes #3610
* curl.h: use __has_declspec_attribute for shared buildsDon J Olmstead2019-02-271-1/+8
| | | | Closes #3616
* curl: display --version features sorted alphabeticallyDaniel Stenberg2019-02-271-3/+23
| | | | Closes #3611
* runtests: detect "schannel" as an alias for "winssl"Daniel Stenberg2019-02-261-15/+3
| | | | | | | | Follow-up to 180501cb02 Reported-by: Marcel Raad Fixes #3609 Closes #3620
* AppVeyor: update to Visual Studio 2017Marcel Raad2019-02-261-4/+4
| | | | | | | Switch all Visual Studio 2015 builds to Visual Studio 2017. It's not a moving target anymore as the last update, Update 9, has been released. Closes https://github.com/curl/curl/pull/3606
* AppVeyor: switch VS 2015 builds to VS 2017 imageMarcel Raad2019-02-261-4/+4
| | | | | | The Visual Studio 2017 image has Visual Studio 2015 and 2017 installed. Closes https://github.com/curl/curl/pull/3606
* AppVeyor: explicitly select worker imageMarcel Raad2019-02-261-6/+12
| | | | | | | Currently, we're using the default Visual Studio 2015 image for everything. Closes https://github.com/curl/curl/pull/3606
* strerror: make the strerror function use local buffersDaniel Stenberg2019-02-2613-108/+142
| | | | | | | | | | | | | | | | Instead of using a fixed 256 byte buffer in the connectdata struct. In my build, this reduces the size of the connectdata struct by 11.8%, from 2160 to 1904 bytes with no functionality or performance loss. This also fixes a bug in schannel's Curl_verify_certificate where it called Curl_sspi_strerror when it should have called Curl_strerror for string from GetLastError. the only effect would have been no text or the wrong text being shown for the error. Co-authored-by: Jay Satiro Closes #3612
* cookies: fix NULL dereference if flushing cookies with no CookieInfo setMichael Wallner2019-02-261-2/+3
| | | | | | Regression brought by a52e46f3900fb0 (shipped in 7.63.0) Closes #3613