platform/upstream/curl.git
19 years agos/_write/write/g
Gisle Vanem [Fri, 17 Dec 2004 18:31:40 +0000 (18:31 +0000)]
s/_write/write/g

19 years agoFix calling convention of wlap32.dll function. Watcom
Gisle Vanem [Fri, 17 Dec 2004 17:54:21 +0000 (17:54 +0000)]
Fix calling convention of wlap32.dll function. Watcom
uses fastcall by default, so force cdecl.

19 years agoWatcom has 'struct timeval'.
Gisle Vanem [Fri, 17 Dec 2004 17:49:10 +0000 (17:49 +0000)]
Watcom has 'struct timeval'.

19 years agoAdd libidn.a and iconv libraries if USE_IDNA=1.
Gisle Vanem [Fri, 17 Dec 2004 12:43:02 +0000 (12:43 +0000)]
Add libidn.a and iconv libraries if USE_IDNA=1.

19 years agoAdded option for using C-ares and libidn.
Gisle Vanem [Fri, 17 Dec 2004 12:38:06 +0000 (12:38 +0000)]
Added option for using C-ares and libidn.
Dependencies generated from $(CSOURCES).

19 years agogetdate.c is gone.
Gisle Vanem [Fri, 17 Dec 2004 12:28:04 +0000 (12:28 +0000)]
getdate.c is gone.

19 years agoPrint true netrc name (.netrc/_netrc).
Gisle Vanem [Fri, 17 Dec 2004 12:26:18 +0000 (12:26 +0000)]
Print true netrc name (.netrc/_netrc).

19 years agoavoid an extra malloc
Daniel Stenberg [Fri, 17 Dec 2004 10:09:32 +0000 (10:09 +0000)]
avoid an extra malloc

19 years agoduplicate ! typo
Daniel Stenberg [Fri, 17 Dec 2004 10:09:06 +0000 (10:09 +0000)]
duplicate ! typo

19 years agofixed minor memory leak when running out of memory
Daniel Stenberg [Fri, 17 Dec 2004 09:00:19 +0000 (09:00 +0000)]
fixed minor memory leak when running out of memory

19 years agooops, add missing return keyword
Daniel Stenberg [Fri, 17 Dec 2004 08:58:48 +0000 (08:58 +0000)]
oops, add missing return keyword

19 years agofix skip-reason
Daniel Stenberg [Thu, 16 Dec 2004 22:45:06 +0000 (22:45 +0000)]
fix skip-reason

19 years agoseveral windows large-file fixes
Daniel Stenberg [Thu, 16 Dec 2004 22:22:26 +0000 (22:22 +0000)]
several windows large-file fixes

19 years agotwo more ftp directory re-use tests added
Daniel Stenberg [Thu, 16 Dec 2004 22:22:11 +0000 (22:22 +0000)]
two more ftp directory re-use tests added

19 years agoBased on Gisle Vanem's patch: make sure the directory re-use works even when
Daniel Stenberg [Thu, 16 Dec 2004 22:20:33 +0000 (22:20 +0000)]
Based on Gisle Vanem's patch: make sure the directory re-use works even when
a URL-encoded path is used.

19 years agoMust include <io.h> and <sys/stat.h> before redefining
Gisle Vanem [Thu, 16 Dec 2004 21:27:29 +0000 (21:27 +0000)]
Must include <io.h> and <sys/stat.h> before redefining
stat(), fstat() and lseek().

19 years agoRenamed a struct member to avoid conflict with a C++ reserved word.
Dan Fandrich [Thu, 16 Dec 2004 21:27:23 +0000 (21:27 +0000)]
Renamed a struct member to avoid conflict with a C++ reserved word.

19 years agoreduced the number of sub-blocks
Daniel Stenberg [Thu, 16 Dec 2004 18:18:23 +0000 (18:18 +0000)]
reduced the number of sub-blocks

19 years agomoved the lseek() and stat() magic defines to setup.h and now take advantage
Daniel Stenberg [Thu, 16 Dec 2004 18:09:27 +0000 (18:09 +0000)]
moved the lseek() and stat() magic defines to setup.h and now take advantage
of struct_stat in formdata.c as well, to support formpost uploads of large
files on Windows too

