Age | Commit message (Collapse) | Author | |
---|---|---|---|
2007-11-15 | Ates Goral identified a problem in http.c:add_buffer_send() when a debug | Daniel Stenberg | |
callback was used, as it could wrongly pass on a bad size for the outgoing HTTP header. The bad size would be a very large value as it was a wrapped size_t content. This happened when the whole HTTP request failed to get sent in one single send. http://curl.haxx.se/mail/lib-2007-11/0165.html | |||
2007-11-15 | removed unnecessary check from add_buffer_send() that only was made within | Daniel Stenberg | |
#ifdef CURL_DOES_CONVERSIONS anyway! I turned it into a DEBUGASSERT() instead. | |||
2007-11-15 | Rearranged code and changed Curl_readwrite_init() and Curl_pre_readwrite() into | Daniel Stenberg | |
do_init() and do_complete() which now are called first and last in the DO function. It simplified the flow in multi.c and the functions got more sensible names! | |||
2007-11-15 | Make the Transfer() function return earlier without doing any initializations | Daniel Stenberg | |
for the cases where there's nothing to do in here, like for SFTP directory listings that already is complete when this function gets called. The init stuff clears byte counters which isn't really desired. | |||
2007-11-14 | use the existing variable instead | Daniel Stenberg | |
2007-11-14 | Fix how TFTP connections are treated when re-used, if the SessionHandle has | Daniel Stenberg | |
been used for other protocols in between. I found this when test 2004 started to fail for me! | |||
2007-11-14 | Fix a variable potential wrapping in add_buffer() when using absolutely | Yang Tse | |
huge send buffer sizes | |||
2007-11-12 | Fixed a remaining problem with doing SFTP directory listings on a re-used | Daniel Stenberg | |
persistent connection. Mentioned by Immanuel Gregoire on the mailing list. | |||
2007-11-12 | comment language | Daniel Stenberg | |
2007-11-12 | Bug report #1830637 (http://curl.haxx.se/bug/view.cgi?id=1830637), which was | Daniel Stenberg | |
forwarded from the Gentoo bug tracker by Daniel Black and was originally submitted by Robin Johnson, pointed out that libcurl would do bad memory references when it failed and bailed out before the handler thing was setup. My fix is not done like the provided patch does it, but instead I make sure that there's never any chance for a NULL pointer in that struct member. | |||
2007-11-12 | oops, fixed build when CURL_LIBSSH2_DEBUG is defined | Daniel Stenberg | |
2007-11-10 | Some versions of winsock2.h have pollfd struct and constants | Yang Tse | |
2007-11-08 | Fix compiler warning: integral size mismatch in argument | Yang Tse | |
2007-11-08 | Define WIN32 when build target is Win32 API. | Yang Tse | |
This also defines it for WinCE even though it is a subset of WIN32. | |||
2007-11-08 | Fix compiler warning: may be used uninitialized | Yang Tse | |
2007-11-08 | spell! | Daniel Stenberg | |
2007-11-08 | Bug report #1823487 (http://curl.haxx.se/bug/view.cgi?id=1823487) pointed | Daniel Stenberg | |
out that SFTP requests didn't use persistent connections. Neither did SCP ones. I gave the SSH code a good beating and now both SCP and SFTP should use persistent connections fine. I also did a bunch for indent changes as well as a bug fix for the "keyboard interactive" auth. | |||
2007-11-07 | MSVC versions prior to VS2005 do not complain about portable C functions | Yang Tse | |
2007-11-07 | if () => if() | Daniel Stenberg | |
while () => while() and some other minor re-indentings | |||
2007-11-07 | Improved telnet support by drastically reducing the number of write | Dan Fandrich | |
callbacks needed to pass a buffer to the user. Instead one per byte it is now as little as one per segment. | |||
2007-11-06 | Added prototype for _strtoi64(). | Gisle Vanem | |
2007-11-06 | Constified from arguments. | Gisle Vanem | |
2007-11-05 | removed space after if and while before the parenthesis for better source code | Daniel Stenberg | |
consistency | |||
2007-11-05 | Move connection-oriented variables from the SessionHandle struct to the | Daniel Stenberg | |
connectdata struct. This will in theory enable us to do persistent connections with SCP+SFTP, but currently the state machine always (and wrongly) cleanup everything in the 'done' action instead of in 'disconnect'. Also did a bunch of indent fixes, if () => if() and a few other source cleanups like added comments etc. | |||
2007-11-03 | make sure the code deals with failures on the DO_MORE state properly | Daniel Stenberg | |
2007-11-02 | avoid setting up a transfer when the state machine failed previously | Daniel Stenberg | |
2007-11-01 | minor re-indent | Daniel Stenberg | |
2007-10-31 | Add support for LDAP urls. Allthough the OpenWatcom | Gisle Vanem | |
headers <winlap.h> and <winber.h> defines wrong calling convention. | |||
2007-10-31 | Added optional use of zlib (USE_ZLIB=1). | Gisle Vanem | |
Use a response-file for the C-compiler. | |||
2007-10-30 | Fixed an OOM problem with file: URLs | Dan Fandrich | |
Moved Curl_file_connect into the protocol handler struct. | |||
2007-10-29 | Reverted the const change--what was I thinking? | Dan Fandrich | |
2007-10-29 | Made some pointers const | Dan Fandrich | |
2007-10-29 | let 7.17.1 be version-info 4:1:0 | Daniel Stenberg | |
2007-10-28 | OpenWatcom cannot use wldap32.lib (wrong calling convention?). | Gisle Vanem | |
Added generation of dummy ca-bundle.h. Sorted objects. | |||
2007-10-26 | Fixed a valgrind uninitialized variable error. | Dan Fandrich | |
2007-10-26 | typecast to prevent compiler warning | Yang Tse | |
2007-10-25 | Made libcurl built with NSS possible to ignore the peer verification. | Daniel Stenberg | |
Previously it would fail if the ca bundle wasn't present, even if the code ignored the verification results. | |||
2007-10-25 | prevent compiler warnings about shadowing and one case of unused variable | Daniel Stenberg | |
2007-10-25 | Don't assume there's a sessionhandle around when a connection is disconnected, | Daniel Stenberg | |
so do the data->reqdata.current_conn assignment when we know there is an easy handle existing! Fixes the valgrind report on test 509. | |||
2007-10-25 | fix the check | Daniel Stenberg | |
2007-10-25 | Fixed a TFTP memory leak. Enabled test 2003 to verify this. | Daniel Stenberg | |
2007-10-24 | Curl_ftp_disconnect() no longer relies on anything in the reqdata struct. That | Daniel Stenberg | |
was even mentioned to be bad in a comment! Should make test 2000 and 2001 work fine. Also, freedirs() now take a ftp_conn struct pointer which saves some extra unnecessary variable assignments. | |||
2007-10-24 | added clarifying comment | Daniel Stenberg | |
2007-10-24 | Windows build targets have socklen_t definition in ws2tcpip.h but some | Yang Tse | |
versions of ws2tcpip.h do not have the definition. It seems that when the socklen_t definition is missing from ws2tcpip.h the definition for INET_ADDRSTRLEN is also missing, and that when one definition is present the other one also is available. | |||
2007-10-23 | Bug report #1812190 (http://curl.haxx.se/bug/view.cgi?id=1812190) points out | Daniel Stenberg | |
that libcurl tried to re-use connections a bit too much when using non-SSL protocols tunneled over a HTTP proxy. | |||
2007-10-23 | File is not a protocol that can deal with "persistancy" | Yang Tse | |
2007-10-23 | Fix compiler warning: subscript has type `char' | Yang Tse | |
2007-10-22 | Michal Marek forwarded the bug report | Daniel Stenberg | |
https://bugzilla.novell.com/show_bug.cgi?id=332917 about a HTTP redirect to FTP that caused memory havoc. His work together with my efforts created two fixes: #1 - FTP::file was moved to struct ftp_conn, because is has to be dealt with at connection cleanup, at which time the struct HandleData could be used by another connection. Also, the unused char *urlpath member is removed from struct FTP. #2 - provide a Curl_reset_reqproto() function that frees data->reqdata.proto.* on connection setup if needed (that is if the SessionHandle was used by a different connection). | |||
2007-10-22 | Bug report #1815530 (http://curl.haxx.se/bug/view.cgi?id=1815530) points out | Daniel Stenberg | |
that specifying a proxy with a trailing slash didn't work (unless it also contained a port number). | |||
2007-10-20 | We use this ZERO_NULL to avoid picky compiler warnings, | Yang Tse | |
when assigning a NULL pointer to a function pointer var. |