httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Janovsky <>
Subject using sockets within an apache module
Date Fri, 21 Jan 2011 21:21:28 GMT
we have a requirement to pass content generated during a request to an external 
application.  after researching the APR API, reading up on the Apache module  
architecture and through the help of this group we've decided to use sockets 
within each child process.  with that said can anyone see a problem with this 
implementation in regards to the child process life cycle?

brief overview

- Apache running in prefork
- ap_hook_child_init initializes socket specific child process and registers 
pool cleanup for socket's associated memory pool where socket is closed
- ap_hook_handler will be responsible for writing to the socket

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message