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.
In reply to Re: HTTP::Daemon aborting in send_status_line?
by sgifford
in thread HTTP::Daemon aborting in send_status_line?
by mifflin
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |