Re: HTTP downloads and select()

2001-06-26 Thread Roland McGrath
It sounds like there are no signals that should be happening. Try setting a breakpoint in hurdselect.c right after it gets the reply message, and break if MSGERR or MSG.error.err is nonzero. Hmm. It doesn't look like _hurd_select deals at all right with signals interrupting the block. This wil

Re: HTTP downloads and select()

2001-06-26 Thread Marcus Brinkmann
On Tue, Jun 26, 2001 at 04:16:54AM -0400, Roland McGrath wrote: > Unless the program is using sigaction without SA_RESTART for its signal > handlers, select should not return EINTR (it should restart). So the > things to figure out are: what all kinds of signal handling is it using, > and what si

Re: HTTP downloads and select()

2001-06-26 Thread Roland McGrath
Unless the program is using sigaction without SA_RESTART for its signal handlers, select should not return EINTR (it should restart). So the things to figure out are: what all kinds of signal handling is it using, and what signals might be generated that you would expect. ___

HTTP downloads and select()

2001-06-25 Thread Marcus Brinkmann
Hi, apt-get sometimes fails on HTTP downloads with EINTR from a select() call. It was not looping over select() as it does at other places. I filed a bug report, and now Jason says that there shouldn't be any signals to the HTTP process causing an EINTR. I am not fit in this area. How can I tr