aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-03-13GSS: handle reuse fixMarcus Sundberg
Make GSS authentication work when a curl handle is reused for multiple authenticated requests, by always setting negdata->state in output_auth_headers(). Signed-off-by: Marcus Sundberg <marcus.sundberg@aptilo.com>
2011-03-13test583: verify early SSH multi remove handleDaniel Stenberg
This test case is meant to verify that the logic in commit 60172a0446bbe3f8b actually works. This test failed for me before that change and it works after it.
2011-03-13SFTP: gracefully handle shutdown earlyDaniel Stenberg
When using the multi interface and a handle using SFTP was removed very early on, we would get a segfault due to the code assumed data was there that hadn't yet been setup. Bug: http://curl.haxx.se/mail/lib-2011-03/0066.html Reported by: Saqib Ali
2011-03-12CURL_CHECK_FUNC_RECVFROM: android/bionic fixManuel Massing
recvfrom in bionic (the android libc) deviates from POSIX and uses a const in the 5th argument ("const struct sockaddr *") so the check now tests for that as well.
2011-03-12test582: enabledDaniel Stenberg
2011-03-12PROT_CLOSEACTION: added SFTP and SCPDaniel Stenberg
Both SFTP and SCP are protocols that need to shut down stuff properly when the connection is about to get torned down. The primary effect of not doing this shows up as memory leaks (when using SCP or SFTP with the multi interface). This is one of the problems detected by test 582.
2011-03-12readwrite_upload: stop upload at file sizeDaniel Stenberg
As we know how much to send, we can and should stop once we've sent that much data as it avoids having to rely on other mechanisms to detect the end. This is one of the problems detected by test 582. Reported by: Henry Ludemann <misc@hl.id.au>
2011-03-12sftp upload: expire to advance state machineDaniel Stenberg
When using the multi_socket API to do SFTP upload, it is important that we set a quick expire when leaving the SSH_SFTP_UPLOAD_INIT state as there's nothing happening on the socket so there's no read or write to wait for, but the next libssh2 API function needs to be called to get the ball rolling. This is one of the problems detected by test 582. Reported by: Henry Ludemann <misc@hl.id.au>
2011-03-12test582: improved info messagesDaniel Stenberg
2011-03-12source header: added to more filesDaniel Stenberg
2011-03-10sources: update source headersDaniel Stenberg
All C and H files now (should) feature the proper project curl source code header, which includes basic info, a copyright statement and some basic disclaimers.
2011-03-10TODO-RELEASE: add 10 pending issuesDaniel Stenberg
2011-03-10TODO-RELEASE: fix the IPv6-working probingDaniel Stenberg
2011-03-09tests: phase out haxx.seDaniel Stenberg
Instead of using haxx.se as a fixed magic host name in lots of tests, this is a first step to move toward the generic example.com host instead.
2011-03-09test523: avoid using haxx.seDaniel Stenberg
... since search engines find what they think is a URL in this, they hammer www.haxx.se on this port!
2011-03-09configure: update the copyright year in the outputDaniel Stenberg
2011-03-09Force setopt constants written by --libcurl to be longDan Fandrich
2011-03-08cyassl: fix compiler warningsDaniel Stenberg
2011-03-08SSL: (part 2) Added CyaSSL to SSL abstraction layerTodd A Ouska
This is the modified existing files commit.
2011-03-08SSL: Added CyaSSL to SSL abstraction layerTodd A Ouska
CyaSSL (available from git@github.com:cyassl/cyassl.git) has been added to the SSL abstraction layer. To test: 1) git CyaSSL sources 2) autoreconf -i 3) ./configure --disable-static 4) make 5) sudo make install 6) autoreconf -i 7) git curl sources (and this patch) 8) ./configure --disable-shared --with-cyassl --without-ssl --enable-debug 9) make 10) normal testing Please send questions or comments to todd@yassl.com .
2011-03-08curl.1: clarify -EDaniel Stenberg
Stress that it is for client certificates and then mention that it also works for all other SSL-based protocols apart from HTTPS and FTPS. Namely POP3S, IMAPS and SMTPS for now.
2011-03-08FAQ: Protocol xxx not supported or disabled in libcurlDaniel Stenberg
2011-03-08lib582: used for test 582Daniel Stenberg
Accidentally not included in commit 0e74e1d8d83
2011-03-07Fixed libcurl to honour the --disable-ldaps configure optionDan Fandrich
2011-03-08sftp-multi: test 582 addedHenry Ludemann
Add test 582 for uploading a file using sftp and the multi interface. (Patch and test slightly tweaked by Daniel Stenberg) Initially marked as disabled until it is fixed in the source.
2011-03-07FAQ: How to SFTP from my user's home directory?Daniel Stenberg
2011-03-06cpp: correct #endif placementDaniel Stenberg
The end-of-file #endif in rawstr.h was not correcly positioned after all prototypes. Reported by: Boris Bug: http://curl.haxx.se/bug/view.cgi?id=3195205
2011-03-04Moved test 577 into the unit test framework as test 1307Dan Fandrich
2011-03-04Added unit test 1306 so tests 558 & 559 are now fully replacedDan Fandrich
2011-03-04The unit test argument is allowed to be usedDan Fandrich
2011-03-04Converted tests 558 & 559 to use the unit test framework as 1305Dan Fandrich
Test 558 was just a subset of 559 which is something that can be easily added later.
2011-03-04Fixed test 1300 to pass the torture testDan Fandrich
2011-03-04Added abort_* unit test macrosDan Fandrich
These are for when a test failure makes it impossible to continue running further tests.
2011-03-04transfer: avoid insane conversion of time_tStefan Krause
2011-02-26ssh_connect: treat libssh2 return code betterDaniel Stenberg
libssh2_knownhost_readfile() returns a negative value on error or otherwise number of parsed known hosts - this was previously not documented correctly in the libssh2 man page for the function. Bug: http://curl.haxx.se/mail/lib-2011-02/0327.html Reported by: murat
2011-02-25http: removed wrong unused comment.Julien Chaffraix
|premature| is used in Curl_http_done.
2011-02-25http: removed code duplication for stubbed https_getsock function.Julien Chaffraix
2011-02-23RELEASE-NOTES: synced with 2345c1dd661cDaniel Stenberg
2011-02-22runtests.pl/stopserver: space separate pidsDaniel Stenberg
The stopserver function would append pids to kill and could append them without separating them with space properly. The result would be a very large number that by (some implementations of) kill would be interpreted as a negative number and that process group would be wiped... Bug: http://curl.haxx.se/bug/view.cgi?id=3188836 Reported by: Greg Pratt
2011-02-22nss: do not ignore failure of SSL handshakeKamil Dudka
Flaw introduced in fc77790 and present in curl-7.21.4. Bug: https://bugzilla.redhat.com/669702#c16
2011-02-21CURLOPT_SSH_KEYFUNCTION: requires *SSH_KNOWNHOSTSDaniel Stenberg
Extend the docs to clarify that CURLOPT_SSH_KEYFUNCTION is only called if the known hosts option is also correctly set!
2011-02-20curl_easy_setopt.3: Removed wrong reference to CURLOPT_USERPASSWORD.Julien Chaffraix
CURLOPT_HTTPAUTH was mentioning CURLOPT_USERPASSWORD instead of CURLOPT_PASSWORD. Reported by: Mike Henshaw
2011-02-20netrc: Removed _NETRC_DEBUG code.Julien Chaffraix
This is not needed anymore as we have unit testing running on it.
2011-02-20tests: Cleaned up netrc testing.Julien Chaffraix
Removed the "netrc_debug" keyword replaced with --netrc-file additions. Removed the debug code from Curl_parsenetrc as it is superseeded by --netrc-file.
2011-02-20curl: Added --netrc-file.Julien Chaffraix
This enables people to specify a path to the netrc file to use. The new option override --netrc if both are present. However it does follow --netrc-optional if specified.
2011-02-20IMAP in multi mode: use Curl_ssl_connect_nonblocking() when upgrading the ↵Ben Noordhuis
connection to TLS/SSL.
2011-02-20IMAP in multi mode: use Curl_ssl_connect_nonblocking() when connecting.Ben Noordhuis
2011-02-18multi: close connection on timeoutMike Crowe
After a request times out, the connection wasn't properly closed and prevented to get re-used, so subsequent transfers could still mistakenly get to use the previously aborted connection.
2011-02-18multi: better failed connect treatmentDaniel Stenberg
When failing to connect the protocol during the CURLM_STATE_PROTOCONNECT state, Curl_done() has to be called with the premature flag set TRUE as for the pingpong protocols this can be important. When Curl_done() is called with premature == TRUE, it needs to call Curl_disconnect() with its 'dead_connection' argument set to TRUE as well so that any protocol handler's disconnect function won't attempt to use the (control) connection for anything. This problem caused the pingpong protocols to fail to disconnect when STARTTLS failed. Reported by: Alona Rossen Bug: http://curl.haxx.se/mail/lib-2011-02/0195.html
2011-02-18PolarSSL: Return 0 on receiving TLS CLOSE_NOTIFY alertHoi-Ho Chan
Signed-off-by: Hoi-Ho Chan <hoiho.chan@gmail.com>