19 years agoSupport uploading and resuming of >2GB files.
Gisle Vanem [Thu, 16 Dec 2004 16:49:14 +0000 (16:49 +0000)]
Support uploading and resuming of >2GB files.
Ref. lib/file.c.

19 years agoProvide better reasons for why test cases are skipped. Also, don't show the
Daniel Stenberg [Thu, 16 Dec 2004 14:18:11 +0000 (14:18 +0000)]
Provide better reasons for why test cases are skipped. Also, don't show the
SKIPPED stuff in the short output. Some platforms get quite a lot of SKIPPED
and they don't add much value and only clutter screen space.

19 years agoNULL the fp pointer after it has been fclosed()
Daniel Stenberg [Thu, 16 Dec 2004 13:55:19 +0000 (13:55 +0000)]
NULL the fp pointer after it has been fclosed()

19 years agoDinar in bug report #1086121, found a file handle leak when a multipart
Daniel Stenberg [Thu, 16 Dec 2004 09:52:36 +0000 (09:52 +0000)]
Dinar in bug report #1086121, found a file handle leak when a multipart
formpost (including a file upload part) was aborted before the whole file was
sent.

19 years agoFix the --enable-debug compiler warning options for older versions of gcc.
Dan Fandrich [Wed, 15 Dec 2004 21:09:53 +0000 (21:09 +0000)]
Fix the --enable-debug compiler warning options for older versions of gcc.

19 years agoyet another mirror!
Daniel Stenberg [Wed, 15 Dec 2004 14:09:52 +0000 (14:09 +0000)]
yet another mirror!

19 years agoprecaution to prevent double typedefs of the bool
Daniel Stenberg [Wed, 15 Dec 2004 14:05:07 +0000 (14:05 +0000)]
precaution to prevent double typedefs of the bool

19 years agomoved the bool typedef to setup.h
Daniel Stenberg [Wed, 15 Dec 2004 10:33:51 +0000 (10:33 +0000)]
moved the bool typedef to setup.h

19 years agofixed how backslashes are treated in glob strings
Daniel Stenberg [Wed, 15 Dec 2004 09:23:24 +0000 (09:23 +0000)]
fixed how backslashes are treated in glob strings

19 years agoMake some arrays of pointers const, too.
Dan Fandrich [Wed, 15 Dec 2004 03:03:45 +0000 (03:03 +0000)]
Make some arrays of pointers const, too.

19 years agoMake some arrays of pointers const, too.
Dan Fandrich [Wed, 15 Dec 2004 02:32:04 +0000 (02:32 +0000)]
Make some arrays of pointers const, too.

19 years agoAdd 'const' to immutable arrays.
Dan Fandrich [Wed, 15 Dec 2004 01:38:25 +0000 (01:38 +0000)]
Add 'const' to immutable arrays.

19 years agoclarify that the app must free the engine list
Daniel Stenberg [Tue, 14 Dec 2004 22:47:13 +0000 (22:47 +0000)]
clarify that the app must free the engine list

19 years agoprevent compiler warning when built without engine support
Daniel Stenberg [Tue, 14 Dec 2004 22:06:25 +0000 (22:06 +0000)]
prevent compiler warning when built without engine support

19 years agomake sure the ipv6 http server gets its pid stored in a separate file
Daniel Stenberg [Tue, 14 Dec 2004 21:52:16 +0000 (21:52 +0000)]
make sure the ipv6 http server gets its pid stored in a separate file

19 years agouse the correct variables, not fixed values
Daniel Stenberg [Tue, 14 Dec 2004 21:25:23 +0000 (21:25 +0000)]
use the correct variables, not fixed values

19 years agoHarshal Pradhan fixed changing username/password on a persitent HTTP
Daniel Stenberg [Tue, 14 Dec 2004 21:22:51 +0000 (21:22 +0000)]
Harshal Pradhan fixed changing username/password on a persitent HTTP
connection.

19 years agomistake
Daniel Stenberg [Tue, 14 Dec 2004 21:22:12 +0000 (21:22 +0000)]
mistake

19 years agoOnly declare static variables if they're needed. Fixed some compile warnings.
Dan Fandrich [Tue, 14 Dec 2004 20:44:36 +0000 (20:44 +0000)]
Only declare static variables if they're needed.  Fixed some compile warnings.

