in reply to Daemon won't process request until next

Well autoflushing is on by default. It seems like there might be a bug in get_request. I'm fairly confounded here.
Flushing is not enough. You must close your handles. Your response is not over until the socket is closed. That's how HTTP works.
  • Comment on Re: Daemon won't process request until next

Replies are listed 'Best First'.
Re: Re: Daemon won't process request until next
by sgifford (Prior) on Jul 16, 2003 at 20:20 UTC
    ...assuming you're not using keep-alive.
Re: Re: Daemon won't process request until next
by shotgunefx (Parson) on Jul 16, 2003 at 20:34 UTC
    I am aware of this. Indeed the socket is getting closed. It seems to be a bug in HTTP::Daemon or one of the socket libraries as I have now tried it on 3 other machines without problems. Only this one machine. F**king hate problems like this, sigh.

    Thanks,
    -Lee

    "To be civilized is to deny one's nature."
      Do your versions of perl or HTTP::Daemon differ on this box?

      -Waswas
        No but perl does. It works on 5.6.1 but the machine were it does not work is 5.6.0

        -Lee

        "To be civilized is to deny one's nature."