platform/upstream/curl.git
18 years agoFix compiler warning
Yang Tse [Fri, 9 Dec 2005 21:09:21 +0000 (21:09 +0000)]
Fix compiler warning

18 years agoUnset HAVE_STRUCT_SOCKADDR_STORAGE when using msvc 6.0 with no PSDK
Yang Tse [Fri, 9 Dec 2005 15:19:07 +0000 (15:19 +0000)]
Unset HAVE_STRUCT_SOCKADDR_STORAGE when using msvc 6.0 with no PSDK

18 years agobuild ulimiter too
Daniel Stenberg [Fri, 9 Dec 2005 10:41:27 +0000 (10:41 +0000)]
build ulimiter too

18 years agoWork around the 1024 connection limit in select(), or rather in the FD_*
Daniel Stenberg [Fri, 9 Dec 2005 10:41:07 +0000 (10:41 +0000)]
Work around the 1024 connection limit in select(), or rather in the FD_*
macros.

18 years agoHandy little tool that increases the amount of max open file descriptors
Daniel Stenberg [Fri, 9 Dec 2005 10:40:19 +0000 (10:40 +0000)]
Handy little tool that increases the amount of max open file descriptors
and then runs a given command line.

18 years agoReplaced nonstandard u_char and u_int types
Dan Fandrich [Thu, 8 Dec 2005 22:59:58 +0000 (22:59 +0000)]
Replaced nonstandard u_char and u_int types

18 years agoFix compiler warning
Yang Tse [Thu, 8 Dec 2005 20:38:04 +0000 (20:38 +0000)]
Fix compiler warning

18 years agoFix compiler warning
Yang Tse [Thu, 8 Dec 2005 19:47:33 +0000 (19:47 +0000)]
Fix compiler warning

18 years agoFixed a lingering omission of gzip support.
Dan Fandrich [Thu, 8 Dec 2005 18:59:19 +0000 (18:59 +0000)]
Fixed a lingering omission of gzip support.

18 years agoFix compiler warning
Yang Tse [Thu, 8 Dec 2005 16:43:32 +0000 (16:43 +0000)]
Fix compiler warning

18 years agoFix a couple of compiler warnings
Yang Tse [Thu, 8 Dec 2005 14:01:04 +0000 (14:01 +0000)]
Fix a couple of compiler warnings

18 years agoIf unable to get curl's version, log all failure details.
Yang Tse [Thu, 8 Dec 2005 11:29:47 +0000 (11:29 +0000)]
If unable to get curl's version, log all failure details.

18 years agoLots of updates to detect what problems we got. They are related
Daniel Stenberg [Wed, 7 Dec 2005 15:43:32 +0000 (15:43 +0000)]
Lots of updates to detect what problems we got. They are related
to the 1024 file descriptor limit in the server...

18 years agoNew version for testing connections against a local server for easier setting
Daniel Stenberg [Wed, 7 Dec 2005 10:07:57 +0000 (10:07 +0000)]
New version for testing connections against a local server for easier setting
up N idle and Z active connections in a controlled manner. This requires a
a HTTP server that supports the server end. I have a modified sws for this
(from the curl test suite) and I may commit the changes required for that
soonish.

18 years agostart working on 7.15.2
Daniel Stenberg [Tue, 6 Dec 2005 23:36:36 +0000 (23:36 +0000)]
start working on 7.15.2

18 years agofresh contributors in the 7.15.1 release
Daniel Stenberg [Tue, 6 Dec 2005 23:34:53 +0000 (23:34 +0000)]
fresh contributors in the 7.15.1 release

18 years ago7.15.1 with the now to be announced security flaw fixed
Daniel Stenberg [Tue, 6 Dec 2005 23:05:51 +0000 (23:05 +0000)]
7.15.1 with the now to be announced security flaw fixed

18 years agomy first collect-random-urls script, just for reference
Daniel Stenberg [Tue, 6 Dec 2005 13:56:56 +0000 (13:56 +0000)]
my first collect-random-urls script, just for reference

18 years agook, these are the test build I've used so far
Daniel Stenberg [Tue, 6 Dec 2005 13:56:28 +0000 (13:56 +0000)]
ok, these are the test build I've used so far

