On Thursday 21 February 2002 05:44, Ian Abbott wrote: > On 21 Feb 2002 at 1:31, Alan Eldridge wrote: > > You can't get it to work for timing out a socket connection, because > > that is a bit of code that hasn't been implemented yet. > > > > If no one else wants to, I can work up a patch for this next week. > > It's pretty standard coding, right out of Stevens. ;) > > Before you do that, have look at this thread from December: > > Subject: Patch for wget hanging on connect() call > <http://www.mail-archive.com/wget@sunsite.dk/msg02342.html> > <http://www.mail-archive.com/wget@sunsite.dk/msg02345.html> > <http://www.mail-archive.com/wget@sunsite.dk/msg02353.html> > <http://www.mail-archive.com/wget@sunsite.dk/msg02354.html> > <http://www.mail-archive.com/wget@sunsite.dk/msg02355.html> > <http://www.mail-archive.com/wget@sunsite.dk/msg02358.html> > <http://www.mail-archive.com/wget@sunsite.dk/msg02356.html> > > The main problem seems to be the (non-)portability of FIONBIO on > older systems that Wget is supposed to work on, but the above > messages go into it (and possible work-arounds) in more detail. It > might be better to use alarm() and a signal handler as Daniel > Stenberg suggested in one of the above messages.
Thanks, Ian. Will do so. I won't get to this until next week, so if anybody else out there has intentions to do it sooner, please post so we don't duplicate effort. -- Alan Eldridge "Dave's not here, man."