in reply to Re: Strange blocking issue with HTTP::Daemon
in thread Strange blocking issue with HTTP::Daemon

If you add
$c->send_response($response); $c->force_last_request;
or force HTTP version less than 1.1, then the server won't try to use HTTP persistent connection.

It appears the OS is allowing perl and firefox to share a socket to localhost:4242, and then firefox is blocking access until you exit. I'm not sure if the OS is doing the right thing here.