platform/upstream/curl.git
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

19 years agoadded comment about port number in CONNECT string being used as test number
Daniel Stenberg [Thu, 2 Dec 2004 17:11:09 +0000 (17:11 +0000)]
added comment about port number in CONNECT string being used as test number

19 years agoprevent an initial "(nil)" to get sent in the initial request when doing
Daniel Stenberg [Thu, 2 Dec 2004 17:08:37 +0000 (17:08 +0000)]
prevent an initial "(nil)" to get sent in the initial request when doing
CONNECT to a proxy with digest

19 years agoUse "HAVE_SYS_TYPES_H".
Gisle Vanem [Wed, 1 Dec 2004 13:41:22 +0000 (13:41 +0000)]
Use "HAVE_SYS_TYPES_H".

19 years agomake the "check" actually open all those file desciptors as well to make sure
Daniel Stenberg [Wed, 1 Dec 2004 10:34:46 +0000 (10:34 +0000)]
make the "check" actually open all those file desciptors as well to make sure
it works, as it has proved to not work in some cases (like on Tor Arntsen's
AIX 5100-06 xlc 5.0 --disable-shared runs).

19 years agoalarm() works unreliable on djgpp 2.03. Don't use it.
Gisle Vanem [Tue, 30 Nov 2004 14:59:24 +0000 (14:59 +0000)]
alarm() works unreliable on djgpp 2.03. Don't use it.

19 years agorecent changes
Daniel Stenberg [Tue, 30 Nov 2004 10:21:25 +0000 (10:21 +0000)]
recent changes

19 years agofixed test case errors
Daniel Stenberg [Tue, 30 Nov 2004 10:20:59 +0000 (10:20 +0000)]
fixed test case errors

19 years agothree new compress test cases
Daniel Stenberg [Tue, 30 Nov 2004 09:54:16 +0000 (09:54 +0000)]
three new compress test cases

19 years agoFixed the array comparison function even more, made the temporary files used
Daniel Stenberg [Tue, 30 Nov 2004 09:53:53 +0000 (09:53 +0000)]
Fixed the array comparison function even more, made the temporary files used
for diff output get created in the log/ dir and no longer deletes them since
they help in understanding the problem, fixing the test case and fixing curl
problems.

19 years agoDan Fandrich's fix for libz 1.1 and "extra field" usage in a gzip stream
Daniel Stenberg [Tue, 30 Nov 2004 09:44:54 +0000 (09:44 +0000)]
Dan Fandrich's fix for libz 1.1 and "extra field" usage in a gzip stream

19 years agono longer use the MIME::Base64.pm package as it seems to not be standard
Daniel Stenberg [Tue, 30 Nov 2004 09:27:11 +0000 (09:27 +0000)]
no longer use the MIME::Base64.pm package as it seems to not be standard
on lots of perl versions, provide our own base64 decoder

19 years agoadded test 221 to test a broken gzip content download
Daniel Stenberg [Mon, 29 Nov 2004 22:37:52 +0000 (22:37 +0000)]
added test 221 to test a broken gzip content download

19 years agoadded test 220 - simple gzip auto decompress
Daniel Stenberg [Mon, 29 Nov 2004 22:15:42 +0000 (22:15 +0000)]
added test 220 - simple gzip auto decompress

19 years ago--disable-epsv when connecting to an IPv6 ftp server
Daniel Stenberg [Mon, 29 Nov 2004 21:45:25 +0000 (21:45 +0000)]
--disable-epsv when connecting to an IPv6 ftp server

19 years agoremoved comment
Daniel Stenberg [Mon, 29 Nov 2004 21:44:40 +0000 (21:44 +0000)]
removed comment

19 years agoinclude setup.h first
Daniel Stenberg [Mon, 29 Nov 2004 21:44:23 +0000 (21:44 +0000)]
include setup.h first