19 years agoHeader files are in openssl/ only if USE_OPENSSL is set.
Dan Fandrich [Tue, 14 Dec 2004 20:25:23 +0000 (20:25 +0000)]
Header files are in openssl/ only if USE_OPENSSL is set.

19 years agoRemoved fputc() prototype since it's already in stdio.h
Dan Fandrich [Tue, 14 Dec 2004 20:17:58 +0000 (20:17 +0000)]
Removed fputc() prototype since it's already in stdio.h

19 years agoCaller must free 'engines' list.
Gisle Vanem [Tue, 14 Dec 2004 14:24:04 +0000 (14:24 +0000)]
Caller must free 'engines' list.

19 years agourldata.h: Removed engine_list.
Gisle Vanem [Tue, 14 Dec 2004 14:20:21 +0000 (14:20 +0000)]
urldata.h: Removed engine_list.
ssluse.*: Added SSL_strerror(). Curl_SSL_engines_list() now returns a slist
which must be freed by caller.

19 years agoMoved the CURLE_SSL_ENGINE_INITFAILED error code last in the list so that
Daniel Stenberg [Tue, 14 Dec 2004 09:58:45 +0000 (09:58 +0000)]
Moved the CURLE_SSL_ENGINE_INITFAILED error code last in the list so that
the others remain at previous values.

19 years agoMoved the engine stuff from the root-level of the SessionHandle struct to the
Daniel Stenberg [Tue, 14 Dec 2004 09:36:22 +0000 (09:36 +0000)]
Moved the engine stuff from the root-level of the SessionHandle struct to the
UrlState sub-struct. Also made the engine_list exist for non-ssl builds to
make curl build.

19 years agoDocument CURLINFO_SSL_ENGINES and "--engine".
Gisle Vanem [Mon, 13 Dec 2004 20:14:04 +0000 (20:14 +0000)]
Document CURLINFO_SSL_ENGINES and "--engine".

19 years agoSet 'data->state.os_errno = error' in some places.
Gisle Vanem [Mon, 13 Dec 2004 17:52:55 +0000 (17:52 +0000)]
Set 'data->state.os_errno = error' in some places.
Needed elsewhere too?

19 years agoSupport for "--engine list" option.
Gisle Vanem [Mon, 13 Dec 2004 16:47:36 +0000 (16:47 +0000)]
Support for "--engine list" option.
Moved CURLOPT_SSLENGINE* options to after verbose mode is set.
Added a goto. Eek!

19 years agoAdded handling of CURLINFO_SSL_ENGINES;
Gisle Vanem [Mon, 13 Dec 2004 16:43:00 +0000 (16:43 +0000)]
Added handling of CURLINFO_SSL_ENGINES;
Added Curl_SSL_engines_list(), cleanup SSL in url.c
(no HAVE_OPENSSL_x etc.).

19 years agoHandle new type CURLINFO_SLIST.
Gisle Vanem [Mon, 13 Dec 2004 16:37:27 +0000 (16:37 +0000)]
Handle new type CURLINFO_SLIST.
Handle new info list CURLINFO_SSL_ENGINES.

19 years agoAdded CURLcode CURLE_SSL_ENGINE_INITFAILED,
Gisle Vanem [Mon, 13 Dec 2004 16:35:56 +0000 (16:35 +0000)]
Added CURLcode CURLE_SSL_ENGINE_INITFAILED,
Added CURLINFO_SLIST type for returing a 'struct slist' in
curl_easy_getinfo().
Added CURLINFO_SSL_ENGINES.

19 years agoFixed missing braces warning.
Gisle Vanem [Mon, 13 Dec 2004 11:31:01 +0000 (11:31 +0000)]
Fixed missing braces warning.

19 years agolarge file file:// resumes on windows
Daniel Stenberg [Mon, 13 Dec 2004 10:58:37 +0000 (10:58 +0000)]
large file file:// resumes on windows

19 years agoGisle's fix for resuming large file:// files on windows - slightly edited
Daniel Stenberg [Mon, 13 Dec 2004 10:25:26 +0000 (10:25 +0000)]
Gisle's fix for resuming large file:// files on windows - slightly edited
by me.

