in reply to HTTP::Daemon aborting in send_status_line?
The print statement is probably blocking. One reason for that could be that the socket went away and you were told by the failure of a system call, but you didn't handle the error. Can you reproduce this problem with the small sample server that comes with HTTP::Daemon? (I wasn't able to) Can you try to whittle your program down to the smallest section that demonstrates the problem and post that?
In particular, it looks like this might be the effect you'd see if you didn't check the return status from the get_request method.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: HTTP::Daemon aborting in send_status_line?
by mifflin (Curate) on Apr 23, 2004 at 03:24 UTC | |
by sgifford (Prior) on Apr 23, 2004 at 05:25 UTC | |
by mifflin (Curate) on Apr 23, 2004 at 06:26 UTC | |
by bart (Canon) on Apr 23, 2004 at 08:44 UTC | |
by mifflin (Curate) on Apr 23, 2004 at 15:46 UTC |