platform/upstream/curl.git
18 years agoÓscar Morales Vivó updated the libcurl.framework.make file.
Daniel Stenberg [Fri, 26 May 2006 22:23:54 +0000 (22:23 +0000)]
Óscar Morales Vivó updated the libcurl.framework.make file.

18 years agolong/int cleanup to silence picky compiler warnings
Daniel Stenberg [Fri, 26 May 2006 11:26:42 +0000 (11:26 +0000)]
long/int cleanup to silence picky compiler warnings

18 years agoOlaf Stüben fixed a bug that caused Digest authentication with md5-sess to
Daniel Stenberg [Thu, 25 May 2006 23:04:20 +0000 (23:04 +0000)]
Olaf Stüben fixed a bug that caused Digest authentication with md5-sess to
fail. When using the md5-sess, the result was not Md5 encoded and Base64
transformed.

18 years agominor RFC updates, Dan Fandrich brought my attention to them
Daniel Stenberg [Thu, 25 May 2006 11:15:25 +0000 (11:15 +0000)]
minor RFC updates, Dan Fandrich brought my attention to them

18 years agobetter check for libs created in the .libs directory since libtool does this
Daniel Stenberg [Thu, 25 May 2006 11:04:08 +0000 (11:04 +0000)]
better check for libs created in the .libs directory since libtool does this
kind of magic

18 years agoadded some missing items
Daniel Stenberg [Wed, 24 May 2006 23:16:22 +0000 (23:16 +0000)]
added some missing items

18 years agoCopied the NO_UNDEFINED magic from libcurl to make this build fine again with
Daniel Stenberg [Wed, 24 May 2006 23:02:51 +0000 (23:02 +0000)]
Copied the NO_UNDEFINED magic from libcurl to make this build fine again with
libtool cross-compiled on linux with mingw32

18 years agoMichael Wallner provided a patch that allows "SESS" to be set with
Daniel Stenberg [Wed, 24 May 2006 22:46:38 +0000 (22:46 +0000)]
Michael Wallner provided a patch that allows "SESS" to be set with
CURLOPT_COOKIELIST, which then makes all session cookies get cleared. (slightly
edited by me, and the re-indent in cookie.c was also done by me)

18 years agomake sure we pass a time_t * to localtime(), and the timeval struct members
Daniel Stenberg [Wed, 24 May 2006 21:39:52 +0000 (21:39 +0000)]
make sure we pass a time_t * to localtime(), and the timeval struct members
are not always time_t ones

18 years agominor fix to make Curl_splayremove() return a NULL as "removed" in case
Daniel Stenberg [Wed, 24 May 2006 16:11:31 +0000 (16:11 +0000)]
minor fix to make Curl_splayremove() return a NULL as "removed" in case
nothing matched fine

18 years agobased on Tor Arntsen's fix, this should correct test case 271 to again run
Daniel Stenberg [Wed, 24 May 2006 15:22:03 +0000 (15:22 +0000)]
based on Tor Arntsen's fix, this should correct test case 271 to again run
fine

18 years agoFixed a shell script syntax error that all of a sudden started causing this
Daniel Stenberg [Tue, 23 May 2006 22:55:46 +0000 (22:55 +0000)]
Fixed a shell script syntax error that all of a sudden started causing this
script to fail on debian unstable (some specific bash version perhaps?)

18 years agoDavid McCreedy's update
Daniel Stenberg [Tue, 23 May 2006 21:19:36 +0000 (21:19 +0000)]
David McCreedy's update

18 years agoupdated with more recent facts
Daniel Stenberg [Mon, 15 May 2006 08:09:07 +0000 (08:09 +0000)]
updated with more recent facts

18 years agoThe SOCKS connection codes don't properly acknowledge (connect) timeouts.
Daniel Stenberg [Sun, 14 May 2006 22:49:23 +0000 (22:49 +0000)]
The SOCKS connection codes don't properly acknowledge (connect) timeouts.