19 years agoDan Fandrich did minor corrections to his SSL cleanup patch
Daniel Stenberg [Mon, 13 Dec 2004 08:34:46 +0000 (08:34 +0000)]
Dan Fandrich did minor corrections to his SSL cleanup patch

19 years agoDan Fandrich added libcurl.pc.in to the dist
Daniel Stenberg [Mon, 13 Dec 2004 08:34:17 +0000 (08:34 +0000)]
Dan Fandrich added libcurl.pc.in to the dist

19 years agowhen failing to verify a HTTP server, display what curl said on stderr to
Daniel Stenberg [Sun, 12 Dec 2004 23:31:45 +0000 (23:31 +0000)]
when failing to verify a HTTP server, display what curl said on stderr to
help debugging. (when using ipv6 I fell over this server that didn't have
the ipv6 module loaded)

19 years agoMissing 'in6addr_any' in MingW's lib. ld bug?
Gisle Vanem [Sun, 12 Dec 2004 20:14:25 +0000 (20:14 +0000)]
Missing 'in6addr_any' in MingW's lib. ld bug?

19 years agomodified to use the current error code name, not the obsolete one
Daniel Stenberg [Sat, 11 Dec 2004 22:18:11 +0000 (22:18 +0000)]
modified to use the current error code name, not the obsolete one

19 years agoundef more obsolete defines if CURL_NO_OLDIES is defined
Daniel Stenberg [Sat, 11 Dec 2004 22:17:47 +0000 (22:17 +0000)]
undef more obsolete defines if CURL_NO_OLDIES is defined

19 years agoHTTP IPv6 support added to the test suite
Daniel Stenberg [Sat, 11 Dec 2004 21:41:00 +0000 (21:41 +0000)]
HTTP IPv6 support added to the test suite

19 years agoprovide an error string when resuming fails - and use the proper error code,
Daniel Stenberg [Sat, 11 Dec 2004 18:55:51 +0000 (18:55 +0000)]
provide an error string when resuming fails - and use the proper error code,
not the former one

19 years agofixed error message
Daniel Stenberg [Sat, 11 Dec 2004 18:55:23 +0000 (18:55 +0000)]
fixed error message

19 years agoDan Fandrich:
Daniel Stenberg [Sat, 11 Dec 2004 18:47:22 +0000 (18:47 +0000)]
Dan Fandrich:

Here's a stab at a consolidation of the SSL detection heuristics into
configure. Source files aren't changed by this patch, except for setup.h and
the various config*.h files.  Within the configure script, OPENSSL_ENABLED is
used to determine if SSL is being used or not, and outside configure,
USE_SSLEAY means the same thing; this could be even further unified some day.

Now, when SSL is not detected, configure skips the various checks that are
dependent on SSL, speeding up the configure process and avoiding complications
with cross compiles.  I also updated all the architecture- specific config
files I could see, but I couldn't test them.

19 years agoDan F's initial pkg-config file (not installed yet)
Daniel Stenberg [Sat, 11 Dec 2004 18:46:40 +0000 (18:46 +0000)]
Dan F's initial pkg-config file (not installed yet)

19 years agomention the maybe-missing initial zero in the vernum output
Daniel Stenberg [Sat, 11 Dec 2004 18:38:47 +0000 (18:38 +0000)]
mention the maybe-missing initial zero in the vernum output

19 years agoDan Fandrich: added some missing files. "I can't try them so they might still
Daniel Stenberg [Fri, 10 Dec 2004 21:58:11 +0000 (21:58 +0000)]
Dan Fandrich: added some missing files. "I can't try them so they might still
be broken, but at least they'll be less broken than they are now."

19 years agoDan Fandrich corrects spelling mistakes
Daniel Stenberg [Fri, 10 Dec 2004 21:56:35 +0000 (21:56 +0000)]
Dan Fandrich corrects spelling mistakes

19 years agoDan Fandrich extended the cross compile section and corrected spelling errors
Daniel Stenberg [Fri, 10 Dec 2004 21:55:05 +0000 (21:55 +0000)]
Dan Fandrich extended the cross compile section and corrected spelling errors

19 years agountabified
Daniel Stenberg [Fri, 10 Dec 2004 21:46:00 +0000 (21:46 +0000)]
untabified

