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.
Daniel Stenberg [Wed, 26 Jul 2006 23:20:47 +0000 (23:20 +0000)]
David McCreedy added --ftp-ssl-reqd which makes curl *require* SSL for both
control and data connection, as the existing --ftp-ssl option only requests
it.
Daniel Stenberg [Wed, 26 Jul 2006 22:19:42 +0000 (22:19 +0000)]
[Hiper-related work] Added a function called curl_multi_assign() that will
set a private pointer added to the internal libcurl hash table for the
particular socket passed in to this function.
Daniel Stenberg [Tue, 25 Jul 2006 22:45:21 +0000 (22:45 +0000)]
Dan Nelson added the CURLOPT_FTP_ALTERNATIVE_TO_USER libcurl option and curl
tool option named --ftp-alternative-to-user. It provides a mean to send a
particular command if the normal USER/PASS approach fails.
Yang Tse [Tue, 25 Jul 2006 13:49:49 +0000 (13:49 +0000)]
Simplify check for NEED_MALLOC_H, and make more explicit that NEED_MALLOC_H shall be defined if <malloc.h> header file must be included even when including <stdlib.h>.
Daniel Stenberg [Mon, 17 Jul 2006 18:35:58 +0000 (18:35 +0000)]
Jari Sundell did some excellent research and bug tracking, figured out that
we did wrong and patched it: When nodes were removed from the splay tree,
and we didn't properly remove it from the splay tree when an easy handle was
removed from a multi stack and thus we could wrongly leave a node in the
splay tree pointing to (bad) memory.
Yang Tse [Mon, 17 Jul 2006 16:47:07 +0000 (16:47 +0000)]
tests/libtest/lib506.c version 1.11 is now also logging CURLSHOPT_LOCKFUNC, CURLSHOPT_UNLOCKFUNC and CURLSHOPT_USERDATA, so we now also have to check them here.