in reply to Strange blocking issue with HTTP::Daemon

It this so obvious or why won't anyone explain?
  • Comment on Re: Strange blocking issue with HTTP::Daemon

Replies are listed 'Best First'.
Re^2: Strange blocking issue with HTTP::Daemon
by Anonymous Monk on Aug 11, 2010 at 10:28 UTC
Re^2: Strange blocking issue with HTTP::Daemon
by Anonymous Monk on Aug 11, 2010 at 10:51 UTC
    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.