platform/upstream/curl.git
18 years agoFixed lcc compiler warnings.
Dan Fandrich [Mon, 19 Dec 2005 19:47:14 +0000 (19:47 +0000)]
Fixed lcc compiler warnings.

18 years agoFix guard detection of _WIN32_WINNT for MingW in CURL_FUNC_GETNAMEINFO_ARGTYPES
Yang Tse [Mon, 19 Dec 2005 05:57:17 +0000 (05:57 +0000)]
Fix guard detection of _WIN32_WINNT for MingW in CURL_FUNC_GETNAMEINFO_ARGTYPES

18 years agoAdd check for 'unsigned int' as type of arguments 4 and 6 of getnameinfo
Yang Tse [Mon, 19 Dec 2005 05:32:33 +0000 (05:32 +0000)]
Add check for 'unsigned int' as type of arguments 4 and 6 of getnameinfo

18 years agoUndo previous change. This header file belongs to the public
Yang Tse [Mon, 19 Dec 2005 00:15:04 +0000 (00:15 +0000)]
Undo previous change. This header file belongs to the public
interface and the change could break the compilation of thrid
party apps which link against this library.

18 years agoWhen checking the type of the first argument of getnameinfo do it in the
Yang Tse [Sun, 18 Dec 2005 20:24:35 +0000 (20:24 +0000)]
When checking the type of the first argument of getnameinfo do it in the
following order: 'struct sockaddr *' 'const struct sockaddr *' 'void *'.

18 years agoFix spacing. When defining, define to 1.
Yang Tse [Sun, 18 Dec 2005 16:50:33 +0000 (16:50 +0000)]
Fix spacing. When defining, define to 1.

18 years agoCleanup windows header includes. Where aplicable, inclusion of
Yang Tse [Sun, 18 Dec 2005 15:36:14 +0000 (15:36 +0000)]
Cleanup windows header includes. Where aplicable, inclusion of
windows.h winsock.h winsock2.h ws2tcpip.h is done in setup.h

18 years agoMingW guards getnameinfo, getaddrinfo and freeaddrinfo with _WIN32_WINNT >= 0x0501
Yang Tse [Sun, 18 Dec 2005 06:07:10 +0000 (06:07 +0000)]
MingW guards getnameinfo, getaddrinfo and freeaddrinfo with _WIN32_WINNT >= 0x0501

18 years agoFix Msys/Mingw not detecting getnameinfo() with AC_CHECK_FUNCS
Yang Tse [Sun, 18 Dec 2005 04:47:29 +0000 (04:47 +0000)]
Fix Msys/Mingw not detecting getnameinfo() with AC_CHECK_FUNCS

18 years agoMake it compatible with vc60 and vc71
Yang Tse [Sun, 18 Dec 2005 00:27:12 +0000 (00:27 +0000)]
Make it compatible with vc60 and vc71

18 years agoFix typo
Yang Tse [Sat, 17 Dec 2005 23:35:25 +0000 (23:35 +0000)]
Fix typo

18 years agoFix compiler warning
Yang Tse [Sat, 17 Dec 2005 23:34:21 +0000 (23:34 +0000)]
Fix compiler warning

18 years agoCleanup
Yang Tse [Sat, 17 Dec 2005 21:20:35 +0000 (21:20 +0000)]
Cleanup

18 years agoWindows related cleanup
Yang Tse [Sat, 17 Dec 2005 20:37:53 +0000 (20:37 +0000)]
Windows related cleanup

18 years agoCheck first arg of getnameinfo with and without const qualifier.
Yang Tse [Sat, 17 Dec 2005 17:33:14 +0000 (17:33 +0000)]
Check first arg of getnameinfo with and without const qualifier.

18 years agoChange multiple header inclusion prevention definition to __LIB_CURL_SETUP_H
Yang Tse [Sat, 17 Dec 2005 06:04:35 +0000 (06:04 +0000)]
Change multiple header inclusion prevention definition to __LIB_CURL_SETUP_H

