Commit Graph

5881 Commits

Author SHA1 Message Date
Daniel Stenberg 7a52f44bd4 Gisle fixed a bad free from the resolve reorg, I changed type of the buf
variable to sort out some compiler warnings.
2004-06-29 18:44:59 +00:00
Daniel Stenberg efa5485744 Gisle's djgpp updates 2004-06-29 18:43:56 +00:00
Daniel Stenberg c81ac51e5c Gisle's update 2004-06-29 18:43:04 +00:00
Gunter Knauf fd17cf2e3c fixed argument parsing; added --setup option. 2004-06-29 13:20:37 +00:00
Daniel Stenberg d4b0999415 'M-x ispell-buffer' 2004-06-29 13:16:30 +00:00
Daniel Stenberg 03f8ec89db multi interface connect fix 2004-06-29 11:27:33 +00:00
Daniel Stenberg f633ab688b commented out the check for gethostbyname_r() as we no longer use it 2004-06-29 11:22:39 +00:00
Daniel Stenberg 808621ab22 corrected the Curl_is_connected() proto 2004-06-29 11:21:05 +00:00
Daniel Stenberg 6ed5feda2b First attempt at making the multi interface work when connecting to a host
that resolves to multiple IP addresses.
2004-06-29 11:20:07 +00:00
Daniel Stenberg 964066c0de Added missing info for the command line tool, as noted by Mike Kienenberger 2004-06-29 07:58:52 +00:00
Daniel Stenberg a913e93667 --limit-rate problems on Mac OS X was reported by Rob Stanzel 2004-06-28 07:08:09 +00:00
Daniel Stenberg a7b99fc463 check for a fine poll() before it is used to sleep subsecond 2004-06-27 21:51:54 +00:00
Daniel Stenberg 6f252f4704 reset CURLOPT_CUSTOMREQUEST with NULL 2004-06-27 21:19:54 +00:00
Daniel Stenberg b596c34bed snprintf and version 2004-06-24 15:20:29 +00:00
Daniel Stenberg b0cd96478c oops 5 bytes makes 4 letters plus zero byte 2004-06-24 15:15:27 +00:00
Daniel Stenberg 387ec712e6 fix warning 2004-06-24 15:06:25 +00:00
Daniel Stenberg f2a99d7d74 the _num_chars() function is not used, removing 2004-06-24 15:05:39 +00:00
Daniel Stenberg 8b6b15dccc to prevent compier warnings, we only declare len if we have code
that uses it
2004-06-24 14:52:51 +00:00
Daniel Stenberg bbb72b7b6b Gisle: free used memory better 2004-06-24 14:40:16 +00:00
Daniel Stenberg 785bad388b Gisle cleaned up remaining host resolve re-org issues 2004-06-24 14:39:52 +00:00
Daniel Stenberg cf10df6c68 include header for our printfs 2004-06-24 14:35:45 +00:00
Daniel Stenberg 5b55dcbfbb reverted bad win32 fix 2004-06-24 14:34:13 +00:00
Gunter Knauf e7dbbd16a5 fixed the MSVC build. 2004-06-24 13:49:14 +00:00
Daniel Stenberg 62f0457961 length limit the sscanf() parsing to prevent buffer overflow 2004-06-24 12:07:36 +00:00
Daniel Stenberg 8879b57b73 ah, simplified my latest change more 2004-06-24 12:01:20 +00:00
Daniel Stenberg e49a6feabb fix for systems without gethostbyname_r() 2004-06-24 11:58:43 +00:00
Daniel Stenberg feb2dd2835 Replaced all uses of sprintf() with the safer snprintf(). It is just a
precaution to prevent mistakes to lead to buffer overflows.
2004-06-24 11:54:11 +00:00
Daniel Stenberg 5e34f3dc01 made the Curl_he2ai() take the port number as an int intead, to avoid lots
of typecasts all over
2004-06-24 10:43:50 +00:00
Daniel Stenberg 0031d76f2a use snprintf() to be on the safe side 2004-06-24 10:43:22 +00:00
Daniel Stenberg 00ee738fdd typecasts to prevent warnings 2004-06-24 09:14:59 +00:00
Daniel Stenberg 8d0a823124 only use sockaddr_in6 on ipv6-enabled hosts 2004-06-24 09:13:50 +00:00
Daniel Stenberg 9729df1756 socks proxy support even when libcurl is built ipv6-enabled 2004-06-24 08:59:54 +00:00
Daniel Stenberg cdb419d65e typecast to prevent warning 2004-06-24 08:31:17 +00:00
Daniel Stenberg d6f9a41539 use Curl_addrinfo, not 'struct addrinfo' 2004-06-24 08:30:39 +00:00
Daniel Stenberg 1daa258b8a fixed problems I missed to fix from my cleanup 2004-06-24 08:09:54 +00:00
Daniel Stenberg 560c257bd0 prevent warning 2004-06-24 08:08:28 +00:00
Daniel Stenberg d7aae417b1 Yet another resolve code re-org 2004-06-24 07:56:07 +00:00
Daniel Stenberg c39858aac0 Source cleanups. The major one being that we now _always_ use a Curl_addrinfo
linked list for name resolved data, even on hosts/systems with only IPv4
stacks as this simplifies a lot of code.
2004-06-24 07:43:48 +00:00
Daniel Stenberg 818aed35e2 static functions are better not Curl_ prefixed to make their static
status more obvious
2004-06-23 09:08:03 +00:00
Daniel Stenberg 2ed524f07e When adding the return -1 to prevent warnings on some compilers, others
started complaining since it won't be reached... So I removed the call to
abort() and just return -1 instead. abort() was wrong to call anyway since
this is a library!
2004-06-23 06:17:17 +00:00
Daniel Stenberg 5f1eefd03f prevent a warning 2004-06-23 06:14:23 +00:00
Gunter Knauf 522b4d7576 one copy&paste too much, removed the define again. 2004-06-22 23:56:19 +00:00
Gunter Knauf d6dcb08407 argh - copy&paste error. 2004-06-22 23:22:37 +00:00
Gunter Knauf 806c756a2d syncronized with recent getdate.y updates. 2004-06-22 23:04:57 +00:00
Daniel Stenberg 2494701347 the hostname variable wasn't assigned and we no longer use it 2004-06-22 21:25:53 +00:00
Daniel Stenberg 1c10272e15 cookie size 2004-06-22 21:22:42 +00:00
Daniel Stenberg 0badcf381a extended to include a cookie with 4998 bytes of content 2004-06-22 21:21:54 +00:00
Daniel Stenberg 35558e6bd7 David Cohen pointed out that RFC2109 says clients should allow cookies to
contain least 4096 bytes while libcurl only allowed 2047. I raised the limit
to 4999 now and made the used buffer get malloc()ed instead of simply
allocated on stack as before.
2004-06-22 21:15:51 +00:00
Daniel Stenberg 7659747e6f Gnter Knauf fixed getdate.y to remove a few warnings. I removed the
ifdef'ed test we never ever use anyway.
2004-06-22 21:12:34 +00:00
Gunter Knauf 53189fb2d7 added new --target option for autobuilding other targets than GNU-like. 2004-06-22 20:02:49 +00:00