19 years agoAs reported in Mandrake's bug tracker bug 12285
Daniel Stenberg [Mon, 29 Nov 2004 21:25:07 +0000 (21:25 +0000)]
As reported in Mandrake's bug tracker bug 12285
(http://qa.mandrakesoft.com/show_bug.cgi?id=12285), when connecting to an
IPv6 host with FTP, --disable-epsv (or --disable-eprt) effectively disables
the ability to transfer a file. Now, when connected to an FTP server with
IPv6, these FTP commands can't be disabled even if asked to with the
available libcurl options.

19 years agozero terminate the buffer spitout() returns, as the sws.c code depends on
Daniel Stenberg [Mon, 29 Nov 2004 18:26:09 +0000 (18:26 +0000)]
zero terminate the buffer spitout() returns, as the sws.c code depends on
that!

19 years agomake it possible for a test case to depend on the feature 'libz'
Daniel Stenberg [Mon, 29 Nov 2004 12:23:02 +0000 (12:23 +0000)]
make it possible for a test case to depend on the feature 'libz'

19 years agokilled trailing whitespace
Daniel Stenberg [Mon, 29 Nov 2004 12:11:46 +0000 (12:11 +0000)]
killed trailing whitespace

19 years agoEnable test cases to provide sections base64-encoded to be able to test
Daniel Stenberg [Mon, 29 Nov 2004 12:10:09 +0000 (12:10 +0000)]
Enable test cases to provide sections base64-encoded to be able to test
with binary data.

19 years agoutility to base encode data passed on stdin
Daniel Stenberg [Mon, 29 Nov 2004 12:09:05 +0000 (12:09 +0000)]
utility to base encode data passed on stdin

19 years agostricter newline policy
Daniel Stenberg [Mon, 29 Nov 2004 12:01:07 +0000 (12:01 +0000)]
stricter newline policy

19 years agospell
Daniel Stenberg [Mon, 29 Nov 2004 08:47:33 +0000 (08:47 +0000)]
spell

19 years agoif gmtime() returns NULL, this returns -1 to bail out nicely
Daniel Stenberg [Mon, 29 Nov 2004 08:10:10 +0000 (08:10 +0000)]
if gmtime() returns NULL, this returns -1 to bail out nicely

19 years agoremoved one we won't do, removed the CWD optimize as it is (partly) done
Daniel Stenberg [Sun, 28 Nov 2004 13:04:34 +0000 (13:04 +0000)]
removed one we won't do, removed the CWD optimize as it is (partly) done

19 years agoadd more info to the stderr output
Daniel Stenberg [Sun, 28 Nov 2004 08:57:03 +0000 (08:57 +0000)]
add more info to the stderr output

19 years agotypecast the coversion from long to int
Daniel Stenberg [Sat, 27 Nov 2004 09:27:48 +0000 (09:27 +0000)]
typecast the coversion from long to int

19 years agoprogress meter newline
Daniel Stenberg [Fri, 26 Nov 2004 21:35:14 +0000 (21:35 +0000)]
progress meter newline

19 years agoI changed my mind. Remove ioctl() macro in setup.h instead.
Gisle Vanem [Fri, 26 Nov 2004 16:08:15 +0000 (16:08 +0000)]
I changed my mind. Remove ioctl() macro in setup.h instead.

19 years agoAdded anyauthput.exe.
Gisle Vanem [Fri, 26 Nov 2004 15:04:15 +0000 (15:04 +0000)]
Added anyauthput.exe.

19 years agoRenamed urldata.h members 'ioctl*' to 'ioctrl*' due to
Gisle Vanem [Fri, 26 Nov 2004 14:57:01 +0000 (14:57 +0000)]
Renamed urldata.h members 'ioctl*' to 'ioctrl*' due to
clash with djgpp ioctl() macro in setup.h.

19 years agoAs reported in Mandrake's bug tracker bug 12289
Daniel Stenberg [Fri, 26 Nov 2004 14:33:13 +0000 (14:33 +0000)]
As reported in Mandrake's bug tracker bug 12289
(http://qa.mandrakesoft.com/show_bug.cgi?id=12289), curl would print a newline
to "finish" the progress meter after each redirect and not only after a
completed transfer.

19 years agoremoved no longer used variable
Daniel Stenberg [Fri, 26 Nov 2004 08:52:18 +0000 (08:52 +0000)]
removed no longer used variable

19 years agolast-second-before-commit changes corrected
Daniel Stenberg [Fri, 26 Nov 2004 08:41:39 +0000 (08:41 +0000)]
last-second-before-commit changes corrected

19 years agoFTP improvements:
Daniel Stenberg [Thu, 25 Nov 2004 22:21:49 +0000 (22:21 +0000)]
FTP improvements:

If EPSV, EPRT or LPRT is tried and doesn't work, it will not be retried on
the same server again even if a following request is made using a persistent
connection.

If a second request is made to a server, requesting a file from the same
directory as the previous request operated on, libcurl will no longer make
that long series of CWD commands just to end up on the same spot. Note that
this is only for *exactly* the same dir. There is still room for improvements
to optimize the CWD-sending when the dirs are only slightly different.

Added test 210, 211 and 212 to verify these changes. Had to improve the
test script too and added a new primitive to the test file format.

19 years agomade the code fit within 80 cols
Daniel Stenberg [Thu, 25 Nov 2004 16:49:14 +0000 (16:49 +0000)]
made the code fit within 80 cols

19 years agomingw _has_ a ftruncate() but it doesn't work with 64bit file sizes so we
Daniel Stenberg [Wed, 24 Nov 2004 22:11:18 +0000 (22:11 +0000)]
mingw _has_ a ftruncate() but it doesn't work with 64bit file sizes so we
can just safely pretend we don't have one

19 years agoProvide a 64-bit capable ftruncate(). MingW has one, but
Gisle Vanem [Wed, 24 Nov 2004 19:34:25 +0000 (19:34 +0000)]
Provide a 64-bit capable ftruncate(). MingW has one, but
it takes only 32-bit offsets.

19 years agoadded missing new error string
Daniel Stenberg [Wed, 24 Nov 2004 18:25:33 +0000 (18:25 +0000)]
added missing new error string

19 years agomingw has a ftruncate() function
Daniel Stenberg [Wed, 24 Nov 2004 16:16:36 +0000 (16:16 +0000)]
mingw has a ftruncate() function

19 years agoHTTP "auth done right". See lib/README.httpauth
Daniel Stenberg [Wed, 24 Nov 2004 16:11:35 +0000 (16:11 +0000)]
HTTP "auth done right". See lib/README.httpauth

19 years agodecided to skip the MSVC makefile fixes, nobody seems to really want them
Daniel Stenberg [Wed, 24 Nov 2004 16:08:41 +0000 (16:08 +0000)]
decided to skip the MSVC makefile fixes, nobody seems to really want them
and they are rather excessive

19 years agoAndrés García fixed the configure script to detect select properly when run
Daniel Stenberg [Wed, 24 Nov 2004 15:49:43 +0000 (15:49 +0000)]
Andrés García fixed the configure script to detect select properly when run
with Msys/Mingw on Windows.

19 years agoClarify the static vs. import lib issue on Win32.
Gisle Vanem [Wed, 24 Nov 2004 15:14:42 +0000 (15:14 +0000)]
Clarify the static vs. import lib issue on Win32.

19 years agoadded a bunch of people who really deserve to be here
Daniel Stenberg [Tue, 23 Nov 2004 22:15:49 +0000 (22:15 +0000)]
added a bunch of people who really deserve to be here

19 years agooops, use the precheck too!
Daniel Stenberg [Tue, 23 Nov 2004 10:05:10 +0000 (10:05 +0000)]
oops, use the precheck too!

19 years agocut out release with no issue to fix
Daniel Stenberg [Tue, 23 Nov 2004 09:52:56 +0000 (09:52 +0000)]
cut out release with no issue to fix

19 years agointroducing the client/precheck concept to allow test 518 to *only* run when
Daniel Stenberg [Tue, 23 Nov 2004 09:50:16 +0000 (09:50 +0000)]
introducing the client/precheck concept to allow test 518 to *only* run when
it actually can run and test the FD_SETSIZE stuff it is meant to test

19 years agoyet another binding
Daniel Stenberg [Tue, 23 Nov 2004 09:22:23 +0000 (09:22 +0000)]
yet another binding

19 years agoDavid Phillips fix for test 518 and my extension to make it not run on
Daniel Stenberg [Mon, 22 Nov 2004 22:26:46 +0000 (22:26 +0000)]
David Phillips fix for test 518 and my extension to make it not run on
systems that can't run it fine.

19 years agotrying a version with URLs for all function calls
Daniel Stenberg [Mon, 22 Nov 2004 16:24:46 +0000 (16:24 +0000)]
trying a version with URLs for all function calls

19 years agoissue 52 is fixed, I work on 51
Daniel Stenberg [Mon, 22 Nov 2004 15:49:17 +0000 (15:49 +0000)]
issue 52 is fixed, I work on 51

19 years agoremoved trailing whitespace
Daniel Stenberg [Mon, 22 Nov 2004 14:41:36 +0000 (14:41 +0000)]
removed trailing whitespace

19 years agoremoved unused variable and trailing whitespace
Daniel Stenberg [Mon, 22 Nov 2004 14:41:24 +0000 (14:41 +0000)]
removed unused variable and trailing whitespace

19 years agoremove curl_ prefix from functions not present in libcurl
Daniel Stenberg [Mon, 22 Nov 2004 14:07:23 +0000 (14:07 +0000)]
remove curl_ prefix from functions not present in libcurl

19 years agore-indented to curl style
Daniel Stenberg [Mon, 22 Nov 2004 13:48:35 +0000 (13:48 +0000)]
re-indented to curl style

19 years agorenamed curl_thread to my_thread to avoid confusion
Daniel Stenberg [Mon, 22 Nov 2004 13:43:52 +0000 (13:43 +0000)]
renamed curl_thread to my_thread to avoid confusion

19 years agoadd URLs in comments for all libcurl function calls
Daniel Stenberg [Mon, 22 Nov 2004 13:39:23 +0000 (13:39 +0000)]
add URLs in comments for all libcurl function calls

19 years agoCurl_select's timeout arg is an int
Daniel Stenberg [Mon, 22 Nov 2004 13:28:44 +0000 (13:28 +0000)]
Curl_select's timeout arg is an int

19 years agothe FD_SETSIZE problem is fixed
Daniel Stenberg [Sun, 21 Nov 2004 23:13:13 +0000 (23:13 +0000)]
the FD_SETSIZE problem is fixed

19 years agoThe FD_SETSIZE issue is already sorted, at least internally. We still need
Daniel Stenberg [Sun, 21 Nov 2004 13:18:36 +0000 (13:18 +0000)]
The FD_SETSIZE issue is already sorted, at least internally. We still need
to provide a better multi-API to allow apps to avoid select().

19 years agoadded comment for windows people about READFUNCTION being needed
Daniel Stenberg [Sun, 21 Nov 2004 12:42:28 +0000 (12:42 +0000)]
added comment for windows people about READFUNCTION being needed