18 years agoYang Tse: fixed compiler warning
Daniel Stenberg [Tue, 6 Dec 2005 07:47:37 +0000 (07:47 +0000)]
Yang Tse: fixed compiler warning

18 years agoYang Tse: With last change logging directory needs to be created sooner.
Daniel Stenberg [Tue, 6 Dec 2005 07:44:18 +0000 (07:44 +0000)]
Yang Tse: With last change logging directory needs to be created sooner.

18 years agoAdded a run-time check to warn if TFTP is going to fail due to portability
Dan Fandrich [Mon, 5 Dec 2005 20:07:05 +0000 (20:07 +0000)]
Added a run-time check to warn if TFTP is going to fail due to portability
issues in the code.

18 years agoYang Tse: make runtests.pl more talkative when unable to find out curl's
Daniel Stenberg [Mon, 5 Dec 2005 19:23:56 +0000 (19:23 +0000)]
Yang Tse: make runtests.pl more talkative when unable to find out curl's
version.

18 years agoYang Tse fixed: Openssl 0.9.9 makes 'const' the SSL_METHOD parameter in
Daniel Stenberg [Mon, 5 Dec 2005 15:14:04 +0000 (15:14 +0000)]
Yang Tse fixed: Openssl 0.9.9 makes 'const' the SSL_METHOD parameter in
SSL_CTX_new and others, and also makes functions SSLv23_client_method,
TLSv1_client_method, etc return a 'const' SSL_METHOD pointer. Previous
versions do not use the 'const' qualifier.

18 years agoAnother Yang Tse warning cleanup raid!
Daniel Stenberg [Mon, 5 Dec 2005 14:10:48 +0000 (14:10 +0000)]
Another Yang Tse warning cleanup raid!

18 years agoRecent OpenSSL returns a 'const' in '*_client_method()'. So avoid
Gisle Vanem [Sun, 4 Dec 2005 18:47:36 +0000 (18:47 +0000)]
Recent OpenSSL returns a 'const' in '*_client_method()'. So avoid
'assignment discards qualifiers from pointer target type' warning.

18 years agoYang Tse adjusted the multiple header inclusion prevention definition
Daniel Stenberg [Fri, 2 Dec 2005 23:23:49 +0000 (23:23 +0000)]
Yang Tse adjusted the multiple header inclusion prevention definition
H_MPRINTF to our more used style __CURL_MPRINTF_H

18 years agoYang Tse's fix to only provide the proto if there is such a function and
Daniel Stenberg [Fri, 2 Dec 2005 23:22:45 +0000 (23:22 +0000)]
Yang Tse's fix to only provide the proto if there is such a function and
we didn't find any proto

18 years agoYang Tse fixed the 4th argument in the sendto() calls
Daniel Stenberg [Fri, 2 Dec 2005 23:22:00 +0000 (23:22 +0000)]
Yang Tse fixed the 4th argument in the sendto() calls

18 years agoJamie Newton pointed out that libcurl's file:// code would close() a zero
Daniel Stenberg [Thu, 1 Dec 2005 23:42:03 +0000 (23:42 +0000)]
Jamie Newton pointed out that libcurl's file:// code would close() a zero
file descriptor if given a non-existing file.

18 years ago#27 is fixed
Daniel Stenberg [Wed, 30 Nov 2005 22:09:24 +0000 (22:09 +0000)]
#27 is fixed

18 years agocast the va_arg() assignment to ftp_filemethod properly
Daniel Stenberg [Wed, 30 Nov 2005 13:09:48 +0000 (13:09 +0000)]
cast the va_arg() assignment to ftp_filemethod properly

18 years agoYang Tse's fix of the inet_pton check
Daniel Stenberg [Tue, 29 Nov 2005 16:17:53 +0000 (16:17 +0000)]
Yang Tse's fix of the inet_pton check

18 years agonew experimental "ftp method" code
Daniel Stenberg [Mon, 28 Nov 2005 23:06:00 +0000 (23:06 +0000)]
new experimental "ftp method" code

18 years agoBryan Henderson
Daniel Stenberg [Mon, 28 Nov 2005 23:05:29 +0000 (23:05 +0000)]
Bryan Henderson

