platform/upstream/curl.git
18 years agowe haven't been using yacc/bison in a long time!
Daniel Stenberg [Mon, 10 Apr 2006 08:16:03 +0000 (08:16 +0000)]
we haven't been using yacc/bison in a long time!

18 years agoforked off the changes from 2005 into its own file
Daniel Stenberg [Mon, 10 Apr 2006 08:14:05 +0000 (08:14 +0000)]
forked off the changes from 2005 into its own file

18 years agoCURLE_FTP_USER_PASSWORD_INCORRECT is not returned by libcurl anymore!
Daniel Stenberg [Sun, 9 Apr 2006 22:41:22 +0000 (22:41 +0000)]
CURLE_FTP_USER_PASSWORD_INCORRECT is not returned by libcurl anymore!

18 years agomention RFC 2396 for URL syntax spec
Daniel Stenberg [Sun, 9 Apr 2006 22:40:49 +0000 (22:40 +0000)]
mention RFC 2396 for URL syntax spec

18 years agonew little example using the new conversion callbacks added in 7.15.4
Daniel Stenberg [Sun, 9 Apr 2006 08:39:08 +0000 (08:39 +0000)]
new little example using the new conversion callbacks added in 7.15.4

18 years agomention the outlength argument
Daniel Stenberg [Sat, 8 Apr 2006 21:29:01 +0000 (21:29 +0000)]
mention the outlength argument

18 years agoreadint_le() not needed in USE_WINDOWS_SSPI code.
Gisle Vanem [Sat, 8 Apr 2006 11:04:53 +0000 (11:04 +0000)]
readint_le() not needed in USE_WINDOWS_SSPI code.

18 years agocurl_easy_unescape() takes 4 arguments.
Gisle Vanem [Sat, 8 Apr 2006 11:01:40 +0000 (11:01 +0000)]
curl_easy_unescape() takes 4 arguments.

18 years agoFirst commit of David McCreedy's EBCDIC and TPF changes.
Daniel Stenberg [Fri, 7 Apr 2006 21:50:47 +0000 (21:50 +0000)]
First commit of David McCreedy's EBCDIC and TPF changes.

18 years agominor re-arrange to return a value in order to avoid compiler warnings
Daniel Stenberg [Fri, 7 Apr 2006 12:10:34 +0000 (12:10 +0000)]
minor re-arrange to return a value in order to avoid compiler warnings
for not returning a value from a non-void function (even though the code
never actually reached that point before)

18 years agoadded typedefed function pointers and typecast the NULL assignments in an
Daniel Stenberg [Fri, 7 Apr 2006 11:47:21 +0000 (11:47 +0000)]
added typedefed function pointers and typecast the NULL assignments in an
attempt to silence picky compilers when assigning data pointers to a function
pointer variable

18 years agoattempt to avoid warnings in picky environments by storing options as
Daniel Stenberg [Fri, 7 Apr 2006 11:46:16 +0000 (11:46 +0000)]
attempt to avoid warnings in picky environments by storing options as
unsigned chars

18 years agocut off a bit more of the type-2 ntlm message since it differs between
Daniel Stenberg [Wed, 5 Apr 2006 12:46:03 +0000 (12:46 +0000)]
cut off a bit more of the type-2 ntlm message since it differs between
hosts