19 years agousername and IPv6 numerical address URL parser fix
Daniel Stenberg [Fri, 10 Dec 2004 21:42:55 +0000 (21:42 +0000)]
username and IPv6 numerical address URL parser fix

19 years agoDavid Byron's debug build fix
Daniel Stenberg [Fri, 10 Dec 2004 19:16:51 +0000 (19:16 +0000)]
David Byron's debug build fix

19 years agomove the port number extraction to after the extraction of user name/password,
Daniel Stenberg [Fri, 10 Dec 2004 15:11:11 +0000 (15:11 +0000)]
move the port number extraction to after the extraction of user name/password,
as suggested by Kai Sommerfeld

19 years agotwo new test cases for proxy-CONNECT with NTLM (one doing GET, one doing POST)
Daniel Stenberg [Fri, 10 Dec 2004 14:48:03 +0000 (14:48 +0000)]
two new test cases for proxy-CONNECT with NTLM (one doing GET, one doing POST)

19 years agodon't try the rewind if no http struct is allocated yet
Daniel Stenberg [Fri, 10 Dec 2004 14:45:35 +0000 (14:45 +0000)]
don't try the rewind if no http struct is allocated yet

19 years agoconfigure and curl-config fixes
Daniel Stenberg [Fri, 10 Dec 2004 09:46:14 +0000 (09:46 +0000)]
configure and curl-config fixes

19 years agoAdded two chapters: Custom Request Elements and Debug.
Daniel Stenberg [Fri, 10 Dec 2004 09:45:55 +0000 (09:45 +0000)]
Added two chapters: Custom Request Elements and Debug.

19 years agoignore the getpart tool
Daniel Stenberg [Thu, 9 Dec 2004 09:58:45 +0000 (09:58 +0000)]
ignore the getpart tool

19 years agoclose the connection when a bad test number was requested
Daniel Stenberg [Thu, 9 Dec 2004 09:58:25 +0000 (09:58 +0000)]
close the connection when a bad test number was requested