18 years agoThe new ftpuploadresume.c example by Philip Bock
Daniel Stenberg [Thu, 11 May 2006 22:24:44 +0000 (22:24 +0000)]
The new ftpuploadresume.c example by Philip Bock

18 years agoOk, when checking for old-style SSLeay headers we cannot just use
Daniel Stenberg [Thu, 11 May 2006 21:37:58 +0000 (21:37 +0000)]
Ok, when checking for old-style SSLeay headers we cannot just use
AC_CHECK_HEADERS() and the action-if-found since that action is run even if
just one of the six headers is found and I just now fell over a case with
a duplicate file name (a krb4 implementation with an err.h file).

I converted the check to manually make sure three of the headers are present
before considering them fine.

18 years ago1 - allow much longer time for the test FTP server to startup and get verified
Daniel Stenberg [Thu, 11 May 2006 06:34:30 +0000 (06:34 +0000)]
1 - allow much longer time for the test FTP server to startup and get verified
2 - store the time it took to verify it and allow that time to be used as
  %FTPTIME[23] in command lines to allow us to adjust better to slow hosts
  since test 190 failed on my slow solaris machine just because it hadn't
  gotten time to run all the way the test assumed all machines would reach
  before the time-out elapsed.

18 years agomake sure the LASTSOCKET check only checks for SSL status if the socket
Daniel Stenberg [Thu, 11 May 2006 05:17:40 +0000 (05:17 +0000)]
make sure the LASTSOCKET check only checks for SSL status if the socket
truly use SSL

18 years agosilence warning
Daniel Stenberg [Thu, 11 May 2006 05:16:38 +0000 (05:16 +0000)]
silence warning

18 years agoDavid McCreedy provided a fix for CURLINFO_LASTSOCKET that does extended
Daniel Stenberg [Wed, 10 May 2006 22:17:42 +0000 (22:17 +0000)]
David McCreedy provided a fix for CURLINFO_LASTSOCKET that does extended
checks on the to-be-returned socket to make sure it truly seems to be alive
and well. For SSL connection it (only) uses OpenSSL functions.

18 years agoMy Solaris test server was simply too slow to be able to respond within 4
Daniel Stenberg [Wed, 10 May 2006 21:38:46 +0000 (21:38 +0000)]
My Solaris test server was simply too slow to be able to respond within 4
seconds even when everything is fine! Now we allow a test server 8 seconds
to respond to still be considered ok.

18 years agocvsignore these files
Daniel Stenberg [Wed, 10 May 2006 14:16:30 +0000 (14:16 +0000)]
cvsignore these files

18 years ago1 - allow DICT with properly URL-escaped words, like using %20 for spaces
Daniel Stenberg [Wed, 10 May 2006 11:44:31 +0000 (11:44 +0000)]
1 - allow DICT with properly URL-escaped words, like using %20 for spaces
2 - properly escape certain letters within a DICT word to comply to the RFC2229

18 years agoremoved variable declarations shadowing previously declared variables
Daniel Stenberg [Wed, 10 May 2006 09:53:52 +0000 (09:53 +0000)]
removed variable declarations shadowing previously declared variables

18 years agoBram Matthys brought my attention to a libtool peculiarity where detecting
Daniel Stenberg [Wed, 10 May 2006 08:03:54 +0000 (08:03 +0000)]
Bram Matthys brought my attention to a libtool peculiarity where detecting
things such as C++ compiler actually is a bad thing and since we don't need
that detection I added a work-around, much inspired by a previous patch by
Paolo Bonzini. This also shortens the configure script quite a lot.

18 years agooops, could return an uninitialized variable
Daniel Stenberg [Tue, 9 May 2006 13:02:53 +0000 (13:02 +0000)]
oops, could return an uninitialized variable

18 years agoAndreas Ntaflos reported a bug in libcurl.m4: When configuring my GNU
Daniel Stenberg [Tue, 9 May 2006 12:56:35 +0000 (12:56 +0000)]
Andreas Ntaflos reported a bug in libcurl.m4: When configuring my GNU
autotools project, which optionally (default=yes) uses libcurl on a system
without a (usable) libcurl installation, but not specifying
`--without-libcurl', configure determines correctly that no libcurl is
available, however, the LIBCURL variable gets expanded to `LIBCURL = -lcurl'
in the resulting Makefiles.