18 years agoMichele Bini modified the NTLM code to work for his "weird IIS case"
Daniel Stenberg [Wed, 5 Apr 2006 12:35:48 +0000 (12:35 +0000)]
Michele Bini modified the NTLM code to work for his "weird IIS case"
(http://curl.haxx.se/mail/lib-2006-02/0154.html) by adding the NTLM hash
function in addition to the LM one and making some other adjustments in the
order the different parts of the data block are sent in the Type-2 reply.
Inspiration for this work was taken from the Firefox NTLM implementation.

I edited the existing 21(!) NTLM test cases to run fine with these news. Due
to the fact that we now properly include the host name in the Type-2 message
the test cases now only compare parts of that chunk.

18 years agofor the CURLDEBUG case, we redefine sprintf and vsprintf to make us notice
Daniel Stenberg [Tue, 28 Mar 2006 10:08:54 +0000 (10:08 +0000)]
for the CURLDEBUG case, we redefine sprintf and vsprintf to make us notice
if any use of such a function slip through

18 years ago#1451929 (http://curl.haxx.se/bug/view.cgi?id=1451929) detailed a bug that
Daniel Stenberg [Tue, 28 Mar 2006 08:03:25 +0000 (08:03 +0000)]
#1451929 (curl.haxx.se/bug/view.cgi?id=1451929) detailed a bug that
occurred when asking libcurl to follow HTTP redirects and the original URL had
more than one question mark (?). Added test case 276 to verify.

18 years agoconverted sprintf() to snprintf() to reduce risk
Daniel Stenberg [Tue, 28 Mar 2006 07:51:59 +0000 (07:51 +0000)]
converted sprintf() to snprintf() to reduce risk

18 years agoDavid Byron found a problem multiple -d options when libcurl was built with
Daniel Stenberg [Mon, 27 Mar 2006 21:59:40 +0000 (21:59 +0000)]
David Byron found a problem multiple -d options when libcurl was built with
--enable-debug, as then curl used free() on memory allocated both with
normal malloc() and with libcurl-provided functions, when the latter MUST be
freed with curl_free() in debug builds.

18 years agominor Makefile fix - let's go 2006;
Gunter Knauf [Mon, 27 Mar 2006 14:34:19 +0000 (14:34 +0000)]
minor Makefile fix - let's go 2006;
avoid kiling hugehelp.c when not built from CVS.

18 years agoTor Arntsen figured out that TFTP was broken on a lot of systems since we
Daniel Stenberg [Sun, 26 Mar 2006 08:52:43 +0000 (08:52 +0000)]
Tor Arntsen figured out that TFTP was broken on a lot of systems since we
called bind() with a too big argument in the 3rd parameter and at least
Tru64, AIX and IRIX seem to be very picky about it.

18 years agoDavid McCreedy added CURLINFO_FTP_ENTRY_PATH to export the FTP entry path
Daniel Stenberg [Tue, 21 Mar 2006 22:30:03 +0000 (22:30 +0000)]
David McCreedy added CURLINFO_FTP_ENTRY_PATH to export the FTP entry path

18 years agoXavier Bouchoux made the SSL connection non-blocking for the multi interface
Daniel Stenberg [Tue, 21 Mar 2006 21:54:44 +0000 (21:54 +0000)]
Xavier Bouchoux made the SSL connection non-blocking for the multi interface
(when using OpenSSL).

18 years agoTor Arntsen fixed the AIX Toolbox RPM spec
Daniel Stenberg [Tue, 21 Mar 2006 13:34:41 +0000 (13:34 +0000)]
Tor Arntsen fixed the AIX Toolbox RPM spec

18 years agoDavid McCreedy fixed libcurl to no longer ignore AUTH failures and now it
Daniel Stenberg [Mon, 20 Mar 2006 22:51:08 +0000 (22:51 +0000)]
David McCreedy fixed libcurl to no longer ignore AUTH failures and now it
reacts properly according to the CURLOPT_FTP_SSL setting.

18 years agomention today's fixes
Daniel Stenberg [Mon, 20 Mar 2006 22:25:14 +0000 (22:25 +0000)]
mention today's fixes

18 years ago7.15.3 contributors
Daniel Stenberg [Mon, 20 Mar 2006 22:24:02 +0000 (22:24 +0000)]
7.15.3 contributors

18 years agoFixed a bug whereby a received file whose length was a multiple of
Dan Fandrich [Mon, 20 Mar 2006 22:15:22 +0000 (22:15 +0000)]
Fixed a bug whereby a received file whose length was a multiple of
512 bytes could have random garbage appended.  Also, stop processing TFTP
packets which are too short to be legal.

18 years agooff-by-one for the case when it adds /? and a terminating zero to the URL
Daniel Stenberg [Mon, 20 Mar 2006 13:14:01 +0000 (13:14 +0000)]
off-by-one for the case when it adds /? and a terminating zero to the URL

18 years agostart working towards 7.15.4
Daniel Stenberg [Mon, 20 Mar 2006 09:03:09 +0000 (09:03 +0000)]
start working towards 7.15.4

18 years agofixed the AIX packages
Daniel Stenberg [Mon, 20 Mar 2006 07:59:45 +0000 (07:59 +0000)]
fixed the AIX packages

18 years agomissing in CVS
Daniel Stenberg [Mon, 20 Mar 2006 07:37:10 +0000 (07:37 +0000)]
missing in CVS

18 years agofixed tftp packet overflow risk
Daniel Stenberg [Mon, 20 Mar 2006 07:32:50 +0000 (07:32 +0000)]
fixed tftp packet overflow risk

18 years agoslight rewording based on debian bug report #357388 by Justin Pryzby
Daniel Stenberg [Fri, 17 Mar 2006 08:22:50 +0000 (08:22 +0000)]
slight rewording based on debian bug report #357388 by Justin Pryzby

18 years agofixed in CVS
Daniel Stenberg [Thu, 16 Mar 2006 22:31:04 +0000 (22:31 +0000)]
fixed in CVS

18 years agoAIX Toolbox RPM spec file by Tor Arntsen
Daniel Stenberg [Thu, 16 Mar 2006 21:23:41 +0000 (21:23 +0000)]
AIX Toolbox RPM spec file by Tor Arntsen

18 years agoslightly edited explanation for -f/--fail by the help of Kjell Ericson
Daniel Stenberg [Wed, 15 Mar 2006 21:21:35 +0000 (21:21 +0000)]
slightly edited explanation for -f/--fail by the help of Kjell Ericson

18 years agouse the new types accordingly
Daniel Stenberg [Tue, 14 Mar 2006 00:07:21 +0000 (00:07 +0000)]
use the new types accordingly

18 years ago--ftp-method and CURLOPT_FTP_FILEMETHOD are now documented and usable
Daniel Stenberg [Tue, 14 Mar 2006 00:05:15 +0000 (00:05 +0000)]
--ftp-method and CURLOPT_FTP_FILEMETHOD are now documented and usable

18 years agoDavid McCreedy found a use of the wrong variable when display the error
Daniel Stenberg [Mon, 13 Mar 2006 23:34:25 +0000 (23:34 +0000)]
David McCreedy found a use of the wrong variable when display the error
text from OpenSSL.

18 years agoDavid McCreedy found a missing return code assignment
Daniel Stenberg [Mon, 13 Mar 2006 23:33:46 +0000 (23:33 +0000)]
David McCreedy found a missing return code assignment

18 years agoScott Worley's typo fixes
Daniel Stenberg [Mon, 13 Mar 2006 19:44:36 +0000 (19:44 +0000)]
Scott Worley's typo fixes

18 years agoPeter Heuchert's correction for the clear control connection case
Daniel Stenberg [Wed, 8 Mar 2006 15:46:21 +0000 (15:46 +0000)]
Peter Heuchert's correction for the clear control connection case

18 years agoMarkus Koetter filed debian bug report #355715 which identified a problem
Daniel Stenberg [Tue, 7 Mar 2006 23:11:41 +0000 (23:11 +0000)]
Markus Koetter filed debian bug report #355715 which identified a problem
with the multi interface and multi-part formposts. The fix from February
22nd could make the Curl_done() function get called twice on the same
connection and it was not designed for that and thus tried to call free() on
an already freed memory area!

18 years agoPeter Heuchert made sure the CURLFTPSSL_CONTROL setting for CURLOPT_FTP_SSL
Daniel Stenberg [Tue, 7 Mar 2006 22:28:08 +0000 (22:28 +0000)]
Peter Heuchert made sure the CURLFTPSSL_CONTROL setting for CURLOPT_FTP_SSL
is used properly.

18 years agoLots of users on Windows have reported getting the "SSL: couldn't set
Daniel Stenberg [Mon, 6 Mar 2006 22:35:51 +0000 (22:35 +0000)]
Lots of users on Windows have reported getting the "SSL: couldn't set
callback" error message so I've now made the setting of that callback not be
as critical as before. The function is only used for additional loggging/
trace anyway so a failure just means slightly less data. It should still be
able to proceed and connect fine to the server.

18 years agobuild fix for Interix
Daniel Stenberg [Sat, 4 Mar 2006 22:39:31 +0000 (22:39 +0000)]
build fix for Interix

18 years agoIf run on a curl built shared, detect this and invoke libtool for gdb
Daniel Stenberg [Fri, 3 Mar 2006 14:37:44 +0000 (14:37 +0000)]
If run on a curl built shared, detect this and invoke libtool for gdb
accordingly.

18 years agoadded test524
Daniel Stenberg [Fri, 3 Mar 2006 13:12:39 +0000 (13:12 +0000)]
added test524

18 years agoPrevent uploading to a URL that has no file name part.
Daniel Stenberg [Fri, 3 Mar 2006 13:09:30 +0000 (13:09 +0000)]
Prevent uploading to a URL that has no file name part.

18 years agopoint out that CAINFO points out a file name by default
Daniel Stenberg [Thu, 2 Mar 2006 22:09:30 +0000 (22:09 +0000)]
point out that CAINFO points out a file name by default

18 years agoadded large chunk of blurb about the progress meter
Daniel Stenberg [Thu, 2 Mar 2006 22:04:39 +0000 (22:04 +0000)]
added large chunk of blurb about the progress meter

18 years agoI'm pretty sure #24 is fixed in 7.15.2
Daniel Stenberg [Thu, 2 Mar 2006 13:35:54 +0000 (13:35 +0000)]
I'm pretty sure #24 is fixed in 7.15.2

18 years agomention Dan F's out-of-file handles fix from the other day
Daniel Stenberg [Thu, 2 Mar 2006 11:41:23 +0000 (11:41 +0000)]
mention Dan F's out-of-file handles fix from the other day

18 years agocheck for and use getprotobyname
Daniel Stenberg [Thu, 2 Mar 2006 11:37:05 +0000 (11:37 +0000)]
check for and use getprotobyname

18 years agoDon't lock up at start when there aren't any free file descriptors.
Dan Fandrich [Tue, 28 Feb 2006 18:21:33 +0000 (18:21 +0000)]
Don't lock up at start when there aren't any free file descriptors.

18 years agoadded missing files
Daniel Stenberg [Mon, 27 Feb 2006 21:32:42 +0000 (21:32 +0000)]
added missing files

18 years agoack, removed duplicate
Daniel Stenberg [Mon, 27 Feb 2006 18:17:50 +0000 (18:17 +0000)]
ack, removed duplicate

18 years ago7.15.2 contributors added
Daniel Stenberg [Mon, 27 Feb 2006 18:16:47 +0000 (18:16 +0000)]
7.15.2 contributors added

18 years agostart over on what might become 7.15.3
Daniel Stenberg [Mon, 27 Feb 2006 18:14:14 +0000 (18:14 +0000)]
start over on what might become 7.15.3

18 years agohehe, wrong year but who reads these lines anyway? ;-)
Daniel Stenberg [Mon, 27 Feb 2006 16:09:24 +0000 (16:09 +0000)]
hehe, wrong year but who reads these lines anyway? ;-)