19 years agoTon Voon provided a configure fix that should fix the notorious (mostly
Daniel Stenberg [Thu, 9 Dec 2004 09:27:30 +0000 (09:27 +0000)]
Ton Voon provided a configure fix that should fix the notorious (mostly
reported on Solaris) problem where the size_t check fails due to the SSL libs
being found in a dir not searched through by the run-time linker.
patch-tracker entry #1081707.

19 years agoBryan Henderson pointed out in bug report #1081788 that the curl-config
Daniel Stenberg [Thu, 9 Dec 2004 08:06:59 +0000 (08:06 +0000)]
Bryan Henderson pointed out in bug report #1081788 that the curl-config
--vernum output wasn't zero prefixed properly (as claimed in documentation).
This is fixed in maketgz now.

19 years agoupdate the version numbers in the libcurl.plist automaticly on release
Daniel Stenberg [Wed, 8 Dec 2004 23:09:46 +0000 (23:09 +0000)]
update the version numbers in the libcurl.plist automaticly on release

19 years agoMatt Veenstra updated to 7.12.3. Starting now, we'll update the version number
Daniel Stenberg [Wed, 8 Dec 2004 23:09:23 +0000 (23:09 +0000)]
Matt Veenstra updated to 7.12.3. Starting now, we'll update the version number
in this file automatically on releases using the maketgz script.

19 years agoMatt Veenstra:
Daniel Stenberg [Wed, 8 Dec 2004 23:02:55 +0000 (23:02 +0000)]
Matt Veenstra:

- removal of getdate.c
- Added hostares.c, hostasyn.c, hostip4.c, hostip6.c, hostsync.c,
hostthre.c, inet_ntop.c, nwlib.c, parsedate.c, sterror.c, strtoofft.c

I have tested the build on 10.3, and will build on 10.2.8 in the next days.

19 years agoRene Bernhardt found and fixed a buffer overrun in the NTLM code, where
Daniel Stenberg [Tue, 7 Dec 2004 23:09:41 +0000 (23:09 +0000)]
Rene Bernhardt found and fixed a buffer overrun in the NTLM code, where
libcurl always and unconditionally overwrote a stack-based array with 3 zero
bytes. I edited the fix to make it less likely to occur again (and added
a comment explaining the reason to the buffer size).

19 years agominor updates
Daniel Stenberg [Tue, 7 Dec 2004 23:08:28 +0000 (23:08 +0000)]
minor updates

19 years agoNORECURSE clarification, minor formatting update
Daniel Stenberg [Tue, 7 Dec 2004 10:43:21 +0000 (10:43 +0000)]
NORECURSE clarification, minor formatting update

19 years agoCURLFTPSSL_ALL should make sure that the transfer fails if the data connection
Daniel Stenberg [Tue, 7 Dec 2004 10:00:20 +0000 (10:00 +0000)]
CURLFTPSSL_ALL should make sure that the transfer fails if the data connection
isn't set to encrypted properly

19 years agoFixed so that the final error message is sent to the verbose info "stream"
Daniel Stenberg [Mon, 6 Dec 2004 23:04:30 +0000 (23:04 +0000)]
Fixed so that the final error message is sent to the verbose info "stream"
even if no errorbuffer is set.

19 years agoGisle Vanem's fix for better info messages when failing to connect using
Daniel Stenberg [Mon, 6 Dec 2004 22:45:45 +0000 (22:45 +0000)]
Gisle Vanem's fix for better info messages when failing to connect using
the multi interface

19 years ago'crypto_engine' not used.
Gisle Vanem [Mon, 6 Dec 2004 16:36:50 +0000 (16:36 +0000)]
'crypto_engine' not used.

19 years agoReplace MINGW32 with built-in __MINGW32__.
Gisle Vanem [Mon, 6 Dec 2004 14:43:04 +0000 (14:43 +0000)]
Replace MINGW32 with built-in __MINGW32__.

19 years agoHTTP PUT a to a FTP URL with username+password - over HTTP proxy
Daniel Stenberg [Mon, 6 Dec 2004 12:54:50 +0000 (12:54 +0000)]
HTTP PUT a to a FTP URL with username+password - over HTTP proxy

19 years agoDan Fandrich added the --disable-cookies option to configure to build
Daniel Stenberg [Sun, 5 Dec 2004 23:59:32 +0000 (23:59 +0000)]
Dan Fandrich added the --disable-cookies option to configure to build
libcurl without cookie support. This is mainly useful if you want to build a
minimalistic libcurl with no cookies support at all. Like for embedded
systems or similar.

19 years agoRichard Atterer fixed libcurl's way of dealing with the EPSV
Daniel Stenberg [Sun, 5 Dec 2004 23:33:33 +0000 (23:33 +0000)]
Richard Atterer fixed libcurl's way of dealing with the EPSV
response. Previously, libcurl would re-resolve the host name with the new
port number and attempt to connect to that, while it should use the IP from
the control channel. This bug made it hard to EPSV from an FTP server with
multiple IP addresses!

19 years agoCURLOPT_FTPSSLAUTH was added in 7.12.2
Daniel Stenberg [Fri, 3 Dec 2004 11:25:06 +0000 (11:25 +0000)]
CURLOPT_FTPSSLAUTH was added in 7.12.2

19 years agocredit where credit is due
Daniel Stenberg [Fri, 3 Dec 2004 11:06:05 +0000 (11:06 +0000)]
credit where credit is due

19 years agoBug report #1078066: when a chunked transfer was pre-maturely closed exactly
Daniel Stenberg [Fri, 3 Dec 2004 09:31:25 +0000 (09:31 +0000)]
Bug report #1078066: when a chunked transfer was pre-maturely closed exactly
at a chunk boundary it was not considered an error and thus went unnoticed.
Added test case 207 to verify.

19 years agomade the intended one hour default timeout in the CONNECT loop actually work
Daniel Stenberg [Thu, 2 Dec 2004 23:30:13 +0000 (23:30 +0000)]
made the intended one hour default timeout in the CONNECT loop actually work

19 years agocomment cleanup
Daniel Stenberg [Thu, 2 Dec 2004 22:52:14 +0000 (22:52 +0000)]
comment cleanup

19 years agotest 206 - HTTP proxy CONNECT auth Digest
Daniel Stenberg [Thu, 2 Dec 2004 17:11:19 +0000 (17:11 +0000)]
test 206 - HTTP proxy CONNECT auth Digest