platform/upstream/curl.git
19 years agoinit fix for non-SSL builds
Daniel Stenberg [Thu, 10 Feb 2005 07:45:08 +0000 (07:45 +0000)]
init fix for non-SSL builds

19 years agoReduced the two config-vms.h_* files into this one.
Marty Kuhrt [Thu, 10 Feb 2005 01:54:11 +0000 (01:54 +0000)]
Reduced the two config-vms.h_* files into this one.

19 years agoDavid Byron fixed his SSL problems, initially mentioned here:
Daniel Stenberg [Wed, 9 Feb 2005 23:16:03 +0000 (23:16 +0000)]
David Byron fixed his SSL problems, initially mentioned here:
http://curl.haxx.se/mail/lib-2005-01/0240.html. It turned out we didn't use
SSL_pending() as we should.

This was TODO-RELEASE issue #59.

19 years agoDavid Byron identified the lack of SSL_pending() use, and this is my take
Daniel Stenberg [Wed, 9 Feb 2005 23:09:12 +0000 (23:09 +0000)]
David Byron identified the lack of SSL_pending() use, and this is my take
at fixing this issue.

19 years agobetter error checking and SSL init by David Byron
Daniel Stenberg [Wed, 9 Feb 2005 23:04:51 +0000 (23:04 +0000)]
better error checking and SSL init by David Byron

19 years agoprevent a compiler warning
Daniel Stenberg [Wed, 9 Feb 2005 22:47:57 +0000 (22:47 +0000)]
prevent a compiler warning

19 years agoSome functions are static here, but extern in libxml's
Gisle Vanem [Wed, 9 Feb 2005 15:15:01 +0000 (15:15 +0000)]
Some functions are static here, but extern in libxml's
SAX.h. gcc doesn't like that. Rename.

19 years agothe new ftp code and Gisle's DICT fix
Daniel Stenberg [Wed, 9 Feb 2005 14:34:46 +0000 (14:34 +0000)]
the new ftp code and Gisle's DICT fix

19 years agoissue #54 done
Daniel Stenberg [Wed, 9 Feb 2005 14:29:57 +0000 (14:29 +0000)]
issue #54 done

19 years agoSet 'bits.close' in case of malloc fail.
Gisle Vanem [Wed, 9 Feb 2005 14:28:35 +0000 (14:28 +0000)]
Set 'bits.close' in case of malloc fail.
Don't free 'lud_dn' twice in case curl_unescape()
fails.

19 years agoadd missing error codes
Daniel Stenberg [Wed, 9 Feb 2005 14:13:21 +0000 (14:13 +0000)]
add missing error codes

19 years agoUse CURL_SOCKET_BAD.
Gisle Vanem [Wed, 9 Feb 2005 14:01:15 +0000 (14:01 +0000)]
Use CURL_SOCKET_BAD.

19 years agoHandle CURLE_LOGIN_DENIED in strerror.c.
Gisle Vanem [Wed, 9 Feb 2005 13:59:40 +0000 (13:59 +0000)]
Handle CURLE_LOGIN_DENIED in strerror.c.
For ftp only?

19 years agoFD_SET can be big macro, use braces
Daniel Stenberg [Wed, 9 Feb 2005 13:47:35 +0000 (13:47 +0000)]
FD_SET can be big macro, use braces

19 years agoFTP code turned into state machine. Not completely yet, but a good start.
Daniel Stenberg [Wed, 9 Feb 2005 13:06:40 +0000 (13:06 +0000)]
FTP code turned into state machine. Not completely yet, but a good start.
The tag 'before_ftp_statemachine' was set just before this commit in case
of future need.

19 years agoReplace LF with CRLF. Ref RFC-2229, sec 2.3:
Gisle Vanem [Wed, 9 Feb 2005 11:50:41 +0000 (11:50 +0000)]
Replace LF with CRLF. Ref RFC-2229, sec 2.3:
"Each command line must be terminated by a CRLF".

19 years ago-O clarification
Daniel Stenberg [Tue, 8 Feb 2005 23:39:47 +0000 (23:39 +0000)]
-O clarification

19 years agoinflate and out of memory fixes
Daniel Stenberg [Tue, 8 Feb 2005 19:07:28 +0000 (19:07 +0000)]
inflate and out of memory fixes

19 years agoares_gethostbyname wants a 'ares_host_callback' in the 4th argument
Daniel Stenberg [Tue, 8 Feb 2005 19:03:27 +0000 (19:03 +0000)]
ares_gethostbyname wants a 'ares_host_callback' in the 4th argument

