in reply to Re: Re: Re: Re: HTTP::Daemon aborting in send_status_line?
in thread HTTP::Daemon aborting in send_status_line?
The program does not hang (block) on the print statement, it stops at it (dies without raising an exception).Perhaps you're getting a "broken pipe" exception. Quote from Lincoln Stein's book "Network Programming in Perl":
The PIPE signal is sent when a program writes to a pipe or socket but the process at the remote end has either exited or closed the pipe.
Try setting a $SIG{PIPE} handler to an error reporting sub.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re(5): HTTP::Daemon aborting in send_status_line?
by mifflin (Curate) on Apr 23, 2004 at 15:46 UTC |