18 years agoYang Tse's changes to provide an inet_pton() proto for the platforms who
Daniel Stenberg [Mon, 28 Nov 2005 20:21:35 +0000 (20:21 +0000)]
Yang Tse's changes to provide an inet_pton() proto for the platforms who
don't have one in order to fix a remaining warning on IRIX 6.2.

18 years agoadded note about the inclusion of curl.h from within this file
Daniel Stenberg [Mon, 28 Nov 2005 07:43:53 +0000 (07:43 +0000)]
added note about the inclusion of curl.h from within this file

18 years agoBryan Henderson: added missing ignores
Daniel Stenberg [Fri, 25 Nov 2005 22:45:50 +0000 (22:45 +0000)]
Bryan Henderson: added missing ignores

18 years agoYang Tse fixed compiler warnings
Daniel Stenberg [Fri, 25 Nov 2005 22:45:06 +0000 (22:45 +0000)]
Yang Tse fixed compiler warnings

18 years agoread_tcp_data() fix to get the proper buffer pointer and size
Daniel Stenberg [Fri, 25 Nov 2005 22:23:28 +0000 (22:23 +0000)]
read_tcp_data() fix to get the proper buffer pointer and size

18 years agoYang Tse: fixes the use of Curl_inet_ntop and Curl_inet_pton with no
Daniel Stenberg [Fri, 25 Nov 2005 22:20:02 +0000 (22:20 +0000)]
Yang Tse: fixes the use of Curl_inet_ntop and Curl_inet_pton with no
prototypes on some platforms, ie IRIX 6.2 MIPS C 6.2

18 years agoYang Tse: fixed compiler warnings
Daniel Stenberg [Fri, 25 Nov 2005 22:14:53 +0000 (22:14 +0000)]
Yang Tse: fixed compiler warnings

18 years agoChange based on Yang Tse's excellent fix to reduce buffer overflow risk and
Daniel Stenberg [Fri, 25 Nov 2005 22:14:28 +0000 (22:14 +0000)]
Change based on Yang Tse's excellent fix to reduce buffer overflow risk and
fixing a compiler warning in the append_scopeid() function.

18 years agoDoug Kaufman corrected my attempt to a generic "skip extra test for function
Daniel Stenberg [Fri, 25 Nov 2005 09:52:19 +0000 (09:52 +0000)]
Doug Kaufman corrected my attempt to a generic "skip extra test for function
F"

18 years agoavoid doing #if an a predef symbol that might not be defined
Daniel Stenberg [Thu, 24 Nov 2005 23:03:25 +0000 (23:03 +0000)]
avoid doing #if an a predef symbol that might not be defined

18 years agoYang Tse: use static on file-private functions
Daniel Stenberg [Thu, 24 Nov 2005 20:39:00 +0000 (20:39 +0000)]
Yang Tse: use static on file-private functions

18 years agoYang Tse: fix compilation errors when SSL is not disabled and HTTP is
Daniel Stenberg [Thu, 24 Nov 2005 20:38:20 +0000 (20:38 +0000)]
Yang Tse: fix compilation errors when SSL is not disabled and HTTP is
disabled

18 years agoYang Tse: removes GOPHER protocol when HTTP is disabled
Daniel Stenberg [Thu, 24 Nov 2005 20:37:13 +0000 (20:37 +0000)]
Yang Tse: removes GOPHER protocol when HTTP is disabled

18 years agoChanges for OpenWatcom 1.4.
Gisle Vanem [Thu, 24 Nov 2005 20:33:38 +0000 (20:33 +0000)]
Changes for OpenWatcom 1.4.

18 years agoDoug Kaufman's set of patches to make curl build fine on DJGPP again using
Daniel Stenberg [Thu, 24 Nov 2005 10:22:46 +0000 (10:22 +0000)]
Doug Kaufman's set of patches to make curl build fine on DJGPP again using
configure.

18 years agomention the colon-only thing for -u and SSPI+NTLM
Daniel Stenberg [Thu, 24 Nov 2005 07:20:13 +0000 (07:20 +0000)]
mention the colon-only thing for -u and SSPI+NTLM