19 years agoCurl_addrinfo?_callback() and addrinfo_callback() now returns
Gisle Vanem [Tue, 8 Feb 2005 12:36:13 +0000 (12:36 +0000)]
Curl_addrinfo?_callback() and addrinfo_callback() now returns
CURLE_OK or CURLE_OUT_OF_MEMORY.
Add typecast in hostares.c.

19 years agoDon't free too much in freedirs() if realloc() fails.
Gisle Vanem [Tue, 8 Feb 2005 12:32:28 +0000 (12:32 +0000)]
Don't free too much in freedirs() if realloc() fails.

19 years agoCurl_wait_for_resolv() no longer disconnects on failure, but leaves that
Daniel Stenberg [Tue, 8 Feb 2005 07:36:57 +0000 (07:36 +0000)]
Curl_wait_for_resolv() no longer disconnects on failure, but leaves that
operation to the caller. Disconnecting has the disadvantage that the conn
pointer gets completely invalidated and this is not handled on lots of places
in the code.

19 years agoFix for a bug report that compressed files that are exactly 64 KiB long
Dan Fandrich [Mon, 7 Feb 2005 19:12:37 +0000 (19:12 +0000)]
Fix for a bug report that compressed files that are exactly 64 KiB long
produce a zlib error.

19 years agoPreserve previous status in Curl_http_done().
Gisle Vanem [Sun, 6 Feb 2005 12:43:40 +0000 (12:43 +0000)]
Preserve previous status in Curl_http_done().

19 years agovalgrind errors occur too often when 'make test' is used. It is because too
Daniel Stenberg [Sat, 5 Feb 2005 10:25:20 +0000 (10:25 +0000)]
valgrind errors occur too often when 'make test' is used. It is because too
many third-party libs and tools have problems. When curl is built without
--disable-shared, the testing is done with a front-end script which makes the
valgrind testing include (ba)sh as well and that often causes valgrind
errors. Either we improve the valgrind error scanner a lot to better identify
(lib)curl errors only, or we disable valgrind checking by default

19 years agofix type
Daniel Stenberg [Fri, 4 Feb 2005 23:53:12 +0000 (23:53 +0000)]
fix type

19 years agoEric Vergnaud found a use of an uninitialized variable
Daniel Stenberg [Fri, 4 Feb 2005 23:43:44 +0000 (23:43 +0000)]
Eric Vergnaud found a use of an uninitialized variable

19 years agoDavid Byron pointed out that this -1 on the buffer size is pointless since
Daniel Stenberg [Fri, 4 Feb 2005 13:42:41 +0000 (13:42 +0000)]
David Byron pointed out that this -1 on the buffer size is pointless since
the buffer is already BUFSIZE +1 one big to fit the extra trailing zero. This
change is reported to fix David's weird SSL problem...

19 years agoanother example
Daniel Stenberg [Wed, 2 Feb 2005 19:25:49 +0000 (19:25 +0000)]
another example

19 years agoHTML parsing example with libtidy, by Jeff Pohlmeyer
Daniel Stenberg [Wed, 2 Feb 2005 19:25:37 +0000 (19:25 +0000)]
HTML parsing example with libtidy, by Jeff Pohlmeyer

19 years agoand we start over again
Daniel Stenberg [Tue, 1 Feb 2005 08:46:06 +0000 (08:46 +0000)]
and we start over again

19 years ago7.13 coming up
Daniel Stenberg [Tue, 1 Feb 2005 07:54:36 +0000 (07:54 +0000)]
7.13 coming up

19 years agosomewhat nicer libcurl usage
Daniel Stenberg [Mon, 31 Jan 2005 20:03:01 +0000 (20:03 +0000)]
somewhat nicer libcurl usage

19 years agohtmltitle
Daniel Stenberg [Mon, 31 Jan 2005 18:23:42 +0000 (18:23 +0000)]
htmltitle

19 years agoHTML <head> parsing (with libxml) example code by Lars Nilsson.
Daniel Stenberg [Mon, 31 Jan 2005 18:22:40 +0000 (18:22 +0000)]
HTML <head> parsing (with libxml) example code by Lars Nilsson.

19 years agofour changes
Daniel Stenberg [Sun, 30 Jan 2005 22:57:19 +0000 (22:57 +0000)]
four changes

19 years agoif the DO operation returns failure, bail out and close down nicely to
Daniel Stenberg [Sun, 30 Jan 2005 22:54:06 +0000 (22:54 +0000)]
if the DO operation returns failure, bail out and close down nicely to
prevent memory leakage

