platform/upstream/curl.git
18 years agoI removed the timeout argument from the socket callback and did some other
Daniel Stenberg [Mon, 2 Jan 2006 22:58:56 +0000 (22:58 +0000)]
I removed the timeout argument from the socket callback and did some other
cleanups of this man page. The lengthy description has now also been removed
from curl/multi.h since it immediately got tedious to maintain the info on
two places when I did major updates...

18 years agoInclude <sys/ioctl.h> before redefining ioctl().
Gisle Vanem [Mon, 2 Jan 2006 18:35:58 +0000 (18:35 +0000)]
Include <sys/ioctl.h> before redefining ioctl().

18 years ago1. sws now supports two new "commands" and 2. if built with
Daniel Stenberg [Mon, 2 Jan 2006 12:19:12 +0000 (12:19 +0000)]
1. sws now supports two new "commands" and 2. if built with
CURL_SWS_FORK_ENABLED defined it forks for each new connection and thus can
support any amount of connection clients (used for hiper tests and not for the
standard plain curl test suite)

18 years agowe're working on 1.3.1 (or more)
Daniel Stenberg [Mon, 2 Jan 2006 09:13:56 +0000 (09:13 +0000)]
we're working on 1.3.1 (or more)

18 years agofix questionable compare
Marty Kuhrt [Fri, 30 Dec 2005 00:35:21 +0000 (00:35 +0000)]
fix questionable compare