18 years ago7.15.2
Daniel Stenberg [Mon, 27 Feb 2006 16:05:16 +0000 (16:05 +0000)]
7.15.2

18 years agoSmall fix.
Gisle Vanem [Sun, 26 Feb 2006 18:20:43 +0000 (18:20 +0000)]
Small fix.

18 years agoUse getprotobyname() to retrieve protocol number for TCP
Gisle Vanem [Sun, 26 Feb 2006 17:08:33 +0000 (17:08 +0000)]
Use getprotobyname() to retrieve protocol number for TCP
(sorry, I don't know how to add this to the configure process).

18 years agoFix typo.
Gisle Vanem [Sat, 25 Feb 2006 18:57:20 +0000 (18:57 +0000)]
Fix typo.

18 years agoAdded user ID support to SOCKS4.
Dan Fandrich [Fri, 24 Feb 2006 21:35:48 +0000 (21:35 +0000)]
Added user ID support to SOCKS4.

18 years agoFixed typo, the option is called --write-out. Bob Bagwill pointed out.
Daniel Stenberg [Thu, 23 Feb 2006 21:33:02 +0000 (21:33 +0000)]
Fixed typo, the option is called --write-out. Bob Bagwill pointed out.

18 years agoargh, forgot the check for a connection before we call Curl_done
Daniel Stenberg [Thu, 23 Feb 2006 21:29:48 +0000 (21:29 +0000)]
argh, forgot the check for a connection before we call Curl_done

18 years agoFixed a few more comment typos.
Dan Fandrich [Thu, 23 Feb 2006 18:39:22 +0000 (18:39 +0000)]
Fixed a few more comment typos.

18 years agoPeter Su's SOCKS4 fix
Daniel Stenberg [Thu, 23 Feb 2006 14:42:47 +0000 (14:42 +0000)]
Peter Su's SOCKS4 fix

18 years agothe last planned fix is done
Daniel Stenberg [Thu, 23 Feb 2006 12:21:24 +0000 (12:21 +0000)]
the last planned fix is done

18 years agoLots of work and analysis by "xbx___" in bug #1431750
Daniel Stenberg [Thu, 23 Feb 2006 12:20:48 +0000 (12:20 +0000)]
Lots of work and analysis by "xbx___" in bug #1431750
(http://curl.haxx.se/bug/view.cgi?id=1431750) helped me identify and fix two
different but related bugs:

1) Removing an easy handle from a multi handle before the transfer is done
   could leave a connection in the connection cache for that handle that is
   in a state that isn't suitable for re-use. A subsequent re-use could then
   read from a NULL pointer and segfault.

2) When an easy handle was removed from the multi handle, there could be an
   outstanding c-ares DNS name resolve request. When the response arrived,
   it caused havoc since the connection struct it "belonged" to could've
   been freed already.

