- May 11, 2010
-
-
Kamil Dudka authored
-
- May 08, 2010
-
-
Hacki authored
-
- May 07, 2010
-
-
Daniel Stenberg authored
Dirk Manske reported a regression. When connecting with the multi interface, there were situations where libcurl wouldn't store connect time correctly as it used to (and is documented to) do. Using his fine sample program we could repeat it, and I wrote up test case 573 using that code. The problem does not easily show itself using the local test suite though. The fix, also as suggested by Dirk, is a bit on the ugly side as it adds yet another call to Curl_verboseconnect() and setting the TIMER_CONNECT time. That situation is subject for some closer inspection in the future.
-
Daniel Stenberg authored
As the function is used more than once and libcurl can be built without it, do the conditional check within the verboseconnect() function itself.
-
Howard Chu authored
Howard Chu brought the bulk work of this patch that properly moves out the sending and recving of data to the parts of the code that are properly responsible for the various ways of doing so. Daniel Stenberg assisted with polishing a few bits and fixed some minor flaws in the original patch. Another upside of this patch is that we now abuse CURLcodes less with the "magic" -1 return codes and instead use CURLE_AGAIN more consistently.
-
- May 05, 2010
-
-
Hoi-Ho Chan authored
This is Hoi-Ho Chan's patch with some minor fixes by me. There are some potential issues in this, but none worse than we can sort out on the list and over time.
-
- Apr 29, 2010
-
-
Ben Greear authored
The main change is to allow input from user-specified methods, when they are specified with CURLOPT_READFUNCTION. All calls to fflush(stdout) in telnet.c were removed, which makes using 'curl telnet://foo.com' painful since prompts and other data are not always returned to the user promptly. Use 'curl --no-buffer telnet://foo.com ' instead. In general, the user should have their CURLOPT_WRITEFUNCTION do a fflush for interactive use. Also fix assumption that reading from stdin never returns < 0. Old code could crash in that case. Call progress functions in telnet main loop. Signed-off-by: Ben Greear <greearb@candelatech.com>
-
- Apr 25, 2010
-
-
Daniel Stenberg authored
The necessary libssh2 functions require libssh2 1.2.5 or later.
-
- Apr 24, 2010
-
-
Kamil Dudka authored
-
Guenter Knauf authored
-
Daniel Stenberg authored
Make sure we don't call memcpy() if the argument is NULL even though we also passed a zero length then, as the clang analyzer whined and we want to limit warnings (even false positives) when they're this easy to fix. The change of (char) to (unsigned char) will fix long user names and passwords on systems that have the char type signed by default.
-
Daniel Stenberg authored
-
- Apr 20, 2010
-
-
Yang Tse authored
-
Yang Tse authored
-
Patrick Monnerat authored
-
Ruslan Gazizov authored
-
- Apr 19, 2010
-
-
Patrick Monnerat authored
-
Daniel Stenberg authored
-
Patrick Monnerat authored
-
Patrick Monnerat authored
-
Patrick Monnerat authored
-
- Apr 17, 2010
-
-
Daniel Stenberg authored
-
Daniel Stenberg authored
-
- Apr 16, 2010
-
-
Daniel Stenberg authored
-
Daniel Stenberg authored
-
Daniel Stenberg authored
-
Daniel Stenberg authored
This function could only return CURLE_OK and by changing it to a void instead, we can simplify code all over.
-
Daniel Stenberg authored
-
Daniel Stenberg authored
-
Daniel Stenberg authored
-
Daniel Stenberg authored
-
Daniel Stenberg authored
-
Daniel Stenberg authored
-
Daniel Stenberg authored
-
Daniel Stenberg authored
Simplified the code by removing a local variable completely.
-
Daniel Stenberg authored
This makes the code flow more obvious and reacts on the return code properly, even if the code acted the same way before.
-
Daniel Stenberg authored
-
Daniel Stenberg authored
-
Daniel Stenberg authored
-
Jerome Vouillon authored
When multi interface is used, the SSL handshake is no longer blocking when GnuTLS is used.
-