Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: ModPerl: Dev




ModPerl dev RSS feed   Index | Next | Previous | View Threaded

perl.apache at jan-o-sch

Jul 3, 2009, 3:29 AM

Post #1 of 1 (1366 views)

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().


To unsubscribe, e-mail: dev-unsubscribe [at] perl
For additional commands, e-mail: dev-help [at] perl

ModPerl dev RSS feed   Index | Next | Previous | View Threaded

Interested in having your list archived? Contact Gossamer Threads
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.