Now Curl_done() is called when an easy handle is removed from a multi handle
pre-maturely (that is, before the transfer was complteted). Curl_done() also
makes sure to cancel all (if any) outstanding c-ares requests.

18 years agoFixed test case 57 (KNOWN_BUG #18)
Dan Fandrich [Wed, 22 Feb 2006 23:55:28 +0000 (23:55 +0000)]
Fixed test case 57 (KNOWN_BUG #18)

18 years agoFixed some spelling errors in comments, and extraneous \n in failf logs.
Dan Fandrich [Wed, 22 Feb 2006 19:09:33 +0000 (19:09 +0000)]
Fixed some spelling errors in comments, and extraneous \n in failf logs.

18 years agotwo typos in comments
Daniel Stenberg [Tue, 21 Feb 2006 15:25:22 +0000 (15:25 +0000)]
two typos in comments

18 years agoPeter Su added support for SOCKS4 proxies. Enable this by setting the proxy
Daniel Stenberg [Tue, 21 Feb 2006 07:46:41 +0000 (07:46 +0000)]
Peter Su added support for SOCKS4 proxies. Enable this by setting the proxy
type to the already provided type CURLPROXY_SOCKS4.
I added a --socks4 option that works like the current --socks5 option but
instead use the socks4 protocol.

18 years agoftp upload with url ending with slash
Daniel Stenberg [Mon, 20 Feb 2006 10:05:47 +0000 (10:05 +0000)]
ftp upload with url ending with slash

18 years agoShmulik Regev fixed an issue with multi-pass authentication and compressed
Daniel Stenberg [Sun, 19 Feb 2006 23:16:48 +0000 (23:16 +0000)]
Shmulik Regev fixed an issue with multi-pass authentication and compressed
content when libcurl didn't honor the internal ignorebody flag.

18 years agoUlf Härnhammar fixed a format string (printf style) problem in the Negotiate
Daniel Stenberg [Sat, 18 Feb 2006 22:27:01 +0000 (22:27 +0000)]
Ulf Härnhammar fixed a format string (printf style) problem in the Negotiate
code. It should however not be the cause of any troubles. He also fixed a
few similar problems in the HTTP test server code.

18 years agoFix spacing.
Yang Tse [Fri, 17 Feb 2006 15:58:21 +0000 (15:58 +0000)]
Fix spacing.

18 years agofixed formatting
Daniel Stenberg [Fri, 17 Feb 2006 13:31:49 +0000 (13:31 +0000)]
fixed formatting

18 years agoShmulik Regev provided a fix for the DNS cache when using short life times,
Daniel Stenberg [Thu, 16 Feb 2006 23:42:32 +0000 (23:42 +0000)]
Shmulik Regev provided a fix for the DNS cache when using short life times,
as previously it could be holding on to old cached entries longer than
requested.

18 years agoGopher is no longer supported.
Dan Fandrich [Thu, 16 Feb 2006 19:19:32 +0000 (19:19 +0000)]
Gopher is no longer supported.

18 years agotwo items before release
Daniel Stenberg [Thu, 16 Feb 2006 12:11:20 +0000 (12:11 +0000)]
two items before release

18 years agoAdded some clarifying comments
Daniel Stenberg [Thu, 16 Feb 2006 10:02:11 +0000 (10:02 +0000)]
Added some clarifying comments

18 years ago32. (At least on Windows) If libcurl is built with c-ares and there's no DNS
Daniel Stenberg [Wed, 15 Feb 2006 09:36:39 +0000 (09:36 +0000)]
32. (At least on Windows) If libcurl is built with c-ares and there's no DNS
  server configured in the system, the ares_init() call fails and thus
  curl_easy_init() fails as well. This causes weird effects for people who use
  numerical IP addresses only.

18 years agomention the CURLOPT_CONNECT_ONLY connection
Daniel Stenberg [Sat, 11 Feb 2006 22:36:29 +0000 (22:36 +0000)]
mention the CURLOPT_CONNECT_ONLY connection

18 years agoKarl M added the CURLOPT_CONNECT_ONLY and CURLINFO_LASTSOCKET options that
Daniel Stenberg [Sat, 11 Feb 2006 22:35:16 +0000 (22:35 +0000)]
Karl M added the CURLOPT_CONNECT_ONLY and CURLINFO_LASTSOCKET options that
an app can use to let libcurl only connect to a remote host and then extract
the socket from libcurl. libcurl will then not attempt to do any transfer at
all after the connect is done.

18 years agoKent Boortz improved the configure check for GnuTLS to properly set LIBS
Daniel Stenberg [Sat, 11 Feb 2006 12:56:52 +0000 (12:56 +0000)]
Kent Boortz improved the configure check for GnuTLS to properly set LIBS
instead of LDFLAGS.

18 years agoCURLOPT_NOSIGNAL might be a MUST to make threaded use work, like on AIX 5.2
Daniel Stenberg [Thu, 9 Feb 2006 22:25:41 +0000 (22:25 +0000)]
CURLOPT_NOSIGNAL might be a MUST to make threaded use work, like on AIX 5.2
due to the use of the static variable for sigsetjmp()

18 years agoPhilippe Vaucher provided a brilliant piece of test code that show a problem
Daniel Stenberg [Tue, 7 Feb 2006 23:09:04 +0000 (23:09 +0000)]
Philippe Vaucher provided a brilliant piece of test code that show a problem
with re-used FTP connections. If the second request on the same connection was
set not to fetch a "body", libcurl could get confused and consider it an
attempt to use a dead connection and would go acting mighty strange.

18 years agoavoid illegal memory access when doing "-T [URL] [URL]"
Daniel Stenberg [Tue, 7 Feb 2006 18:56:41 +0000 (18:56 +0000)]
avoid illegal memory access when doing "-T [URL] [URL]"

18 years agoRene Bernhardt found this typo
Daniel Stenberg [Tue, 7 Feb 2006 14:03:17 +0000 (14:03 +0000)]
Rene Bernhardt found this typo

18 years agohow silly, the cookie expired! ;-)
Daniel Stenberg [Mon, 6 Feb 2006 20:02:14 +0000 (20:02 +0000)]
how silly, the cookie expired! ;-)

