- Mar 20, 2011
-
-
Daniel Stenberg authored
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
-
Daniel Stenberg authored
To reduce the risk of variable name conflicts, use CURLVERSION instead of VERSION.
-
Daniel Stenberg authored
Scanned with a tool that checked for mistakes and this is the subsequent cleanup.
-
Julien Chaffraix authored
-
Julien Chaffraix authored
Tiny tweak after Daniel's refactoring of the protocol handlers.
-
- Mar 19, 2011
-
-
Daniel Stenberg authored
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
-
- Mar 18, 2011
-
-
Dan Fandrich authored
-
Dan Fandrich authored
-
Daniel Stenberg authored
Test 1119 now also makes sure that symbols-in-versions doesn't contain any duplicates
-
Daniel Stenberg authored
Slightly modified to become a nicer web page when converted for the site
-
Daniel Stenberg authored
-
Daniel Stenberg authored
-
- Mar 17, 2011
-
-
Dan Fandrich authored
Added tests for a number of POP3 LIST operations, including one that shows a curl problem when listing no messages, so is disabled.
-
Dan Fandrich authored
-
Daniel Stenberg authored
-
Daniel Stenberg authored
CURLE_CHUNK_FAILED and CURLE_FTP_BAD_FILE_LIST were introduced in 7.21.0, not 7.20.1
-
Daniel Stenberg authored
-
Daniel Stenberg authored
Reported by: Andre Guibert de Bruet
-
- Mar 15, 2011
-
-
Daniel Stenberg authored
Value stored to 'len' is never read
-
Daniel Stenberg authored
-
Daniel Stenberg authored
Use (void)[variable] to inhibit unused argument/variables warnings.
-
Ben Noordhuis authored
Use Curl_ssl_connect_nonblocking() when upgrading the connection to TLS/SSL while using the multi interface.
-
Ben Noordhuis authored
-
Daniel Stenberg authored
-
Daniel Stenberg authored
-
Kamil Dudka authored
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
-
Guenter Knauf authored
-
Daniel Stenberg authored
-
Daniel Stenberg authored
As a follow-up to commit 8831000b: don't assume that the SSL powered protocol alternatives are available.
-
Daniel Stenberg authored
Use the new flags field and stop using the old protocol defines.
-
Daniel Stenberg authored
Removed a fixed issue, added five new existing ones and clarified one of the previous ones.
-
- Mar 14, 2011
-
-
Daniel Stenberg authored
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.
-
Daniel Stenberg authored
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.
-
Patrick Monnerat authored
- Keep RPG binding, STRING_* table end check and OS400 README up to date.
-
Daniel Stenberg authored
Lines that are indented with at least 5 spaces get special treatment by the script that converts it to HTML on the site.
-
Daniel Stenberg authored
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
-
Daniel Stenberg authored
Several --with-XXX options claimed the wrong default path in their help outputs. Reported by: Vincent Torri
-
Ask Bjørn Hansen authored
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.
-
- Mar 13, 2011
-
-
Daniel Stenberg authored
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.
-
Daniel Stenberg authored
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...
-