W3C home > Mailing lists > Public > www-lib@w3.org > January to March 2001

POST hangs when handling SIGALRM and there's no response from ser ver

From: Summers, Graham <GSummers@ndsuk.com>
Date: Fri, 23 Feb 2001 12:08:38 -0000
Message-ID: <F128989C2E99D4119C110002A5074098887975@topper.hrow.ndsuk.com>
To: "'www-lib@w3.org'" <www-lib@w3.org>

I'm on HP-UX and have a regular timer and a SIGALRM signal handler.

I've set a timeout on my POST using HTHost_setEventTimeout().

I've found though that when I POST and the server doesn't respond then
the timeout never I occurs, I just hang waiting for the response.

This only seems to happen when the interval I specify in
is greater than the interval of my timer.

I've tried in vain to understand why this should be by looking at the libwww
code but I've given up

The solution for me was to remove and restore my SIGALRM handler either side

of the POST.


NDS Corporate Headquarters Has Moved From 1 Heathrow Boulevard to : 
One London Road 
Middlesex TW18 4EX 
Please note that all phone/fax numbers remain the same 

Information contained in this email message is intended only for
use of the individual or entity named above. If the reader of this
message is not the intended recipient, or the employee or agent
responsible to deliver it to the intended recipient, you are hereby
notified that any dissemination, distribution or copying of this
communication is strictly prohibited. If you have received this
communication in error, please immediately notify us by email
to postmaster@ndsuk.com and destroy the original message.
Received on Friday, 23 February 2001 07:10:26 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:33:53 UTC