18 years agoFrank's synctime.c example and an updated list in README
Daniel Stenberg [Sat, 4 Feb 2006 18:08:54 +0000 (18:08 +0000)]
Frank's synctime.c example and an updated list in README

18 years agofixed --limit-rate
Daniel Stenberg [Wed, 1 Feb 2006 23:28:22 +0000 (23:28 +0000)]
fixed --limit-rate

18 years agoMake --limit-rate [num] mean bytes. Seems I broke it back in november 2005...
Daniel Stenberg [Wed, 1 Feb 2006 23:26:14 +0000 (23:26 +0000)]
Make --limit-rate [num] mean bytes. Seems I broke it back in november 2005...

18 years agoSquelch the "warning: 'port' might be used uninitialized in this function".
Gisle Vanem [Mon, 30 Jan 2006 18:57:02 +0000 (18:57 +0000)]
Squelch the "warning: 'port' might be used uninitialized in this function".
(occurs w/o ENABLE_IPV6).

18 years agoAdded CURLOPT_LOCALPORT and CURLOPT_LOCALPORTRANGE to libcurl. Set with the
Daniel Stenberg [Mon, 30 Jan 2006 08:24:07 +0000 (08:24 +0000)]
Added CURLOPT_LOCALPORT and CURLOPT_LOCALPORTRANGE to libcurl. Set with the
curl tool with --local-port. Plain and simply set the range of ports to bind
the local end of connections to. Implemented on to popular demand.

Not extensively tested. Please let me know how it works.

18 years agoBased on an error report by Philippe Vaucher, we no longer count a retried
Daniel Stenberg [Mon, 30 Jan 2006 08:20:52 +0000 (08:20 +0000)]
Based on an error report by Philippe Vaucher, we no longer count a retried
connection setup as a follow-redirect. It turns out 1) this fails when a FTP
connection is re-setup and 2) it does make the max-redirs counter behave
wrong. This fix was not verified since the reporter vanished, but I believe
this is the right fix nonetheless.

18 years agomore mirrors
Daniel Stenberg [Sun, 29 Jan 2006 13:13:45 +0000 (13:13 +0000)]
more mirrors