19 years agoLet's add a cookie interface in 7.14
Daniel Stenberg [Sun, 30 Jan 2005 13:26:12 +0000 (13:26 +0000)]
Let's add a cookie interface in 7.14

19 years agoBugfixed the parser that scans the valgrind report outputs. I noticed that it
Daniel Stenberg [Sun, 30 Jan 2005 12:56:36 +0000 (12:56 +0000)]
Bugfixed the parser that scans the valgrind report outputs. I noticed that it
previously didn't detect and report the "Conditional jump or move depends on
uninitialised value(s)" error.

When I fixed this, I caught a few curl bugs with it. And then I had to spend
time to make the test suite IGNORE these errors when OpenSSL is used since it
produce massive amounts of valgrind warnings (but only of the "Conditional..."
kind it seems).

So, if a test that requires SSL is run, it ignores the "Conditional..."
errors, and you'll get a "valgrind PARTIAL" output instead of "valgrind OK".

19 years agoproperly mark tests as requiring feature 'SSL'
Daniel Stenberg [Sun, 30 Jan 2005 12:53:05 +0000 (12:53 +0000)]
properly mark tests as requiring feature 'SSL'

19 years agoUse calloc() to save us the memset() call and terminate conn->host.name
Daniel Stenberg [Sun, 30 Jan 2005 12:42:15 +0000 (12:42 +0000)]
Use calloc() to save us the memset() call and terminate conn->host.name
properly, to avoid reading uninited variables when using file:// (valgrind)

19 years agoClear the urlglob struct when allocated, since we might otherwise use
Daniel Stenberg [Sat, 29 Jan 2005 23:46:27 +0000 (23:46 +0000)]
Clear the urlglob struct when allocated, since we might otherwise use
uninitialized variables. Pointed out to us by the friendly Valgrind.

19 years agoinclude "url.h" for the Curl_safefree() proto
Daniel Stenberg [Sat, 29 Jan 2005 22:38:45 +0000 (22:38 +0000)]
include "url.h" for the Curl_safefree() proto

19 years agoUsing the multi interface, and doing a requsted a re-used connection that
Daniel Stenberg [Sat, 29 Jan 2005 22:31:06 +0000 (22:31 +0000)]
Using the multi interface, and doing a requsted a re-used connection that
gets closed just after the request has been sent failed and did not re-issue
a request on a fresh reconnect like the easy interface did. Now it does!
(define CURL_MULTIEASY, run test case 160)

19 years agoDefine CURL_MULTIEASY when building this, to use my new curl_easy_perform()
Daniel Stenberg [Sat, 29 Jan 2005 22:26:38 +0000 (22:26 +0000)]
Define CURL_MULTIEASY when building this, to use my new curl_easy_perform()
that uses the multi interface to run the request. It is a great testbed for
the multi interface and I believe we shall do it this way for real in the
future when we have a successor to curl_multi_fdset().

19 years agocorrected the URL
Daniel Stenberg [Sat, 29 Jan 2005 13:54:15 +0000 (13:54 +0000)]
corrected the URL

19 years agoconn->ip_addr MUST NOT be used on re-used connections
Daniel Stenberg [Sat, 29 Jan 2005 13:07:16 +0000 (13:07 +0000)]
conn->ip_addr MUST NOT be used on re-used connections

19 years agowhen using valgrind, include a much longer stack trace
Daniel Stenberg [Sat, 29 Jan 2005 13:06:31 +0000 (13:06 +0000)]
when using valgrind, include a much longer stack trace

19 years agomulti interface: when a request is denied due to "Maximum redirects followed"
Daniel Stenberg [Sat, 29 Jan 2005 12:01:20 +0000 (12:01 +0000)]
multi interface: when a request is denied due to "Maximum redirects followed"
libcurl leaked the last Location: URL.

19 years agoConnect failures with the multi interface was often returned as "connect()
Daniel Stenberg [Fri, 28 Jan 2005 23:21:24 +0000 (23:21 +0000)]
Connect failures with the multi interface was often returned as "connect()
timed out" even though the reason was different. Fixed this problem by not
setting this timeout to zero when using multi.

19 years agoadjusted to the moved unlock of the DNS entry
Daniel Stenberg [Fri, 28 Jan 2005 22:22:59 +0000 (22:22 +0000)]
adjusted to the moved unlock of the DNS entry

