Re: connect-timeout not working
Date: Mon, 7 Jan 2002 12:06:50 +0100
On Fri, Jan 04, 2002 at 05:18:06PM +0100, Götz Babin-Ebell wrote:
> The tricky thing with SSL is, it is possible that the
> SSL protocoll wants to write some data when you read data
> and want to read some data when you write data.
> Now if you do a select() and mark the socket only for reading
> and the SSL protocoll wants to write some data, you could wait
> a very long time...
> At the moment I don't know how curl is handling reading/writing but
> you have to do a:
> response = SSL_read(ssl_data,data,length);
Yes, but i think that's not the problem. It hangs during establishing the
connection, not during a read or write afterwards...
Received on 2002-01-07