Commit Graph

7448 Commits

Author SHA1 Message Date
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
Yang Tse 4b1a91b64f Fix compiler warning 2005-12-09 22:23:50 +00:00
Yang Tse 4f69318e12 Fix compiler warning 2005-12-09 21:09:21 +00:00
Yang Tse 1cc98ab50f Unset HAVE_STRUCT_SOCKADDR_STORAGE when using msvc 6.0 with no PSDK 2005-12-09 15:19:07 +00:00
Daniel Stenberg a6494602fd build ulimiter too 2005-12-09 10:41:27 +00:00
Daniel Stenberg 50ec78b488 Work around the 1024 connection limit in select(), or rather in the FD_*
macros.
2005-12-09 10:41:07 +00:00
Daniel Stenberg 7d044d14f9 Handy little tool that increases the amount of max open file descriptors
and then runs a given command line.
2005-12-09 10:40:19 +00:00
Dan Fandrich df03d5a8b2 Replaced nonstandard u_char and u_int types 2005-12-08 22:59:58 +00:00
Yang Tse 6a0ed81e67 Fix compiler warning 2005-12-08 20:38:04 +00:00
Yang Tse c94f3e8188 Fix compiler warning 2005-12-08 19:47:33 +00:00
Dan Fandrich 1e5f6cc1dc Fixed a lingering omission of gzip support. 2005-12-08 18:59:19 +00:00
Yang Tse b1fece74e3 Fix compiler warning 2005-12-08 16:43:32 +00:00
Yang Tse fdbe0df6e7 Fix a couple of compiler warnings 2005-12-08 14:01:04 +00:00
Yang Tse 93d59520e4 If unable to get curl's version, log all failure details. 2005-12-08 11:29:47 +00:00
Daniel Stenberg b68d3a073b Lots of updates to detect what problems we got. They are related
to the 1024 file descriptor limit in the server...
2005-12-07 15:43:32 +00:00
Daniel Stenberg 2100311f41 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.
2005-12-07 10:07:57 +00:00
Daniel Stenberg e1269e3156 start working on 7.15.2 2005-12-06 23:36:36 +00:00
Daniel Stenberg c88d61b044 fresh contributors in the 7.15.1 release 2005-12-06 23:34:53 +00:00