18 years agoYang Tse's patch to silence MSVC warnings
Daniel Stenberg [Wed, 23 Nov 2005 22:59:24 +0000 (22:59 +0000)]
Yang Tse's patch to silence MSVC warnings

18 years agoonly enable NTLM if HTTP and NTLM is not disabled, and if NTLM is disabled
Daniel Stenberg [Wed, 23 Nov 2005 11:51:31 +0000 (11:51 +0000)]
only enable NTLM if HTTP and NTLM is not disabled, and if NTLM is disabled
we define an empty macro for the ntlm cleanup function

18 years agoYang Tse fixed MSVC 6.0 warnings
Daniel Stenberg [Wed, 23 Nov 2005 09:10:00 +0000 (09:10 +0000)]
Yang Tse fixed MSVC 6.0 warnings

18 years agofix compiler warning
Daniel Stenberg [Fri, 18 Nov 2005 07:23:50 +0000 (07:23 +0000)]
fix compiler warning

19 years agoI extended a patch from David Shaw to make libcurl _always_ provide an error
Daniel Stenberg [Thu, 17 Nov 2005 14:29:54 +0000 (14:29 +0000)]
I extended a patch from David Shaw to make libcurl _always_ provide an error
string in the given error buffer to address the flaw mention on 21 sep 2005.

19 years agoTFTP
Daniel Stenberg [Thu, 17 Nov 2005 14:28:58 +0000 (14:28 +0000)]
TFTP

19 years agoApplied Albert Chin's patch that makes the libcurl.pc pkgconfig file get
Daniel Stenberg [Wed, 16 Nov 2005 07:20:57 +0000 (07:20 +0000)]
Applied Albert Chin's patch that makes the libcurl.pc pkgconfig file get
installed on 'make install' time.

19 years agocheck for and use winsock2.h instead of winsock.h and I fixed a typo in the
Daniel Stenberg [Wed, 16 Nov 2005 07:12:37 +0000 (07:12 +0000)]
check for and use winsock2.h instead of winsock.h and I fixed a typo in the
ifdefs where . was used instead of _!

19 years agoinclude ws2tcpip.h in an attempt to detect some of the ipv6 structs better
Daniel Stenberg [Tue, 15 Nov 2005 14:39:52 +0000 (14:39 +0000)]
include ws2tcpip.h in an attempt to detect some of the ipv6 structs better
in mingw builds

19 years agoDetect big/little endian in the configure script and adjust the ares_dns.h
Daniel Stenberg [Mon, 14 Nov 2005 23:14:54 +0000 (23:14 +0000)]
Detect big/little endian in the configure script and adjust the ares_dns.h
macros accordingly.

19 years agoQuagmire reported that he needed to raise a NTLM buffer for SSPI to work
Daniel Stenberg [Mon, 14 Nov 2005 22:10:52 +0000 (22:10 +0000)]
Quagmire reported that he needed to raise a NTLM buffer for SSPI to work
properly for a case, and so we did. We raised it even for non-SSPI builds
but it should not do any harm. http://curl.haxx.se/bug/view.cgi?id=1356715

19 years agoAdded '-DHAVE_SOCKADDR_IN6_SIN6_SCOPE_ID'.
Gisle Vanem [Mon, 14 Nov 2005 13:40:16 +0000 (13:40 +0000)]
Added '-DHAVE_SOCKADDR_IN6_SIN6_SCOPE_ID'.

19 years agoAdded CVS id.
Gisle Vanem [Mon, 14 Nov 2005 13:26:17 +0000 (13:26 +0000)]
Added CVS id.
Avoid warning 'x might be used uninitialized in this function'.

19 years agoWe have HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID.
Gisle Vanem [Mon, 14 Nov 2005 12:32:56 +0000 (12:32 +0000)]
We have HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID.

19 years agoYang Tse: msvc7+ has deprecated the 'DESCRIPTION' section in
Daniel Stenberg [Mon, 14 Nov 2005 07:48:05 +0000 (07:48 +0000)]
Yang Tse: msvc7+ has deprecated the 'DESCRIPTION' section in
module-definition files. this section is not mandatory for msvc60 so it
could be completely removed from libcurl.def.