18 years agoAvoid breaking configure due to CURL_FUNC_GETNAMEINFO_ARGTYPES failure, since at...
Yang Tse [Sat, 17 Dec 2005 02:41:33 +0000 (02:41 +0000)]
Avoid breaking configure due to CURL_FUNC_GETNAMEINFO_ARGTYPES failure, since at this point nothing depends on it.

18 years agoconst qualifier in getnameinfo check
Yang Tse [Sat, 17 Dec 2005 02:32:55 +0000 (02:32 +0000)]
const qualifier in getnameinfo check

18 years agoSince there is no proof of the existence of a platform which would
Yang Tse [Fri, 16 Dec 2005 23:15:33 +0000 (23:15 +0000)]
Since there is no proof of the existence of a platform which would
justify checking for socklen_t in more than one function, the code
used to find a valid socklen_t replacement is simplified back. The
only function that will be used to find a socklen_t replacement is
getpeername, as it has been since revision 1.4 of curl/acinclude.m4

18 years ago'Fix' windows builds
Yang Tse [Fri, 16 Dec 2005 20:55:07 +0000 (20:55 +0000)]
'Fix' windows builds

18 years agoTYPE_SOCKLEN_T completely replaced by CURL_CHECK_TYPE_SOCKLEN_T.
Yang Tse [Fri, 16 Dec 2005 18:18:00 +0000 (18:18 +0000)]
TYPE_SOCKLEN_T completely replaced by CURL_CHECK_TYPE_SOCKLEN_T.
CURL_FUNC_GETNAMEINFO_ARGTYPES now also checks first argument.
All related changes taken to cares configuration scripts.

18 years agoJean Jacques Drouin pointed out that you could only have a user name or
Daniel Stenberg [Fri, 16 Dec 2005 14:52:16 +0000 (14:52 +0000)]
Jean Jacques Drouin pointed out that you could only have a user name or
password of 127 bytes or less embedded in a URL, where actually the code
uses a 255 byte buffer for it! Modified now to use the full buffer size.

18 years agoMore quotes
Yang Tse [Fri, 16 Dec 2005 07:28:56 +0000 (07:28 +0000)]
More quotes

18 years agoFix copy paste bug
Yang Tse [Fri, 16 Dec 2005 06:50:03 +0000 (06:50 +0000)]
Fix copy paste bug

18 years agoTest CURL_CHECK_TYPE_SOCKLEN_T
Yang Tse [Fri, 16 Dec 2005 05:05:55 +0000 (05:05 +0000)]
Test CURL_CHECK_TYPE_SOCKLEN_T

18 years agoOops. Wrong double quotes
Yang Tse [Fri, 16 Dec 2005 04:54:56 +0000 (04:54 +0000)]
Oops. Wrong double quotes

18 years agoExperimental check for socklen_t CURL_CHECK_TYPE_SOCKLEN_T
Yang Tse [Fri, 16 Dec 2005 04:18:44 +0000 (04:18 +0000)]
Experimental check for socklen_t CURL_CHECK_TYPE_SOCKLEN_T

18 years agoTests to check the availability of compilable and
Yang Tse [Thu, 15 Dec 2005 19:39:44 +0000 (19:39 +0000)]
Tests to check the availability of compilable and
valid windows.h winsock.h winsock2.h and ws2tcpip.h
header files:
CURL_CHECK_HEADER_WINDOWS
CURL_CHECK_HEADER_WINSOCK
CURL_CHECK_HEADER_WINSOCK2
CURL_CHECK_HEADER_WS2TCPIP

18 years agominor edit
Daniel Stenberg [Thu, 15 Dec 2005 07:43:39 +0000 (07:43 +0000)]
minor edit

18 years agoSome preprocessors have problems if the # character isn't at position 1.
Yang Tse [Wed, 14 Dec 2005 21:09:30 +0000 (21:09 +0000)]
Some preprocessors have problems if the # character isn't at position 1.

18 years agoCheck getnameinfo() argument types only if we have getnameinfo().
Yang Tse [Wed, 14 Dec 2005 20:58:13 +0000 (20:58 +0000)]
Check getnameinfo() argument types only if we have getnameinfo().

