aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-03-14mk-ca-bundle.pl: Only download if modifiedAsk Bjørn Hansen
Only download and convert the certdata to the ca-bundle.crt if Mozilla changed the data The Perl LWP module (which in a bit of a circular reference is used by mk-ca-bundle.pl) is now indirectly using this script. I made this small tweak to make it easier to automatically maintain the generated ca-bundle.crt file in version control.
2011-03-13SSH: add protocol lock directionDaniel Stenberg
Some protocols have to call the underlying functions without regard to what exact state the socket signals. For example even if the socket says "readable", the send function might need to be called while uploading, or vice versa. This is the case for libssh2 based protocols: SCP and SFTP and we now introduce a define to set those protocols and we make the multi interface code aware of this concept. This is another fix to make test 582 run properly.
2011-03-13state: add missing state to debug tableDaniel Stenberg
As a new state recently was added to the IMAP state machine it has to be in the array of names as well as otherwise libcurl crashes when a debug version runs...
2011-03-13test 582: enabled againDaniel Stenberg
Commit ca37692bf43b5ef should now hopefully make it run
2011-03-13ssh_statemach_act: set cselect for sftp uploadDaniel Stenberg
For uploads we want to use the _sending_ function even when the socket turns out readable as the underlying libssh2 sftp send function will deal with both accordingly. This is what the cselect_bits magic is for. Fixes test 582.
2011-03-13RELEASE-NOTES: synced with e649a7baae2Daniel Stenberg
2011-03-13Revert "test582: enabled"Daniel Stenberg
This reverts commit b8478187406cf625c9d0f10b45a082221130cc92.
2011-03-13Merge branch 'imap' of https://github.com/bnoordhuis/curl into bnoordhuis-imapDaniel Stenberg
2011-03-13TODO-RELEASE: fixed four isuesDaniel Stenberg
These issues are now addressed: 276 - Karl M's vc makefile patch 277 - The "Stall when uploading to sftp using multi interface" bug 279 - curl_multi_remove_handle() crashes 280 - Marcus Sundberg's gss patch
2011-03-13VC: add missing fileKarl M
http_negotiate_sspi.c was added to the source tree recently
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