cURL / Mailing Lists / curl-users / Single Mail

curl-users

RE: 7.9.6 sparc-sun-solaris2.4 ftp timeout after connect?

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 30 Apr 2002 08:29:01 +0200 (MET DST)

On Mon, 29 Apr 2002, Rich Gray wrote:

> > This seems to indicate that non-blocking sockets aren't possible
> > on Solaris 2.4 (at least, it excludes all the alternatives that I
> > am familiar with). However, before abandonning all hope we could
> > try with fcntl(FNDELAY).
>
> No joy. :(

Hm, we do in fact have a define for running without nonblocking sockets, try
these lines in connect.c (efter the inclueds):

#undef HAVE_O_NONBLOCK
#undef HAVE_FIONBIO
#define HAVE_DISABLED_NONBLOCKING

This will however disable timeouts during connects...

-- 
    Daniel Stenberg -- curl groks URLs -- http://curl.haxx.se/
Received on 2002-04-30