- Apr 02, 2011
-
-
Daniel Stenberg authored
We keep them less than 80 columns
-
Daniel Stenberg authored
Within multi_socket when conn is used as a shorthand, data could be changed and multi_runsingle could modify the connectdata struct to deal with. This bug has not been included in a public release. Using 'conn' like that turned out to be ugly. This change is a partial revert of commit f1c6cd42. Reported by: Miroslav Spousta Bug: http://curl.haxx.se/bug/view.cgi?id=3265485
-
- Apr 01, 2011
-
-
Guenter Knauf authored
-
Guenter Knauf authored
Posted to the list by Quanah Gibson-Mount [quanah zimbra.com].
-
Guenter Knauf authored
-
- Mar 29, 2011
-
-
Gisle Vanem authored
-
- Mar 25, 2011
-
-
Peter Sylvester authored
If a new enough OpenSSL version is used, configure detects the TLS-SRP support and enables it.
-
Daniel Stenberg authored
When asked to bind the local end of a connection when doing a request, the code will now disqualify other existing connections from re-use even if they are connected to the correct remote host. This will also affect which connections that can be used for pipelining, so that only connections that aren't bound or bound to the same device/port you're asking for will be considered.
-
- Mar 23, 2011
-
-
Daniel Stenberg authored
The RTSP-specific function for checking for "dead" connection is better located in rtsp.c. The code using this is now written without #ifdefs as the function call is instead turned into a macro (in rtsp.h) when RTSP is disabled.
-
Daniel Stenberg authored
Move ipv6-functional-probe into a single function that is used from all places that need to know. Make the probe function store the result in a static variable so that subsequent invokes just returns the previous result and won't have to probe again.
-
- Mar 22, 2011
-
-
Julien Chaffraix authored
Curl_posttransfer is called too soon to add the final new line. Moved the new line logic to pgrsDone as there is no more call to update the progress status after this call. Reported by: Dmitri Shubin <sbn_at_tbricks.com> http://curl.haxx.se/mail/lib-2010-12/0162.html
-
- 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
-
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
-
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
-
- 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
-
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
-
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.
-
- 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.
-
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
-
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...
-
Daniel Stenberg authored
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.
-
- Mar 12, 2011
-
-
Karl M authored
http_negotiate_sspi.c was added to the source tree recently
-
Marcus Sundberg authored
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>
-
Daniel Stenberg authored
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
-
Daniel Stenberg authored
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.
-
Daniel Stenberg authored
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>
-