David Shaw fixed the flaw.

18 years agomention the other TFTP cleanup sweep from yday
Daniel Stenberg [Tue, 9 May 2006 12:44:11 +0000 (12:44 +0000)]
mention the other TFTP cleanup sweep from yday

18 years agoRobson Braga Araujo fixed two problems in the recently added non-blocking SSL
Daniel Stenberg [Tue, 9 May 2006 12:43:49 +0000 (12:43 +0000)]
Robson Braga Araujo fixed two problems in the recently added non-blocking SSL
connects. The state machine was not reset properly so that subsequent
connects using the same handle would fail, and there were two memory leaks.

18 years agoRobson Braga Araujo fixed a memory leak when you added an easy handle to a
Daniel Stenberg [Tue, 9 May 2006 11:33:00 +0000 (11:33 +0000)]
Robson Braga Araujo fixed a memory leak when you added an easy handle to a
multi stack and that easy handle had already been used to do one or more
easy interface transfers, as then the code threw away the previously used
DNS cache without properly freeing it.

18 years agocheck more return codes and skip the initial slash in given file names
Daniel Stenberg [Mon, 8 May 2006 22:23:33 +0000 (22:23 +0000)]
check more return codes and skip the initial slash in given file names

18 years agono longer uses errno but Curl_sockerrno() and now acknowledges return codes
Daniel Stenberg [Mon, 8 May 2006 21:00:44 +0000 (21:00 +0000)]
no longer uses errno but Curl_sockerrno() and now acknowledges return codes
from Curl_client_write

18 years agoStop sending retransmitted received blocks up to client
Dan Fandrich [Mon, 8 May 2006 19:41:26 +0000 (19:41 +0000)]
Stop sending retransmitted received blocks up to client
Fixed handling of retransmitted blocks on transmit
Properly aligned data to transmit within packet
Replaced calls to strerror() with Curl_strerror()

18 years agoFixed known bug #28. The TFTP code no longer assumes a packed struct and
Daniel Stenberg [Mon, 8 May 2006 15:09:50 +0000 (15:09 +0000)]
Fixed known bug #28. The TFTP code no longer assumes a packed struct and
thus works reliably on more platforms.

18 years agoFix GnuTLS compile warning. Risking breakage with some older version of GnuTLS?
Daniel Stenberg [Sun, 7 May 2006 18:27:36 +0000 (18:27 +0000)]
Fix GnuTLS compile warning. Risking breakage with some older version of GnuTLS?

18 years agoCurl_https_getsock() was OpenSSL-specific and really should not be present
Daniel Stenberg [Fri, 5 May 2006 22:14:40 +0000 (22:14 +0000)]
Curl_https_getsock() was OpenSSL-specific and really should not be present
like this in this source file. The quickfix for now is to provide a simple
version for GnuTLS builds. The GnuTLS version of libcurl doesn't yet allow
fully non-blocking connects anyway so this function doesn't get used.

18 years agoget the Curl_sockerrno proto
Daniel Stenberg [Fri, 5 May 2006 22:07:01 +0000 (22:07 +0000)]
get the Curl_sockerrno proto

18 years agotwo more contributors
Daniel Stenberg [Fri, 5 May 2006 21:08:09 +0000 (21:08 +0000)]
two more contributors

18 years agoadditional renames of Curl_ourerrno => Curl_sockerrno
Daniel Stenberg [Fri, 5 May 2006 10:24:27 +0000 (10:24 +0000)]
additional renames of Curl_ourerrno => Curl_sockerrno