19 years agoKNOWN_BUGS #17 fixed. A DNS cache entry may not remain locked between two
Daniel Stenberg [Fri, 28 Jan 2005 22:14:48 +0000 (22:14 +0000)]
KNOWN_BUGS #17 fixed. A DNS cache entry may not remain locked between two
curl_easy_perform() invokes. It was previously unlocked at disconnect, which
could mean that it remained locked between multiple transfers. The DNS cache
may not live as long as the connection cache does, as they are separate.

To deal with the lack of DNS (host address) data availability in re-used
connections, libcurl now keeps a copy of the IP adress as a string, to be able
to show it even on subsequent requests on the same connection.

19 years agoStephen More pointed out that CURLOPT_FTPPORT and the -P option didn't work
Daniel Stenberg [Fri, 28 Jan 2005 08:26:36 +0000 (08:26 +0000)]
Stephen More pointed out that CURLOPT_FTPPORT and the -P option didn't work
when built ipv6-enabled. I've now made a fix for it. Writing test cases for
custom port strings turned too tricky so unfortunately there's none.

19 years agotest the EPRT/LPRT/PORT somewhat more
Daniel Stenberg [Thu, 27 Jan 2005 23:03:02 +0000 (23:03 +0000)]
test the EPRT/LPRT/PORT somewhat more

19 years agoUse the same work-around for the memdebug stuff as in the command line client,
Daniel Stenberg [Thu, 27 Jan 2005 22:40:56 +0000 (22:40 +0000)]
Use the same work-around for the memdebug stuff as in the command line client,
to allow the contents of the env var decide the file name.

19 years agoa slightly involved work-around to prevent the debug-tracing from logging
Daniel Stenberg [Thu, 27 Jan 2005 15:59:01 +0000 (15:59 +0000)]
a slightly involved work-around to prevent the debug-tracing from logging
a free-without-alloc as the first call

19 years agoMake the debug build get the debug dump file path from the environment
Daniel Stenberg [Thu, 27 Jan 2005 15:51:03 +0000 (15:51 +0000)]
Make the debug build get the debug dump file path from the environment
variable to allow the test suite to better control where it ends up.

19 years agoverify a part of the PORT line
Daniel Stenberg [Thu, 27 Jan 2005 12:59:40 +0000 (12:59 +0000)]
verify a part of the PORT line

19 years agoMake the server ignore the given PORT address, to make it possible to test
Daniel Stenberg [Wed, 26 Jan 2005 23:18:31 +0000 (23:18 +0000)]
Make the server ignore the given PORT address, to make it possible to test
curl's -P option easier.

19 years agoadded more official web and download mirrors
Daniel Stenberg [Wed, 26 Jan 2005 12:05:33 +0000 (12:05 +0000)]
added more official web and download mirrors

19 years agonew curlpp URL
Daniel Stenberg [Wed, 26 Jan 2005 11:53:49 +0000 (11:53 +0000)]
new curlpp URL

19 years agofixed sort, mention C, the java binding is now maintained by Vic Hanson
Daniel Stenberg [Wed, 26 Jan 2005 11:53:12 +0000 (11:53 +0000)]
fixed sort, mention C, the java binding is now maintained by Vic Hanson

19 years agoadd number to the bugs to make them easier to refer to
Daniel Stenberg [Tue, 25 Jan 2005 23:40:35 +0000 (23:40 +0000)]
add number to the bugs to make them easier to refer to

19 years agotwo known bugs
Daniel Stenberg [Tue, 25 Jan 2005 22:21:42 +0000 (22:21 +0000)]
two known bugs

19 years agoIan Ford asked about support for the FTP command ACCT, and I discovered it is
Daniel Stenberg [Tue, 25 Jan 2005 22:13:12 +0000 (22:13 +0000)]
Ian Ford asked about support for the FTP command ACCT, and I discovered it is
present in RFC959... so now (lib)curl supports it as well. --ftp-account and
CURLOPT_FTP_ACCOUNT set the account string. (The server may ask for an account
string after PASS have been sent away. The client responds with "ACCT [account
string]".) Added test case 228 and 229 to verify the functionality. Updated
the test FTP server to support ACCT somewhat.

19 years agoA minor "syntax error" in numerous test files corrected
Daniel Stenberg [Tue, 25 Jan 2005 21:45:03 +0000 (21:45 +0000)]
A minor "syntax error" in numerous test files corrected

19 years agonew web mirror
Daniel Stenberg [Tue, 25 Jan 2005 13:59:48 +0000 (13:59 +0000)]
new web mirror

