The documentation says close() is part of the "unsupported API" of
APR::Socket which will be "finalized as a need arises". Though not
absolutely certain, I guess I have a need for that function:

I want to accept a POST-request from the client, read some content and
consequently decide that data should not be transferred. I'd like to
close the socket, then. When I simply call exit() in my perl handler the
client data is read by mod_perl, as documented.

Side question: Why is there no method to get the file descriptor from
mod_perl? I could then use sysread() and such - including close().

Jan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@perl.apache.org
For additional commands, e-mail: dev-h...@perl.apache.org

Reply via email to