return_to_base and http_response_sent

Eamon Daly edaly at
Fri Jan 18 02:03:28 UTC 2008

Is return_to_base supposed to be fired at the end of every
web request? I'm rolling my own logger and discovered that
return_to_base isn't fired at all if keep alives are turned

(in Perlbal::ClientHTTPBase, line 163)

    # close if we have no response headers or they say to close
    return 0;

Is that expected behavior? If so, might I suggest an
"end_web_request" hook or similar? I'm currently overriding
http_response_sent and adding my own, but it's not exactly

Eamon Daly

More information about the perlbal mailing list