19 years agoJan Kunder's debian bug report
Daniel Stenberg [Mon, 14 Nov 2005 00:18:12 +0000 (00:18 +0000)]
Jan Kunder's debian bug report
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=338680 identified a weird
error message for when you try to upload a file and the requested directory
doesn't exist on the target server.

19 years agoextended the description for exit code 9
Daniel Stenberg [Mon, 14 Nov 2005 00:17:03 +0000 (00:17 +0000)]
extended the description for exit code 9

19 years agoYang Tse fixed compiler warnings
Daniel Stenberg [Sun, 13 Nov 2005 23:53:14 +0000 (23:53 +0000)]
Yang Tse fixed compiler warnings

19 years agoto build with old gnutls verions, don't use the *_t types
Daniel Stenberg [Sun, 13 Nov 2005 23:04:28 +0000 (23:04 +0000)]
to build with old gnutls verions, don't use the *_t types

19 years agoprevent compiler warning
Daniel Stenberg [Sun, 13 Nov 2005 22:54:00 +0000 (22:54 +0000)]
prevent compiler warning

19 years agoAdd HAVE_STRUCT_SOCKADDR_STORAGE.
Gisle Vanem [Sun, 13 Nov 2005 13:32:19 +0000 (13:32 +0000)]
Add HAVE_STRUCT_SOCKADDR_STORAGE.
My mistake; WinCE has it's own config-file.

19 years agoFix for WIN32. WIN32 does have 'struct sockaddr_storage', but
Gisle Vanem [Sun, 13 Nov 2005 13:20:37 +0000 (13:20 +0000)]
Fix for WIN32. WIN32 does have 'struct sockaddr_storage', but
that's in <winsock2.h>. Hence tftp.c wouldn't compile on WinCE.

19 years agoDebian bug report 338681 by Jan Kunder: make curl better detect and report bad
Daniel Stenberg [Sun, 13 Nov 2005 11:06:48 +0000 (11:06 +0000)]
Debian bug report 338681 by Jan Kunder: make curl better detect and report bad
limit-rate units: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=338681 Now
curl will return error if a bad unit is used.

19 years agoThanks to this nice summary of poll() implementations:
Daniel Stenberg [Sun, 13 Nov 2005 09:24:06 +0000 (09:24 +0000)]
Thanks to this nice summary of poll() implementations:
http://www.greenend.org.uk/rjk/2001/06/poll.html and further tests by Eugene
Kotlyarov, we now know that cygwin's poll returns only POLLHUP on remote
connection closure so we check for that case (too) and re-enable poll for
cygwin builds.

19 years agoEugene Kotlyarov found out that cygwin's poll() function isn't doing things
Daniel Stenberg [Sat, 12 Nov 2005 22:49:19 +0000 (22:49 +0000)]
Eugene Kotlyarov found out that cygwin's poll() function isn't doing things
right: http://curl.haxx.se/mail/archive-2005-11/0045.html so we now disable
poll() and use select() on cygwin too (we already do the same choice on Mac OS
X)

19 years agooops * 2
Daniel Stenberg [Sat, 12 Nov 2005 22:13:20 +0000 (22:13 +0000)]
oops * 2

19 years agooops
Daniel Stenberg [Sat, 12 Nov 2005 22:12:42 +0000 (22:12 +0000)]
oops

19 years agoReversed the logic for sockaddr_storage and made our own Curl_sockaddr_storage
Daniel Stenberg [Sat, 12 Nov 2005 22:10:42 +0000 (22:10 +0000)]
Reversed the logic for sockaddr_storage and made our own Curl_sockaddr_storage
struct instead to use.

19 years agoon windows (mingw32) the sockaddr_storage struct is in winsock2.h
Daniel Stenberg [Sat, 12 Nov 2005 19:11:02 +0000 (19:11 +0000)]
on windows (mingw32) the sockaddr_storage struct is in winsock2.h

19 years agoFixed typo. Detabified.
Gisle Vanem [Sat, 12 Nov 2005 18:33:32 +0000 (18:33 +0000)]
Fixed typo. Detabified.

19 years agoSupport big-endian machines.
Gisle Vanem [Sat, 12 Nov 2005 15:15:27 +0000 (15:15 +0000)]
Support big-endian machines.