19 years ago--protocols is added in 7.13.0
Daniel Stenberg [Tue, 25 Jan 2005 12:06:12 +0000 (12:06 +0000)]
--protocols is added in 7.13.0

19 years agoDavid Shaw contributed a fairly complete and detailed autoconf macro you can
Daniel Stenberg [Tue, 25 Jan 2005 09:29:05 +0000 (09:29 +0000)]
David Shaw contributed a fairly complete and detailed autoconf macro you can
use to detect libcurl and setup variables for the protocols the installed
libcurl supports: docs/libcurl/libcurl.m4

19 years agoUse plain structs and not typedef'ed ones in the hash and linked-list code.
Daniel Stenberg [Tue, 25 Jan 2005 00:06:29 +0000 (00:06 +0000)]
Use plain structs and not typedef'ed ones in the hash and linked-list code.

19 years agotwo options less
Daniel Stenberg [Sun, 23 Jan 2005 00:08:56 +0000 (00:08 +0000)]
two options less

19 years ago\fI marked \fP more function calls etc.
Daniel Stenberg [Sat, 22 Jan 2005 22:43:04 +0000 (22:43 +0000)]
\fI marked \fP more function calls etc.

19 years agoIf you're using libcurl as a win32 DLL, you MUST use the CURLOPT_WRITEFUNCTION
Daniel Stenberg [Sat, 22 Jan 2005 22:24:17 +0000 (22:24 +0000)]
If you're using libcurl as a win32 DLL, you MUST use the CURLOPT_WRITEFUNCTION
if you set CURLOPT_WRITEDATA - or you will experience crashes.

19 years agonext release will be 7.13.0
Daniel Stenberg [Sat, 22 Jan 2005 19:26:37 +0000 (19:26 +0000)]
next release will be 7.13.0

19 years agoadded a few items I plan to do
Daniel Stenberg [Sat, 22 Jan 2005 09:03:55 +0000 (09:03 +0000)]
added a few items I plan to do

19 years agoFTP third transfer support overhaul. See CHANGES for details.
Daniel Stenberg [Fri, 21 Jan 2005 09:32:32 +0000 (09:32 +0000)]
FTP third transfer support overhaul. See CHANGES for details.

19 years agoclarify the struct name for CURLOPT_HTTPPOST
Daniel Stenberg [Fri, 21 Jan 2005 08:56:04 +0000 (08:56 +0000)]
clarify the struct name for CURLOPT_HTTPPOST

19 years agoAdded support for "verify" => "stripfile" to strip contents of the file that
Daniel Stenberg [Thu, 20 Jan 2005 22:48:43 +0000 (22:48 +0000)]
Added support for "verify" => "stripfile" to strip contents of the file that
is being checked.

Also made the server retrying sleep only one second instead of three, to reduce
some waiting when fooling around with the servers.

19 years agoSupport file names passed to RETR that don't start with a number. In that
Daniel Stenberg [Thu, 20 Jan 2005 22:47:31 +0000 (22:47 +0000)]
Support file names passed to RETR that don't start with a number. In that
case, all non-numeric prefixing letters are cut off to figure out the test
number.

19 years agoPhilippe Hameau found out that -Q "+[command]" didn't work, although some code
Daniel Stenberg [Thu, 20 Jan 2005 22:22:12 +0000 (22:22 +0000)]
Philippe Hameau found out that -Q "+[command]" didn't work, although some code
was written for it. I fixed and added test case 227 to verify it.  The curl.1
man page didn't mention the '+' so I added it.

19 years agoadd support for NOOP
Daniel Stenberg [Thu, 20 Jan 2005 22:05:44 +0000 (22:05 +0000)]
add support for NOOP

19 years agoIf you give a *_LARGE option you MUST make sure that the type of the passed-in
Daniel Stenberg [Thu, 20 Jan 2005 14:24:56 +0000 (14:24 +0000)]
If you give a *_LARGE option you MUST make sure that the type of the passed-in
argument is a curl_off_t. If you use CURLOPT_INFILESIZE (without _LARGE) you
must make sure that to pass in a type 'long' argument. */

19 years agoadded test226 too
Daniel Stenberg [Wed, 19 Jan 2005 22:00:54 +0000 (22:00 +0000)]
added test226 too

19 years agoStephan Bergmann made libcurl return CURLE_URL_MALFORMAT if an FTP URL
Daniel Stenberg [Wed, 19 Jan 2005 21:56:02 +0000 (21:56 +0000)]
Stephan Bergmann made libcurl return CURLE_URL_MALFORMAT if an FTP URL
contains %0a or %0d in the user, password or CWD parts. (A future fix would
include doing it for %00 as well - see KNOWN_BUGS for details.) Test case 225
and 226 were added to verify this