18 years agoDetermine the correct type to be passed to four of the `getnameinfo' function's argum...
Yang Tse [Wed, 14 Dec 2005 19:00:44 +0000 (19:00 +0000)]
Determine the correct type to be passed to four of the `getnameinfo' function's arguments, and define those types in `GETNAMEINFO_TYPE_ARG2', `GETNAMEINFO_TYPE_ARG46', and `GETNAMEINFO_TYPE_ARG7'.

18 years agoRene Bernhardt's corrections
Daniel Stenberg [Wed, 14 Dec 2005 13:10:14 +0000 (13:10 +0000)]
Rene Bernhardt's corrections

18 years agoLog CPPFLAGS environment variable along with the others.
Dan Fandrich [Tue, 13 Dec 2005 19:07:33 +0000 (19:07 +0000)]
Log CPPFLAGS environment variable along with the others.

18 years agoFixed some compiler warnings on lcc.
Dan Fandrich [Tue, 13 Dec 2005 18:54:31 +0000 (18:54 +0000)]
Fixed some compiler warnings on lcc.

18 years agoUndo last 'fix', since it was not the proper one.
Yang Tse [Tue, 13 Dec 2005 13:50:22 +0000 (13:50 +0000)]
Undo last 'fix', since it was not the proper one.

18 years agoanother SOCKS-related problem added
Daniel Stenberg [Mon, 12 Dec 2005 23:05:12 +0000 (23:05 +0000)]
another SOCKS-related problem added

18 years agoadded #29 and #30
Daniel Stenberg [Mon, 12 Dec 2005 22:50:24 +0000 (22:50 +0000)]
added #29 and #30

18 years agoFix compiler warning
Yang Tse [Mon, 12 Dec 2005 18:40:18 +0000 (18:40 +0000)]
Fix compiler warning

18 years agolcc isn't Windows-only, so check for it in conjunction with WIN32
Dan Fandrich [Mon, 12 Dec 2005 17:11:23 +0000 (17:11 +0000)]
lcc isn't Windows-only, so check for it in conjunction with WIN32

18 years agoUndo last changes
Yang Tse [Sun, 11 Dec 2005 23:37:58 +0000 (23:37 +0000)]
Undo last changes

18 years agoDov Murik made defining HTTP_ONLY also disable TFTP
Daniel Stenberg [Sun, 11 Dec 2005 23:14:25 +0000 (23:14 +0000)]
Dov Murik made defining HTTP_ONLY also disable TFTP

18 years agoAvoid generation of additional warnings
Yang Tse [Sun, 11 Dec 2005 18:29:18 +0000 (18:29 +0000)]
Avoid generation of additional warnings

18 years agoFix compiler warning and compatibility issue with the type of the parameter used...
Yang Tse [Sun, 11 Dec 2005 12:03:01 +0000 (12:03 +0000)]
Fix compiler warning and compatibility issue with the type of the parameter used in getnameinfo() to receive the length of the sockaddr struct.

18 years agouse c-ares' IPv6 abilities
Daniel Stenberg [Sat, 10 Dec 2005 22:14:17 +0000 (22:14 +0000)]
use c-ares' IPv6 abilities
fix CONNECT to a proxy that disconnects during the auth phase

18 years agofix CURLOPT_FAILONERROR error, pointed out by Shailesh N. Humbad
Daniel Stenberg [Sat, 10 Dec 2005 22:12:44 +0000 (22:12 +0000)]
fix CURLOPT_FAILONERROR error, pointed out by Shailesh N. Humbad

18 years agoModified lookup_service() to avoid the risk of a potential buffer overflow
Yang Tse [Sat, 10 Dec 2005 19:21:59 +0000 (19:21 +0000)]
Modified lookup_service() to avoid the risk of a potential buffer overflow

18 years agoFix compiler warning
Yang Tse [Fri, 9 Dec 2005 22:23:50 +0000 (22:23 +0000)]
Fix compiler warning

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