aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-03-20retry-request: rewind if data was sentDaniel Stenberg
When libcurl sends a HTTP request on a re-used connection and detects it being closed (ie no data at all was read from it), it is important to rewind if any data in the request was sent using the read callback or was read from file, as otherwise the retried request will be broken. Reported by: Chris Smowton Bug: http://curl.haxx.se/bug/view.cgi?id=3195205
2011-03-20configure: avoid $VERSIONDaniel Stenberg
To reduce the risk of variable name conflicts, use CURLVERSION instead of VERSION.
2011-03-20symbols-in-versions: many correctionsDaniel Stenberg
Scanned with a tool that checked for mistakes and this is the subsequent cleanup.
2011-03-20unit1305: Fixed the test to match our coding style.Julien Chaffraix
2011-03-19url: 0 is PROTOPT_NONE.Julien Chaffraix
Tiny tweak after Daniel's refactoring of the protocol handlers.
2011-03-19pop3: add state name in debug arrayDaniel Stenberg
We have an array with the state names only built and used when built debug enabled and this need to list all the states from the .h
2011-03-18Added two more POP3 testsDan Fandrich
2011-03-18pop3: use Curl_safefree() to allow torture tests to succeedDan Fandrich
2011-03-18symbol-scan.pl: detect duplicatesDaniel Stenberg
Test 1119 now also makes sure that symbols-in-versions doesn't contain any duplicates
2011-03-18CONTRIBUTE: minor editsDaniel Stenberg
Slightly modified to become a nicer web page when converted for the site
2011-03-18RELEASE-NOTES: synced with 0c05ee3a33d4d7Daniel Stenberg
2011-03-18pop3: remove unused variableDaniel Stenberg
2011-03-17Added support for LISTing a single POP3 messageDan Fandrich
Added tests for a number of POP3 LIST operations, including one that shows a curl problem when listing no messages, so is disabled.
2011-03-17pop3: fixed memory leak in an error retrieval caseDan Fandrich
2011-03-17symbols-in-versions: remove duplicatesDaniel Stenberg
2011-03-17symbols-in-versions: 2 correctionsDaniel Stenberg
CURLE_CHUNK_FAILED and CURLE_FTP_BAD_FILE_LIST were introduced in 7.21.0, not 7.20.1
2011-03-17connection setup: if HTTP is disabled asking for HTTP proxy is badDaniel Stenberg
2011-03-17FAQ: better englishDaniel Stenberg
Reported by: Andre Guibert de Bruet
2011-03-16scan-build warningDaniel Stenberg
Value stored to 'len' is never read
2011-03-16ldap_recv: check return code from ldap_get_dn_berDaniel Stenberg
2011-03-16compiler warnings fixedDaniel Stenberg
Use (void)[variable] to inhibit unused argument/variables warnings.
2011-03-15SMTP-multi: non-blocking connectBen Noordhuis
Use Curl_ssl_connect_nonblocking() when upgrading the connection to TLS/SSL while using the multi interface.
2011-03-15SMTP in multi mode: use Curl_ssl_connect_nonblocking() when connecting.Ben Noordhuis
2011-03-15lib582: use curl_socket_t for portabilityDaniel Stenberg
2011-03-15buildfix: spell define correctlyDaniel Stenberg
2011-03-15nss: do not ignore value of CURLOPT_SSL_VERIFYPEERKamil Dudka
When NSS-powered libcurl connected to a SSL server with CURLOPT_SSL_VERIFYPEER equal to zero, NSS remembered that the peer certificate was accepted by libcurl and did not ask the second time when connecting to the same server with CURLOPT_SSL_VERIFYPEER equal to one. This patch turns off the SSL session cache for the particular SSL socket if peer verification is disabled. In order to avoid any performance impact, the peer verification is completely skipped in that case, which makes it even faster than before. Bug: https://bugzilla.redhat.com/678580
2011-03-15Removed unused var.Guenter Knauf
2011-03-15configure: stop using the deprecated AM_INIT_AUTOMAKE syntaxDaniel Stenberg
2011-03-15protocol handler cleanup: SSL awarenessDaniel Stenberg
As a follow-up to commit 8831000bc0: don't assume that the SSL powered protocol alternatives are available.
2011-03-15ldap: use the new protocol handler setupDaniel Stenberg
Use the new flags field and stop using the old protocol defines.
2011-03-15TODO-RELEASE: add and remove issuesDaniel Stenberg
Removed a fixed issue, added five new existing ones and clarified one of the previous ones.
2011-03-14protocols: use CURLPROTO_ internallyDaniel Stenberg
The PROT_* set of internal defines for the protocols is no longer used. We now use the same bits internally as we have defined in the public header using the CURLPROTO_ prefix. This is for simplicity and because the PROT_* prefix was already used duplicated internally for a set of KRB4 values. The PROTOPT_* defines were moved up to just below the struct definition within which they are used.
2011-03-14protocol handler: added flags fieldDaniel Stenberg
The protocol handler struct got a 'flags' field for special information and characteristics of the given protocol. This now enables us to move away central protocol information such as CLOSEACTION and DUALCHANNEL from single defines in a central place, out to each protocol's definition. It also made us stop abusing the protocol field for other info than the protocol, and we could start cleaning up other protocol-specific things by adding flags bits to set in the handler struct. The "protocol" field connectdata struct was removed as well and the code now refers directly to the conn->handler->protocol field instead. To make things work properly, the code now always store a conn->given pointer that points out the original handler struct so that the code can learn details from the original protocol even if conn->handler is modified along the way - for example when switching to go over a HTTP proxy.
2011-03-14- Take new char * options into account in OS400 curl_easy_setopt_ccsid().Patrick Monnerat
- Keep RPG binding, STRING_* table end check and OS400 README up to date.
2011-03-14FAQ: indent tablesDaniel Stenberg
Lines that are indented with at least 5 spaces get special treatment by the script that converts it to HTML on the site.
2011-03-14sslgen: define Curl_ssl_connect_nonblocking for non-SSLDaniel Stenberg
The non-blocking connect improvement for IMAP showed that we didn't properly define the Curl_ssl_connect_nonblocking function for non-SSL builds. Reported by: Tor Arntsen
2011-03-14configure: removed wrongly claimed default pathsDaniel Stenberg
Several --with-XXX options claimed the wrong default path in their help outputs. Reported by: Vincent Torri
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