Apache HTTP Server Version 2.4 (original) (raw)
Apache Module mod_proxy_fdpass
Description: | fdpass external process support module formod_proxy |
---|---|
Status: | Extension |
Module Identifier: | proxy_fdpass_module |
Source File: | mod_proxy_fdpass.c |
Compatibility: | Available for unix in version 2.3 and later |
Summary
This module requires the service of [mod_proxy](../mod/mod%5Fproxy.html)
. It provides support for the passing the socket of the client to another process.
mod_proxy_fdpass
uses the ability of AF_UNIX domain sockets to pass an open file descriptor to allow another process to finish handling a request.
The module has a proxy_fdpass_flusher
provider interface, which allows another module to optionally send the response headers, or even the start of the response body. The default flush
provider disables keep-alive, and sends the response headers, letting the external process just send a response body.
In order to use another provider, you have to set the flusher
parameter in the [ProxyPass](../mod/mod%5Fproxy.html#proxypass)
directive.
At this time the only data passed to the external process is the client socket. To receive a client socket, call recvfrom with an allocatedstruct cmsghdr. Future versions of this module may include more data after the client socket, but this is not implemented at this time.
Comments
Notice:
This is not a Q&A section. Comments placed here should be pointed towards suggestions on improving the documentation or server, and may be removed by our moderators if they are either implemented or considered invalid/off-topic. Questions on how to manage the Apache HTTP Server should be directed at either our IRC channel, #httpd, on Libera.chat, or sent to our mailing lists.