curl-users
timeouts
Date: Tue, 24 Oct 2000 17:43:13 +0200
Hi list,
thanks to Daniel for the hint with freshmeat, i'll do further work on
the perl-interface if time permits (and if the lowlevel interface of
libcurl is ready, *hehe* ;-))
Currently i have another problem: Sometimes when fetching a page from a heavy
loaded server, there happens a timeout during connecting to the server. Curl
(or my program that is linked with libcurl) then just prints out "Alarm clock"
and exits, which is not the desired behaviour, especially when using the lib. I
tried to activate the signal/alarm mechanism in url.c by uncommenting the line
signal(SIGALRM, alarmfunc);
added a printf statement to alarmfunc() and also put a printf before
and after the call to connect(). But the program simply prints out "alarmfunc
called" and still hangs in the connect() call. Any idea how this can be
fixed?
Bye,
Georg
Received on 2000-10-24