curl-library
Re: nonblocking sockets [PATCH]
From: Georg Horn <horn_at_koblenz-net.de>
Date: Mon, 7 Jan 2002 17:44:35 +0100
Date: Mon, 7 Jan 2002 17:44:35 +0100
On Mon, Jan 07, 2002 at 04:47:22PM +0100, Daniel Stenberg wrote:
> Hm, that doesn't look right. Another odd thing is why it returned 23
> (CURLE_WRITE_ERROR) and not 28 (CURLE_OPERATION_TIMEOUTED)... The error text
> clearly shows that the SSL connection timeout logic worked.
Argl, that was my error! I didn't remove my old patch completely, and so
libcurl just continued happily after the "protocol-specific connect function"
somewhere around line 2110 in url.c failed... Now it works:
$ src/curl -v --connect-timeout 1 https://meine.db24.de
* Closing connection #0
curl: (28) SSL connection timeout
Bye,
Georg
Received on 2002-01-07