mod_proxy_fdpass.html.en revision fc32fe886201ffcf1ca557bdf7d34a7468ab3374
af4381d113faafc97340eaaa008840c7fcbcc8fdsf<?xml version="1.0" encoding="ISO-8859-1"?>
af4381d113faafc97340eaaa008840c7fcbcc8fdsf<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
af4381d113faafc97340eaaa008840c7fcbcc8fdsf<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head><!--
af4381d113faafc97340eaaa008840c7fcbcc8fdsf XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
af4381d113faafc97340eaaa008840c7fcbcc8fdsf This file is generated from xml source: DO NOT EDIT
af4381d113faafc97340eaaa008840c7fcbcc8fdsf XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
af4381d113faafc97340eaaa008840c7fcbcc8fdsf -->
af4381d113faafc97340eaaa008840c7fcbcc8fdsf<title>mod_proxy_fdpass - Apache HTTP Server</title>
af4381d113faafc97340eaaa008840c7fcbcc8fdsf<link href="/style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" />
af4381d113faafc97340eaaa008840c7fcbcc8fdsf<link href="/style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" />
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen<link href="/style/css/manual-print.css" rel="stylesheet" media="print" type="text/css" />
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen<link href="/images/favicon.ico" rel="shortcut icon" /></head>
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen<body>
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen<div id="page-header">
af4381d113faafc97340eaaa008840c7fcbcc8fdsf<p class="menu"><a href="/mod/">Modules</a> | <a href="/mod/directives.html">Directives</a> | <a href="/faq/">FAQ</a> | <a href="/glossary.html">Glossary</a> | <a href="/sitemap.html">Sitemap</a></p>
af4381d113faafc97340eaaa008840c7fcbcc8fdsf<p class="apache">Apache HTTP Server Version 2.3</p>
af4381d113faafc97340eaaa008840c7fcbcc8fdsf<img alt="" src="/images/feather.gif" /></div>
af4381d113faafc97340eaaa008840c7fcbcc8fdsf<div class="up"><a href="./"><img title="&lt;-" alt="&lt;-" src="/images/left.gif" /></a></div>
3f08db06526d6901aa08c110b5bc7dde6bc39905nd<div id="path">
af4381d113faafc97340eaaa008840c7fcbcc8fdsf<a href="http://www.apache.org/">Apache</a> &gt; <a href="http://httpd.apache.org/">HTTP Server</a> &gt; <a href="http://httpd.apache.org/docs/">Documentation</a> &gt; <a href="../">Version 2.3</a> &gt; <a href="./">Modules</a></div>
af4381d113faafc97340eaaa008840c7fcbcc8fdsf<div id="page-content">
af4381d113faafc97340eaaa008840c7fcbcc8fdsf<div id="preamble"><h1>Apache Module mod_proxy_fdpass</h1>
3f08db06526d6901aa08c110b5bc7dde6bc39905nd<div class="toplang">
af4381d113faafc97340eaaa008840c7fcbcc8fdsf<p><span>Available Languages: </span><a href="/en/mod/mod_proxy_fdpass.html" title="English">&nbsp;en&nbsp;</a></p>
af4381d113faafc97340eaaa008840c7fcbcc8fdsf</div>
af4381d113faafc97340eaaa008840c7fcbcc8fdsf<table class="module"><tr><th><a href="module-dict.html#Description">Description:</a></th><td>fdpass external process support module for
f086b4b402fa9a2fefc7dda85de2a3cc1cd0a654rjung<code class="module"><a href="/mod/mod_proxy.html">mod_proxy</a></code></td></tr>
af4381d113faafc97340eaaa008840c7fcbcc8fdsf<tr><th><a href="module-dict.html#Status">Status:</a></th><td>Extension</td></tr>
af4381d113faafc97340eaaa008840c7fcbcc8fdsf<tr><th><a href="module-dict.html#ModuleIdentifier">Module�Identifier:</a></th><td>proxy_fdpass_module</td></tr>
af4381d113faafc97340eaaa008840c7fcbcc8fdsf<tr><th><a href="module-dict.html#SourceFile">Source�File:</a></th><td>mod_proxy_fdpass.c</td></tr>
7f0952c0239ea2d6e37b472db6fde4ef2718343dsf<tr><th><a href="module-dict.html#Compatibility">Compatibility:</a></th><td>Available for unix in version 2.3 and later</td></tr></table>
af4381d113faafc97340eaaa008840c7fcbcc8fdsf<h3>Summary</h3>
af4381d113faafc97340eaaa008840c7fcbcc8fdsf
16a0ba19b2cecf27e48c0c197ae1f3a96f447949sf <p>This module <em>requires</em> the service of <code class="module"><a href="/mod/mod_proxy.html">mod_proxy</a></code>. It provides support for the passing the socket of the
af4381d113faafc97340eaaa008840c7fcbcc8fdsf client to another process.</p>
af4381d113faafc97340eaaa008840c7fcbcc8fdsf
af4381d113faafc97340eaaa008840c7fcbcc8fdsf <p><code>mod_proxy_fdpass</code> uses the ability of AF_UNIX domain
efb3a31a4ca193ac8629a4c039d481c29171d6e0sf sockets to <a href="http://www.freebsd.org/cgi/man.cgi?query=recv">pass an
af4381d113faafc97340eaaa008840c7fcbcc8fdsf open file descriptor</a> to allow another process to finish handling a request.
af4381d113faafc97340eaaa008840c7fcbcc8fdsf </p>
af4381d113faafc97340eaaa008840c7fcbcc8fdsf
af4381d113faafc97340eaaa008840c7fcbcc8fdsf <p>The module has a <code>proxy_fdpass_flusher</code> provider interface,
af4381d113faafc97340eaaa008840c7fcbcc8fdsf which allows another module to optionally send the response headers, or even
af4381d113faafc97340eaaa008840c7fcbcc8fdsf the start of the response body. The default flush provider disables keep-alive,
af4381d113faafc97340eaaa008840c7fcbcc8fdsf and sends the response headers, letting the external process just send a
af4381d113faafc97340eaaa008840c7fcbcc8fdsf response body.</p>
af4381d113faafc97340eaaa008840c7fcbcc8fdsf
af4381d113faafc97340eaaa008840c7fcbcc8fdsf <p>At this time the only data passed to the external process is the client
af4381d113faafc97340eaaa008840c7fcbcc8fdsf socket. To recieve a client socket, call recvfrom with the an allocated
af4381d113faafc97340eaaa008840c7fcbcc8fdsf <a href="http://www.kernel.org/doc/man-pages/online/pages/man3/cmsg.3.html"><code>struct cmsghdr</code></a>. Future versions of this module may include
af4381d113faafc97340eaaa008840c7fcbcc8fdsf more data after the client socket, but this is not implemented at this time.
af4381d113faafc97340eaaa008840c7fcbcc8fdsf </p>
af4381d113faafc97340eaaa008840c7fcbcc8fdsf</div>
efb3a31a4ca193ac8629a4c039d481c29171d6e0sf<div id="quickview"><h3 class="directives">Directives</h3>
af4381d113faafc97340eaaa008840c7fcbcc8fdsf<p>This module provides no
af4381d113faafc97340eaaa008840c7fcbcc8fdsf directives.</p>
af4381d113faafc97340eaaa008840c7fcbcc8fdsf<h3>See also</h3>
af4381d113faafc97340eaaa008840c7fcbcc8fdsf<ul class="seealso">
efb3a31a4ca193ac8629a4c039d481c29171d6e0sf<li><code class="module"><a href="/mod/mod_proxy.html">mod_proxy</a></code></li>
af4381d113faafc97340eaaa008840c7fcbcc8fdsf</ul></div>
48b62528cd9513fe8b5f1bbcee92ab3b28c94807rbowen
efb3a31a4ca193ac8629a4c039d481c29171d6e0sf</div>
efb3a31a4ca193ac8629a4c039d481c29171d6e0sf<div class="bottomlang">
af4381d113faafc97340eaaa008840c7fcbcc8fdsf<p><span>Available Languages: </span><a href="/en/mod/mod_proxy_fdpass.html" title="English">&nbsp;en&nbsp;</a></p>
af4381d113faafc97340eaaa008840c7fcbcc8fdsf</div><div id="footer">
efb3a31a4ca193ac8629a4c039d481c29171d6e0sf<p class="apache">Copyright 2009 The Apache Software Foundation.<br />Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p>
af4381d113faafc97340eaaa008840c7fcbcc8fdsf<p class="menu"><a href="/mod/">Modules</a> | <a href="/mod/directives.html">Directives</a> | <a href="/faq/">FAQ</a> | <a href="/glossary.html">Glossary</a> | <a href="/sitemap.html">Sitemap</a></p></div>
af4381d113faafc97340eaaa008840c7fcbcc8fdsf</body></html>