Daniel Stenberg [Mon, 4 Sep 2006 08:53:28 +0000 (08:53 +0000)]
I fell over a new libtool that starts with a newline so we need to fetch
the two first lines to get the version string. The good news is that older
libtools have an empty line after the first so I think this works fine all
over...
Daniel Stenberg [Sun, 3 Sep 2006 22:52:42 +0000 (22:52 +0000)]
- "Dortik" (http://curl.haxx.se/bug/view.cgi?id=1551412) provided a patch that
while not fixing things very nicely, it does make the SOCKS5 proxy
connection slightly better as it now acknowledges the timeout for connection
and it no longer segfaults in the case when SOCKS requires authentication
and you did not specify username:password.
Daniel Stenberg [Tue, 29 Aug 2006 15:17:47 +0000 (15:17 +0000)]
Brad Spencer did
o made ares_version.h use extern "C" for c++ compilers
o fixed compiler warnings in ares_getnameinfo.c
o fixed a buffer position init for TCP reads
Daniel Stenberg [Fri, 25 Aug 2006 13:53:20 +0000 (13:53 +0000)]
Armel Asselin reported that the 'running_handles' counter wasn't updated
properly if you removed a "live" handle from a multi handle with
curl_multi_remove_handle().
Daniel Stenberg [Fri, 18 Aug 2006 22:54:57 +0000 (22:54 +0000)]
Andrew Biggs pointed out a "Expect: 100-continue" flaw where libcurl didn't
send the whole request at once, even though the Expect: header was disabled
by the application. An effect of this change is also that small (< 1024
bytes) POSTs are now always sent without Expect: header since we deem it
more costly to bother about that than the risk that we send the data in
vain.
Daniel Stenberg [Tue, 8 Aug 2006 22:56:46 +0000 (22:56 +0000)]
Armel Asselin made the CURLOPT_PREQUOTE option work fine even when
CURLOPT_NOBODY is set true. PREQUOTE is then run roughly at the same place
in the command sequence as it would have run if there would've been a
transfer.
Daniel Stenberg [Tue, 8 Aug 2006 21:12:49 +0000 (21:12 +0000)]
Fixed a flaw in the "Expect: 100-continue" treatment. If you did two POSTs
on a persistent connection and allowed the first to use that header, you
could not disable it for the second request.
Yang Tse [Fri, 4 Aug 2006 01:13:24 +0000 (01:13 +0000)]
Avoid redundant check. configure script takes care of not defining
HAVE_WINDOWS_H, HAVE_WINSOCK_H, HAVE_WINSOCK2_H, neither
HAVE_WS2TCPIP_H when __CYGWIN__ is defined.
Yang Tse [Thu, 3 Aug 2006 11:41:49 +0000 (11:41 +0000)]
Silence compiler warning 'unused parameter running_handles' in function multi_runsingle(). This is done here returning multi->num_alive in the running_handles parameter even when functions that call multi_runsingle() at this moment overwrite the returned value with the one that is valid when those functions curl_multi_perform() and multi_socket() have removed expired timers from the splay. Most probably, parameter 'running_handles' in function multi_runsingle() should be just removed.
Daniel Stenberg [Wed, 2 Aug 2006 18:18:47 +0000 (18:18 +0000)]
Mark Lentczner fixed how libcurl was not properly doing chunked encoding
if the header "Transfer-Encoding: chunked" was set by the application.
http://curl.haxx.se/bug/view.cgi?id=1531838
Daniel Stenberg [Tue, 1 Aug 2006 09:39:01 +0000 (09:39 +0000)]
Maciej Karpiuk fixed a crash that would occur if we passed Curl_strerror()
an unknown error number on glibc systems.
http://curl.haxx.se/bug/view.cgi?id=1532289
Daniel Stenberg [Sun, 30 Jul 2006 22:44:07 +0000 (22:44 +0000)]
curl_multi_socket() and curl_multi_socket_all() got modified prototypes: they
both now provide the number of running handles back to the calling function.