18 years agofix questionable compare compiler error (unsigned can't be < 0)
Marty Kuhrt [Fri, 30 Dec 2005 00:20:46 +0000 (00:20 +0000)]
fix questionable compare compiler error (unsigned can't be < 0)

18 years agoremoved defunct email address
Marty Kuhrt [Fri, 30 Dec 2005 00:07:25 +0000 (00:07 +0000)]
removed defunct email address

18 years agoremoved .h and .sdl
Marty Kuhrt [Fri, 30 Dec 2005 00:07:25 +0000 (00:07 +0000)]
removed .h and .sdl

18 years agoputting back into dist
Marty Kuhrt [Fri, 30 Dec 2005 00:07:25 +0000 (00:07 +0000)]
putting back into dist

18 years agoput back into dist to lessen build confusion for some
Marty Kuhrt [Fri, 30 Dec 2005 00:07:25 +0000 (00:07 +0000)]
put back into dist to lessen build confusion for some

18 years agoput back into dist since most people didn't want to use SDL
Marty Kuhrt [Fri, 30 Dec 2005 00:07:25 +0000 (00:07 +0000)]
put back into dist since most people didn't want to use SDL

18 years agochanged HAVE_STRTOK to follow CRTL version
Marty Kuhrt [Fri, 30 Dec 2005 00:07:25 +0000 (00:07 +0000)]
changed HAVE_STRTOK to follow CRTL version

18 years agoadded TFTP errors to match curl.h
Marty Kuhrt [Fri, 30 Dec 2005 00:07:25 +0000 (00:07 +0000)]
added TFTP errors to match curl.h

18 years agoKirill Vasiliev fixed the 'release-ssl-dll' target to properly build a
Daniel Stenberg [Fri, 23 Dec 2005 23:40:40 +0000 (23:40 +0000)]
Kirill Vasiliev fixed the 'release-ssl-dll' target to properly build a
static libcurl using openssl as dll.

18 years agoclarified that curl_global_init() isn't thread-safe and that it might affect
Daniel Stenberg [Fri, 23 Dec 2005 23:22:23 +0000 (23:22 +0000)]
clarified that curl_global_init() isn't thread-safe and that it might affect
curl_easy_init() if you don't call curl_global_init() explicitly in your app

18 years agoMention that PKG_CONFIG_PATH is preferred to --with-ssl
Dan Fandrich [Fri, 23 Dec 2005 22:33:06 +0000 (22:33 +0000)]
Mention that PKG_CONFIG_PATH is preferred to --with-ssl

18 years agoThis function was added in c-ares [version]
Daniel Stenberg [Thu, 22 Dec 2005 15:31:32 +0000 (15:31 +0000)]
This function was added in c-ares [version]

18 years agoadded ares_getsock()
Daniel Stenberg [Thu, 22 Dec 2005 15:29:12 +0000 (15:29 +0000)]
added ares_getsock()

18 years agoAdded ares_getsock() to extract sockets to wait for action on, without being
Daniel Stenberg [Thu, 22 Dec 2005 15:27:41 +0000 (15:27 +0000)]
Added ares_getsock() to extract sockets to wait for action on, without being
limited to select().

18 years agoThe inital early embryos to describe the curl_multi_socket() API. Committed
Daniel Stenberg [Thu, 22 Dec 2005 15:11:11 +0000 (15:11 +0000)]
The inital early embryos to describe the curl_multi_socket() API. Committed
now to enable them to get added as web pages easier, they are not ready
for anything "real" just yet.

18 years agothe curl_multi_socket() test application (still using select())
Daniel Stenberg [Thu, 22 Dec 2005 14:14:14 +0000 (14:14 +0000)]
the curl_multi_socket() test application (still using select())

18 years ago#31 curl-config --libs" will include details set in LDFLAGS when configure is
Daniel Stenberg [Thu, 22 Dec 2005 08:33:02 +0000 (08:33 +0000)]
#31 curl-config --libs" will include details set in LDFLAGS when configure is
run that might be needed only for building libcurl.

18 years agoChecking for function getnameinfo and its arguments is finally
Yang Tse [Wed, 21 Dec 2005 20:44:54 +0000 (20:44 +0000)]
Checking for function getnameinfo and its arguments is finally
done in one single function CURL_CHECK_FUNC_GETNAMEINFO which
will only define HAVE_GETNAMEINFO if the function has been found
AND the type of its arguments has been properly been detected

18 years agoUndefine HAVE_GETNAMEINFO if unable to find
Yang Tse [Wed, 21 Dec 2005 17:51:08 +0000 (17:51 +0000)]
Undefine HAVE_GETNAMEINFO if unable to find
proper types to use for getnameinfo args

18 years agoUndefine HAVE_GETNAMEINFO if unable to find
Yang Tse [Wed, 21 Dec 2005 17:20:22 +0000 (17:20 +0000)]
Undefine HAVE_GETNAMEINFO if unable to find
proper types to use for getnameinfo args

18 years agoMake sure we're using 'c-ares' sources and not 'ares' ones.
Yang Tse [Wed, 21 Dec 2005 16:08:35 +0000 (16:08 +0000)]
Make sure we're using 'c-ares' sources and not 'ares' ones.

18 years agoadded our regular source header
Daniel Stenberg [Wed, 21 Dec 2005 09:15:54 +0000 (09:15 +0000)]
added our regular source header

18 years agoallow more evironment variables to control what tools to check for and use
Daniel Stenberg [Wed, 21 Dec 2005 08:09:12 +0000 (08:09 +0000)]
allow more evironment variables to control what tools to check for and use

18 years agouse ACLOCAL even when using 'find' to find the aclocal tool
Daniel Stenberg [Wed, 21 Dec 2005 07:59:03 +0000 (07:59 +0000)]
use ACLOCAL even when using 'find' to find the aclocal tool

18 years agoIn CURL_FUNC_GETNAMEINFO_ARGTYPES, when cross-compiling a windows
Yang Tse [Tue, 20 Dec 2005 23:49:14 +0000 (23:49 +0000)]
In CURL_FUNC_GETNAMEINFO_ARGTYPES, when cross-compiling a windows
target use calling convention WSAAPI for getnameinfo() prototype.
Checking type DWORD as argument 4 and 6 of getnameinfo not needed.

18 years agoexplain tld_check_name()
Daniel Stenberg [Tue, 20 Dec 2005 22:46:12 +0000 (22:46 +0000)]
explain tld_check_name()

18 years agoChanges for PellesC compiler under Win32.
Gisle Vanem [Tue, 20 Dec 2005 22:20:42 +0000 (22:20 +0000)]
Changes for PellesC compiler under Win32.

18 years agoChanges for PellesC compiler under Win32. A bit limited, but
Gisle Vanem [Tue, 20 Dec 2005 22:20:04 +0000 (22:20 +0000)]
Changes for PellesC compiler under Win32. A bit limited, but
we just love swedish products...

18 years agoFix PellesC warning.
Gisle Vanem [Tue, 20 Dec 2005 20:58:51 +0000 (20:58 +0000)]
Fix PellesC warning.

18 years agoChanges for PellesC for Win32. It needs <unistd.h> for 'ssize_t'. Hence the
Gisle Vanem [Tue, 20 Dec 2005 20:48:38 +0000 (20:48 +0000)]
Changes for PellesC for Win32. It needs <unistd.h> for 'ssize_t'. Hence the
rearrangement in ares_process.c.

18 years agofix ioctlsocket detection
Yang Tse [Tue, 20 Dec 2005 20:29:53 +0000 (20:29 +0000)]
fix ioctlsocket detection

18 years agoFix, header checks must be done before using its results.
Yang Tse [Tue, 20 Dec 2005 18:50:37 +0000 (18:50 +0000)]
Fix, header checks must be done before using its results.

18 years agoshiper is the new test tool for the new API
Daniel Stenberg [Tue, 20 Dec 2005 09:19:30 +0000 (09:19 +0000)]
shiper is the new test tool for the new API

18 years agoshow dl speed
Daniel Stenberg [Tue, 20 Dec 2005 09:19:20 +0000 (09:19 +0000)]
show dl speed

18 years agoadded our standard source header
Daniel Stenberg [Tue, 20 Dec 2005 09:02:36 +0000 (09:02 +0000)]
added our standard source header

18 years agofix closing parentheses
Daniel Stenberg [Tue, 20 Dec 2005 08:51:48 +0000 (08:51 +0000)]
fix closing parentheses

18 years agouse AC_PROG_LIBTOOL after AC_DISABLE_SHARED
Daniel Stenberg [Tue, 20 Dec 2005 08:51:34 +0000 (08:51 +0000)]
use AC_PROG_LIBTOOL after AC_DISABLE_SHARED

18 years agoFix quoting
Yang Tse [Tue, 20 Dec 2005 03:23:49 +0000 (03:23 +0000)]
Fix quoting

18 years agoGive third argument to AC_DEFINE_UNQUOTED
Yang Tse [Tue, 20 Dec 2005 02:48:48 +0000 (02:48 +0000)]
Give third argument to AC_DEFINE_UNQUOTED

18 years agoUse native type SOCKET instead of int when testing functionality of ioctlsocket on...
Yang Tse [Tue, 20 Dec 2005 00:27:59 +0000 (00:27 +0000)]
Use native type SOCKET instead of int when testing functionality of ioctlsocket on Windows

18 years agoOoops
Yang Tse [Mon, 19 Dec 2005 23:32:52 +0000 (23:32 +0000)]
Ooops

18 years agoFixed compiler warning on libc5.
Dan Fandrich [Mon, 19 Dec 2005 22:36:44 +0000 (22:36 +0000)]
Fixed compiler warning on libc5.

18 years agoAdd checking for type DWORD as argument 4 and 6 of getnameinfo
Yang Tse [Mon, 19 Dec 2005 21:45:43 +0000 (21:45 +0000)]
Add checking for type DWORD as argument 4 and 6 of getnameinfo

18 years agoAdjust more windows header includes
Yang Tse [Mon, 19 Dec 2005 21:38:10 +0000 (21:38 +0000)]
Adjust more windows header includes

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