19 years agoAdded CVS id, Detabified, applied c-ares coding-style.
Gisle Vanem [Sat, 12 Nov 2005 14:59:33 +0000 (14:59 +0000)]
Added CVS id, Detabified, applied c-ares coding-style.

19 years agoAdded CVS id. Detabified.
Gisle Vanem [Sat, 12 Nov 2005 14:44:26 +0000 (14:44 +0000)]
Added CVS id. Detabified.

19 years agoInclude <getopt.h>.
Gisle Vanem [Sat, 12 Nov 2005 14:41:12 +0000 (14:41 +0000)]
Include <getopt.h>.
Use DNS__32BIT() and DNS__16BIT()  (How about BE machines?).
Display T_AAAA resource.

19 years agoremoved files no longer existing
Daniel Stenberg [Sat, 12 Nov 2005 00:01:50 +0000 (00:01 +0000)]
removed files no longer existing

19 years agoDima Barsky patched problem #1348930: the GnuTLS code completely ignored
Daniel Stenberg [Fri, 11 Nov 2005 23:20:07 +0000 (23:20 +0000)]
Dima Barsky patched problem #1348930: the GnuTLS code completely ignored
client certificates! (http://curl.haxx.se/bug/view.cgi?id=1348930).

19 years agoMoved the sockaddr_storage definition to lib/sockaddr.h and only include that
Daniel Stenberg [Fri, 11 Nov 2005 22:04:11 +0000 (22:04 +0000)]
Moved the sockaddr_storage definition to lib/sockaddr.h and only include that
in files that actually need the struct.

19 years agoSquelch gcc 4.x warning.
Gisle Vanem [Fri, 11 Nov 2005 19:25:29 +0000 (19:25 +0000)]
Squelch gcc 4.x warning.

19 years agoDetabified. Added CVS id.
Gisle Vanem [Fri, 11 Nov 2005 19:20:22 +0000 (19:20 +0000)]
Detabified. Added CVS id.

19 years agoHAVE_xx defines moved to config-win32.h.
Gisle Vanem [Fri, 11 Nov 2005 19:14:51 +0000 (19:14 +0000)]
HAVE_xx defines moved to config-win32.h.

19 years agomention how to set domain when using NTLM
Daniel Stenberg [Fri, 11 Nov 2005 08:52:29 +0000 (08:52 +0000)]
mention how to set domain when using NTLM

19 years agoUpdate using ares_inet_pton() and ares_inet_ntop().
Gisle Vanem [Fri, 11 Nov 2005 04:28:23 +0000 (04:28 +0000)]
Update using ares_inet_pton() and ares_inet_ntop().

19 years agoone in, one out
Daniel Stenberg [Thu, 10 Nov 2005 23:30:54 +0000 (23:30 +0000)]
one in, one out

19 years agoFun while it lasted. New mirror already out-of-date.
Daniel Stenberg [Thu, 10 Nov 2005 23:24:09 +0000 (23:24 +0000)]
Fun while it lasted. New mirror already out-of-date.

19 years agoDavid Lang fixed IPv6 support for TFTP!
Daniel Stenberg [Thu, 10 Nov 2005 22:25:07 +0000 (22:25 +0000)]
David Lang fixed IPv6 support for TFTP!

19 years agoDavid Lang: if there is no sockaddr_storage, make up our own and use that
Daniel Stenberg [Thu, 10 Nov 2005 22:24:49 +0000 (22:24 +0000)]
David Lang: if there is no sockaddr_storage, make up our own and use that

19 years agomodified to the new error text for range error
Daniel Stenberg [Thu, 10 Nov 2005 22:22:38 +0000 (22:22 +0000)]
modified to the new error text for range error

19 years agojust implemented
Daniel Stenberg [Thu, 10 Nov 2005 22:11:27 +0000 (22:11 +0000)]
just implemented

19 years agoIntroducing range stepping to the curl globbing support. Now you can specify
Daniel Stenberg [Thu, 10 Nov 2005 22:11:01 +0000 (22:11 +0000)]
Introducing range stepping to the curl globbing support. Now you can specify
step counter by adding :[num] within the brackets when specifying a range.