diff options
author | Ryan Bloom <rbb@apache.org> | 2001-11-13 23:42:38 +0100 |
---|---|---|
committer | Ryan Bloom <rbb@apache.org> | 2001-11-13 23:42:38 +0100 |
commit | 91aa6046003482482ff7028ca3ca9b62cdcdf1aa (patch) | |
tree | 7d1fe5c342be91bcc04b8c2cc59a31832caeb50c /include/ap_mpm.h | |
parent | Updated NetWare project file. Now builds many of the external modules (diff) | |
download | apache2-91aa6046003482482ff7028ca3ca9b62cdcdf1aa.tar.xz apache2-91aa6046003482482ff7028ca3ca9b62cdcdf1aa.zip |
Allow modules that add sockets to the ap_listeners list to
define the function that should be used to accept on that
socket. Each MPM can define their own function to use for
the accept function with the MPM_ACCEPT_FUNC macro. This
also abstracts out all of the Unix accept error handling
logic, which has become out of synch across Unix MPMs.
The code flow is much easier now for different transports:
1) During pre-config, post-config or while parsing the config
file, add a socket to the ap_listeners list, making sure to
define an accept function at the same time.
2) MPMs find the correct listener, and call the accept function
that was defined in step 1.
3) That accept function returns a void pointer, which is passed
to the create_connection hook.
4) create_connection adds the correct low-level filters.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91916 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/ap_mpm.h')
-rw-r--r-- | include/ap_mpm.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/ap_mpm.h b/include/ap_mpm.h index d223984cc5..96c24a8904 100644 --- a/include/ap_mpm.h +++ b/include/ap_mpm.h @@ -55,6 +55,8 @@ #ifndef AP_MMN_H #define AP_MMN_H +#include "apr_thread_proc.h" + /** * @package Multi-Processing Module library */ |