18 years agoRoland Blom filed bug report #1481217
Daniel Stenberg [Thu, 4 May 2006 22:39:47 +0000 (22:39 +0000)]
Roland Blom filed bug report #1481217
(http://curl.haxx.se/bug/view.cgi?id=1481217), with follow-ups by Michele Bini
and David Byron. libcurl previously wrongly used GetLastError() on windows to
get error details after socket-related function calls, when it really should
use WSAGetLastError() instead.

When changing to this, the former function Curl_ourerrno() is now instead
called Curl_sockerrno() as it is necessary to only use it to get errno from
socket-related functions as otherwise it won't work as intended on Windows.

18 years agoMark Eichin submitted bug report #1480821
Daniel Stenberg [Thu, 4 May 2006 06:00:40 +0000 (06:00 +0000)]
Mark Eichin submitted bug report #1480821
(http://curl.haxx.se/bug/view.cgi?id=1480821) He found and identified a
problem with how libcurl dealt with GnuTLS and a case where gnutls returned
GNUTLS_E_AGAIN indicating it would block. It would then return an unexpected
return code, making Curl_ssl_send() confuse the upper layer - causing random
28 bytes trash data to get inserted in the transfered stream.

The proper fix was to make the Curl_gtls_send() function return the proper
return codes that the callers would expect. The Curl_ossl_send() function
already did this.

18 years agomoved the curl_off_t check to within the --enable-debug block where it belongs since...
Daniel Stenberg [Wed, 3 May 2006 22:39:49 +0000 (22:39 +0000)]
moved the curl_off_t check to within the --enable-debug block where it belongs since it is a somewhat ugly hack

18 years agoNick Mathewson added the ARES_OPT_SOCK_STATE_CB option that when set makes
Daniel Stenberg [Wed, 3 May 2006 06:11:44 +0000 (06:11 +0000)]
Nick Mathewson added the ARES_OPT_SOCK_STATE_CB option that when set makes
c-ares call a callback on socket state changes. A better way than the
ares_getsock() to get full control over the socket state.

18 years agocurl-config got a --checkfor option
Daniel Stenberg [Tue, 2 May 2006 22:48:22 +0000 (22:48 +0000)]
curl-config got a --checkfor option

18 years agoMake this code use the proper pointers
Daniel Stenberg [Tue, 2 May 2006 09:19:31 +0000 (09:19 +0000)]
Make this code use the proper pointers

18 years agoAdded revision ID-tag.
Gisle Vanem [Wed, 26 Apr 2006 17:27:36 +0000 (17:27 +0000)]
Added revision ID-tag.

18 years agoFixed signed/unsigned convertion errors in Salford-C.
Gisle Vanem [Wed, 26 Apr 2006 17:26:22 +0000 (17:26 +0000)]
Fixed signed/unsigned convertion errors in Salford-C.
#ifdef around WSAEDISCON in strerror.c.

18 years agoUse the HAVE_MALLOC_H and HAVE_PROCESS_H defines
Gisle Vanem [Wed, 26 Apr 2006 17:23:28 +0000 (17:23 +0000)]
Use the HAVE_MALLOC_H and HAVE_PROCESS_H defines
(more logical).

18 years agodjgpp has <process.h> too.
Gisle Vanem [Wed, 26 Apr 2006 17:15:57 +0000 (17:15 +0000)]
djgpp has <process.h> too.

18 years agoAdded support for Salford-C under Win32 (scc). HAVE_MALLOC_H and
Gisle Vanem [Wed, 26 Apr 2006 17:11:05 +0000 (17:11 +0000)]
Added support for Salford-C under Win32 (scc). HAVE_MALLOC_H and
HAVE_PROCESS_H added for all except scc.

18 years agoAdded SalfordC support.
Gisle Vanem [Wed, 26 Apr 2006 17:04:47 +0000 (17:04 +0000)]
Added SalfordC support.

18 years agocrlf_conversions needs to be a curl_off_t for ASCII transfers > 4GB on 32bit
Daniel Stenberg [Wed, 26 Apr 2006 13:08:12 +0000 (13:08 +0000)]
crlf_conversions needs to be a curl_off_t for ASCII transfers > 4GB on 32bit
systems

18 years agoupdated with more error codes
Daniel Stenberg [Wed, 26 Apr 2006 13:00:45 +0000 (13:00 +0000)]
updated with more error codes

18 years agoDavid McCreedy brought line end conversions when doing FTP ASCII
Daniel Stenberg [Wed, 26 Apr 2006 07:40:37 +0000 (07:40 +0000)]
David McCreedy brought line end conversions when doing FTP ASCII
transfers. They are done on non-windows systems and translate CRLF to LF.

18 years ago--ftp-method was missing in the --help output, as mentioned by Manfred Schwarb
Daniel Stenberg [Tue, 25 Apr 2006 21:41:05 +0000 (21:41 +0000)]
--ftp-method was missing in the --help output, as mentioned by Manfred Schwarb

18 years agoPaul Querna fixed libcurl to better deal with deflate content encoding when
Daniel Stenberg [Tue, 25 Apr 2006 20:49:40 +0000 (20:49 +0000)]
Paul Querna fixed libcurl to better deal with deflate content encoding when
the stream (wrongly) lacks a proper zlib header. This seems to be the case on
too many actual server implementations.

18 years agoprevent signed/unsigned warnings
Daniel Stenberg [Tue, 25 Apr 2006 05:32:05 +0000 (05:32 +0000)]
prevent signed/unsigned warnings

18 years agoMention my April 20 thoughts. I already changed the README in the lib dir
Daniel Stenberg [Mon, 24 Apr 2006 22:41:07 +0000 (22:41 +0000)]
Mention my April 20 thoughts. I already changed the README in the lib dir
to be accurate on this.

18 years agoadded the hipev build
Daniel Stenberg [Mon, 24 Apr 2006 22:40:20 +0000 (22:40 +0000)]
added the hipev build

18 years agothe example that _is_ supposed to use libevent
Daniel Stenberg [Mon, 24 Apr 2006 22:40:04 +0000 (22:40 +0000)]
the example that _is_ supposed to use libevent

18 years agothis example does NOT use libevent!
Daniel Stenberg [Mon, 24 Apr 2006 22:39:39 +0000 (22:39 +0000)]
this example does NOT use libevent!

18 years agoAle Vesely fixed CURLOPT_INTERFACE when using a hostname
Daniel Stenberg [Fri, 21 Apr 2006 13:46:19 +0000 (13:46 +0000)]
Ale Vesely fixed CURLOPT_INTERFACE when using a hostname

18 years agoeach socket is used by exactly one easy handle, but of course each easy handle
Daniel Stenberg [Fri, 21 Apr 2006 13:40:07 +0000 (13:40 +0000)]
each socket is used by exactly one easy handle, but of course each easy handle
can and will use more than one socket

18 years agoadded SPL and XBLite
Daniel Stenberg [Fri, 21 Apr 2006 11:17:54 +0000 (11:17 +0000)]
added SPL and XBLite

18 years agoremoved -fpack-struct because gcc4 seems to know its obsolete and warns...
Gunter Knauf [Thu, 20 Apr 2006 10:26:51 +0000 (10:26 +0000)]
removed  -fpack-struct because gcc4 seems to know its obsolete and warns...

18 years agodetect ICC and pass on "-we 147" so that the configure checks for function
Daniel Stenberg [Wed, 19 Apr 2006 11:11:10 +0000 (11:11 +0000)]
detect ICC and pass on "-we 147" so that the configure checks for function
arguments work properly - and the option is not harmful for the rest of the
curl build either!

18 years agothe new conversion stuff documented (mostly by David McCreedy)
Daniel Stenberg [Wed, 19 Apr 2006 09:08:15 +0000 (09:08 +0000)]
the new conversion stuff documented (mostly by David McCreedy)

18 years agoCURL_VERSION_CONV is returned by curl_version_info if libcurl has been built
Daniel Stenberg [Wed, 19 Apr 2006 09:03:21 +0000 (09:03 +0000)]
CURL_VERSION_CONV is returned by curl_version_info if libcurl has been built
to allow/support character conversions

18 years agomention the recent thoughts/progress I had
Daniel Stenberg [Tue, 18 Apr 2006 23:24:23 +0000 (23:24 +0000)]
mention the recent thoughts/progress I had

18 years agoRobson Braga Araujo provided a patch that makes libcurl less eager to close
Daniel Stenberg [Tue, 18 Apr 2006 23:14:30 +0000 (23:14 +0000)]
Robson Braga Araujo provided a patch that makes libcurl less eager to close
the control connection when using FTP, for example when you remove an easy
handle from a multi stack.

18 years agomention Katie Wang as author of the patch
Daniel Stenberg [Tue, 18 Apr 2006 22:12:22 +0000 (22:12 +0000)]
mention Katie Wang as author of the patch

18 years agocorrected the SSL timeout, as Ates Goral's patch did it and that works (opposed
Daniel Stenberg [Tue, 18 Apr 2006 22:10:19 +0000 (22:10 +0000)]
corrected the SSL timeout, as Ates Goral's patch did it and that works (opposed
to my previous brain-damaged version)

18 years agoattempt to silence the MIPSPro compiler warning
Daniel Stenberg [Tue, 18 Apr 2006 10:55:41 +0000 (10:55 +0000)]
attempt to silence the MIPSPro compiler warning

18 years agoavoid a warning about declaring a variable that shadows an earlier declared
Daniel Stenberg [Tue, 18 Apr 2006 10:51:07 +0000 (10:51 +0000)]
avoid a warning about declaring a variable that shadows an earlier declared
one

18 years agothere's an curl_easy_unescape too now
Daniel Stenberg [Tue, 18 Apr 2006 09:23:03 +0000 (09:23 +0000)]
there's an curl_easy_unescape too now

18 years agominor Makefile fix - let's go 2006;
Gunter Knauf [Mon, 17 Apr 2006 18:04:27 +0000 (18:04 +0000)]
minor Makefile fix - let's go 2006;
use correct version var.

18 years agoadded missing symbol export.
Gunter Knauf [Mon, 17 Apr 2006 17:06:10 +0000 (17:06 +0000)]
added missing symbol export.

18 years agoadded splay
Daniel Stenberg [Wed, 12 Apr 2006 18:12:46 +0000 (18:12 +0000)]
added splay

18 years agoAdded splay.c.
Gisle Vanem [Wed, 12 Apr 2006 14:01:21 +0000 (14:01 +0000)]
Added splay.c.

18 years agoAdd "multiif.h" for GETSOCK_WRITESOCK() macro.
Gisle Vanem [Wed, 12 Apr 2006 13:54:07 +0000 (13:54 +0000)]
Add "multiif.h" for GETSOCK_WRITESOCK() macro.

18 years ago#1468330 (http://curl.haxx.se/bug/view.cgi?id=1468330) pointed out a bad
Daniel Stenberg [Tue, 11 Apr 2006 10:49:51 +0000 (10:49 +0000)]
#1468330 (curl.haxx.se/bug/view.cgi?id=1468330) pointed out a bad
typecast in the curl tool leading to a crash with (64bit?) VS2005 (at least)
since the struct timeval field tv_sec is an int while time_t is 64bit.

18 years agoadjusted to the new internal *_getsock() concept for providing info internally
Daniel Stenberg [Tue, 11 Apr 2006 07:23:30 +0000 (07:23 +0000)]
adjusted to the new internal *_getsock() concept for providing info internally
about what sockets to wait for what action on

18 years agoadded docs and removed proto
Daniel Stenberg [Tue, 11 Apr 2006 07:22:55 +0000 (07:22 +0000)]
added docs and removed proto

18 years agomention recent additions
Daniel Stenberg [Mon, 10 Apr 2006 21:57:45 +0000 (21:57 +0000)]
mention recent additions

18 years agoadding the new man pages to the package
Daniel Stenberg [Mon, 10 Apr 2006 21:55:48 +0000 (21:55 +0000)]
adding the new man pages to the package

18 years agoAtes Goral found out that if you specified both CURLOPT_CONNECTTIMEOUT and
Daniel Stenberg [Mon, 10 Apr 2006 21:49:55 +0000 (21:49 +0000)]
Ates Goral found out that if you specified both CURLOPT_CONNECTTIMEOUT and
CURLOPT_TIMEOUT, the _longer_ time would wrongly be used for the SSL
connection time-out!

18 years agoFirst curl_multi_socket() commit. Should primarily be considered as an internal
Daniel Stenberg [Mon, 10 Apr 2006 15:00:53 +0000 (15:00 +0000)]
First curl_multi_socket() commit. Should primarily be considered as an internal
code rearrange to fit the future better.

18 years agoThis no longer needs the extra define!
Daniel Stenberg [Mon, 10 Apr 2006 14:58:38 +0000 (14:58 +0000)]
This no longer needs the extra define!

18 years agoadded README.multi_socket
Daniel Stenberg [Mon, 10 Apr 2006 14:54:12 +0000 (14:54 +0000)]
added README.multi_socket

18 years agostate of the multi_socket API works
Daniel Stenberg [Mon, 10 Apr 2006 14:44:23 +0000 (14:44 +0000)]
state of the multi_socket API works

18 years agocheck for fork() as well, so that we can build the sws http test server with
Daniel Stenberg [Mon, 10 Apr 2006 13:31:35 +0000 (13:31 +0000)]
check for fork() as well, so that we can build the sws http test server with
fork support for cooler tests

18 years agoavoid duplicate typedefs, as this type is also defined in our public headers
Daniel Stenberg [Mon, 10 Apr 2006 13:14:14 +0000 (13:14 +0000)]
avoid duplicate typedefs, as this type is also defined in our public headers

18 years agocurl_multi_socket() updates
Daniel Stenberg [Mon, 10 Apr 2006 13:12:52 +0000 (13:12 +0000)]
curl_multi_socket() updates

18 years agoif configure found a fork(), sws supports --fork which is *NOT* used by the
Daniel Stenberg [Mon, 10 Apr 2006 13:11:52 +0000 (13:11 +0000)]
if configure found a fork(), sws supports --fork which is *NOT* used by the
ordinary test suite. Also removed the perror() calls and instead made the
logging output the errno code to ease error tracking using logs.

18 years agooutput the exit code from stunnel to stderr in case it is non-zero
Daniel Stenberg [Mon, 10 Apr 2006 13:10:25 +0000 (13:10 +0000)]
output the exit code from stunnel to stderr in case it is non-zero

18 years agosupport --fork and pass that on to sws
Daniel Stenberg [Mon, 10 Apr 2006 13:09:56 +0000 (13:09 +0000)]
support --fork and pass that on to sws

18 years agoScan for 'stunnel4' before 'stunnel' since debian have them setup this way
Daniel Stenberg [Mon, 10 Apr 2006 13:03:20 +0000 (13:03 +0000)]
Scan for 'stunnel4' before 'stunnel' since debian have them setup this way
and it should break most other systems. The "funny" part is that debian
actually have a 'stunnel' setup to simulate stunnel v3 but it breaks our own
stunnel-version-detect-and-adjust-to-it system.

Added initial support for optionally running servers with fork support.

18 years agoUse correct content-length. Found out by patching the libcurl read to only
Daniel Stenberg [Mon, 10 Apr 2006 12:26:08 +0000 (12:26 +0000)]
Use correct content-length. Found out by patching the libcurl read to only
read one byte at a time...

18 years ago33. Doing multi-pass HTTP authentication on a non-default port does not work.
Daniel Stenberg [Mon, 10 Apr 2006 08:24:57 +0000 (08:24 +0000)]
33. Doing multi-pass HTTP authentication on a non-default port does not work.
  This happens because the multi-pass code abuses the redirect following code
  for doing multiple requests, and when we following redirects to an absolute
  URL we must use the newly specified port and not the one specified in the
  original URL. A proper fix to this would need to separate the negotiation
  "redirect" from an actual redirect.