19 years agotoday's proxy fixes
Daniel Stenberg [Wed, 19 Jan 2005 18:05:56 +0000 (18:05 +0000)]
today's proxy fixes

19 years agoDon't copy 'stderr' for Win-CE in IPv6 code. Don't call
Gisle Vanem [Wed, 19 Jan 2005 10:20:55 +0000 (10:20 +0000)]
Don't copy 'stderr' for Win-CE in IPv6 code. Don't call
GetCurrentProcess() twice; use a local variable.

19 years agoadd a URL to an article about making Apache support PUT
Daniel Stenberg [Wed, 19 Jan 2005 10:09:15 +0000 (10:09 +0000)]
add a URL to an article about making Apache support PUT

19 years agoStephan Bergmann pointed out two flaws in libcurl built with HTTP disabled:
Daniel Stenberg [Wed, 19 Jan 2005 09:36:44 +0000 (09:36 +0000)]
Stephan Bergmann pointed out two flaws in libcurl built with HTTP disabled:

1) the proxy environment variables are still read and used to set HTTP proxy

2) you couldn't disable http proxy with CURLOPT_PROXY (since the option was
   disabled)

19 years agoskip sys/socket.h on windows CE
Daniel Stenberg [Tue, 18 Jan 2005 15:13:23 +0000 (15:13 +0000)]
skip sys/socket.h on windows CE

19 years agocheck for errno.h
Daniel Stenberg [Tue, 18 Jan 2005 14:34:50 +0000 (14:34 +0000)]
check for errno.h

19 years agoCody Jones' enhanced version of Samuel Díaz García's MSVC makefile patch.
Daniel Stenberg [Tue, 18 Jan 2005 10:17:34 +0000 (10:17 +0000)]
Cody Jones' enhanced version of Samuel Díaz García's MSVC makefile patch.

19 years agoAdd support for server 'ftp2' which is a second FTP server. Useful for 3rd
Daniel Stenberg [Mon, 17 Jan 2005 20:20:34 +0000 (20:20 +0000)]
Add support for server 'ftp2' which is a second FTP server. Useful for 3rd
party transfer tests or tests that need two FTP servers.

19 years agosupport the new --id command line option, that allows a second (or third or
Daniel Stenberg [Mon, 17 Jan 2005 19:49:12 +0000 (19:49 +0000)]
support the new --id command line option, that allows a second (or third or
whatever) instance to run without overwriting the previous' logfiles

19 years agomention the name-prefix protocol guess thing
Daniel Stenberg [Mon, 17 Jan 2005 14:57:21 +0000 (14:57 +0000)]
mention the name-prefix protocol guess thing

19 years agoupdated the wording for -B/--use-ascii
Daniel Stenberg [Mon, 17 Jan 2005 09:18:04 +0000 (09:18 +0000)]
updated the wording for -B/--use-ascii

19 years agoAlex aka WindEagle pointed out that when doing "curl -v dictionary.com", curl
Daniel Stenberg [Sun, 16 Jan 2005 08:51:52 +0000 (08:51 +0000)]
Alex aka WindEagle pointed out that when doing "curl -v dictionary.com", curl
assumed this used the DICT protocol. While guessing protocols will remain
fuzzy, I've now made sure that the host names must start with "[protocol]."
for them to be a valid guessable name. I also removed "https" as a prefix that
indicates HTTPS, since we hardly ever see any host names using that.

19 years agomention --netrc in the -u description
Daniel Stenberg [Sun, 16 Jan 2005 08:34:18 +0000 (08:34 +0000)]
mention --netrc in the -u description

19 years agoerrrno can by freak accident become EINTR on DOS or
Gisle Vanem [Sat, 15 Jan 2005 09:26:07 +0000 (09:26 +0000)]
errrno can by freak accident become EINTR on DOS or
Windows (unrelated to select). select() can never set errno
to EINTR on Windows.

19 years agooutput better error detection, like when ipv6 can't resolve
Daniel Stenberg [Sat, 15 Jan 2005 09:21:51 +0000 (09:21 +0000)]
output better error detection, like when ipv6 can't resolve

19 years agoAdded README.hostip
Daniel Stenberg [Fri, 14 Jan 2005 13:43:29 +0000 (13:43 +0000)]
Added README.hostip