Dan Fandrich
80a8fb98db
Fixed compiler warning on libc5.
2005-12-19 22:36:44 +00:00
Yang Tse
898bb397b1
Add checking for type DWORD as argument 4 and 6 of getnameinfo
2005-12-19 21:45:43 +00:00
Yang Tse
74ed5b5ebd
Adjust more windows header includes
2005-12-19 21:38:10 +00:00
Dan Fandrich
178afd81a9
Fixed lcc compiler warnings.
2005-12-19 19:47:14 +00:00
Yang Tse
d6eb1a7b98
Fix guard detection of _WIN32_WINNT for MingW in CURL_FUNC_GETNAMEINFO_ARGTYPES
2005-12-19 05:57:17 +00:00
Yang Tse
4ff56b15e9
Add check for 'unsigned int' as type of arguments 4 and 6 of getnameinfo
2005-12-19 05:32:33 +00:00
Yang Tse
e6b98d3152
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.
2005-12-19 00:15:04 +00:00
Yang Tse
5fd8dd2dce
When checking the type of the first argument of getnameinfo do it in the
...
following order: 'struct sockaddr *' 'const struct sockaddr *' 'void *'.
2005-12-18 20:24:35 +00:00
Yang Tse
0ad3e046a4
Fix spacing. When defining, define to 1.
2005-12-18 16:50:33 +00:00
Yang Tse
d6c5d24af3
Cleanup windows header includes. Where aplicable, inclusion of
...
windows.h winsock.h winsock2.h ws2tcpip.h is done in setup.h
2005-12-18 15:36:14 +00:00
Yang Tse
8a3280a2de
MingW guards getnameinfo, getaddrinfo and freeaddrinfo with _WIN32_WINNT >= 0x0501
2005-12-18 06:07:10 +00:00
Yang Tse
450a0a647a
Fix Msys/Mingw not detecting getnameinfo() with AC_CHECK_FUNCS
2005-12-18 04:47:29 +00:00
Yang Tse
676c0cf123
Make it compatible with vc60 and vc71
2005-12-18 00:27:12 +00:00
Yang Tse
a731319321
Fix typo
2005-12-17 23:35:25 +00:00
Yang Tse
81b06a09b7
Fix compiler warning
2005-12-17 23:34:21 +00:00
Yang Tse
23b34744d9
Cleanup
2005-12-17 21:20:35 +00:00
Yang Tse
bc8590aa12
Windows related cleanup
2005-12-17 20:37:53 +00:00
Yang Tse
939d368d5f
Check first arg of getnameinfo with and without const qualifier.
2005-12-17 17:33:14 +00:00
Yang Tse
336e3b8baf
Change multiple header inclusion prevention definition to __LIB_CURL_SETUP_H
2005-12-17 06:04:35 +00:00
Yang Tse
47c06fa308
Avoid breaking configure due to CURL_FUNC_GETNAMEINFO_ARGTYPES failure, since at this point nothing depends on it.
2005-12-17 02:41:33 +00:00
Yang Tse
b7f447f8d8
const qualifier in getnameinfo check
2005-12-17 02:32:55 +00:00
Yang Tse
03af76b631
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
2005-12-16 23:15:33 +00:00
Yang Tse
e105d5c28f
'Fix' windows builds
2005-12-16 20:55:07 +00:00
Yang Tse
d6ffb4c177
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.
2005-12-16 18:18:00 +00:00
Daniel Stenberg
6dbfce1031
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.
2005-12-16 14:52:16 +00:00
Yang Tse
fea5ddf585
More quotes
2005-12-16 07:28:56 +00:00
Yang Tse
b9f39c2711
Fix copy paste bug
2005-12-16 06:50:03 +00:00
Yang Tse
5acac0309a
Test CURL_CHECK_TYPE_SOCKLEN_T
2005-12-16 05:05:55 +00:00
Yang Tse
78febad718
Oops. Wrong double quotes
2005-12-16 04:54:56 +00:00
Yang Tse
a6a5bba0a9
Experimental check for socklen_t CURL_CHECK_TYPE_SOCKLEN_T
2005-12-16 04:18:44 +00:00
Yang Tse
51581c034d
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
2005-12-15 19:39:44 +00:00
Daniel Stenberg
8f25a95b47
minor edit
2005-12-15 07:43:39 +00:00
Yang Tse
7f5d092223
Some preprocessors have problems if the # character isn't at position 1.
2005-12-14 21:09:30 +00:00
Yang Tse
2e5cccd1b6
Check getnameinfo() argument types only if we have getnameinfo().
2005-12-14 20:58:13 +00:00
Yang Tse
2645782f89
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'.
2005-12-14 19:00:44 +00:00
Daniel Stenberg
9533092511
Rene Bernhardt's corrections
2005-12-14 13:10:14 +00:00
Dan Fandrich
6005a461bb
Log CPPFLAGS environment variable along with the others.
2005-12-13 19:07:33 +00:00
Dan Fandrich
e2df946eee
Fixed some compiler warnings on lcc.
2005-12-13 18:54:31 +00:00
Yang Tse
d14588120f
Undo last 'fix', since it was not the proper one.
2005-12-13 13:50:22 +00:00
Daniel Stenberg
ab31cfa664
another SOCKS-related problem added
2005-12-12 23:05:12 +00:00
Daniel Stenberg
af1c397969
added #29 and #30
2005-12-12 22:50:24 +00:00
Yang Tse
947f9deed5
Fix compiler warning
2005-12-12 18:40:18 +00:00
Dan Fandrich
ce95eee903
lcc isn't Windows-only, so check for it in conjunction with WIN32
2005-12-12 17:11:23 +00:00
Yang Tse
b15f3bb969
Undo last changes
2005-12-11 23:37:58 +00:00
Daniel Stenberg
998e8cba19
Dov Murik made defining HTTP_ONLY also disable TFTP
2005-12-11 23:14:25 +00:00
Yang Tse
e3f523ab2a
Avoid generation of additional warnings
2005-12-11 18:29:18 +00:00
Yang Tse
36485e56ed
Fix compiler warning and compatibility issue with the type of the parameter used in getnameinfo() to receive the length of the sockaddr struct.
2005-12-11 12:03:01 +00:00
Daniel Stenberg
b4113360f6
use c-ares' IPv6 abilities
...
fix CONNECT to a proxy that disconnects during the auth phase
2005-12-10 22:14:17 +00:00
Daniel Stenberg
2d71e22f08
fix CURLOPT_FAILONERROR error, pointed out by Shailesh N. Humbad
2005-12-10 22:12:44 +00:00
Yang Tse
2ae67c431c
Modified lookup_service() to avoid the risk of a potential buffer overflow
2005-12-10 19:21:59 +00:00