mod_proxy_fdpass.html.en revision 3f08db06526d6901aa08c110b5bc7dde6bc39905
4a3b6b890a52931991a7ed042d5973ef2039c623minfrin<?xml version="1.0" encoding="ISO-8859-1"?>
4a3b6b890a52931991a7ed042d5973ef2039c623minfrin<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
4a3b6b890a52931991a7ed042d5973ef2039c623minfrin<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head><!--
4a3b6b890a52931991a7ed042d5973ef2039c623minfrin XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
4a3b6b890a52931991a7ed042d5973ef2039c623minfrin This file is generated from xml source: DO NOT EDIT
4a3b6b890a52931991a7ed042d5973ef2039c623minfrin XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
4a3b6b890a52931991a7ed042d5973ef2039c623minfrin -->
4a3b6b890a52931991a7ed042d5973ef2039c623minfrin<title>mod_proxy_fdpass - Apache HTTP Server</title>
4a3b6b890a52931991a7ed042d5973ef2039c623minfrin<link href="/style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" />
4a3b6b890a52931991a7ed042d5973ef2039c623minfrin<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" />
2e545ce2450a9953665f701bb05350f0d3f26275nd<link href="/images/favicon.ico" rel="shortcut icon" /></head>
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen<body>
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen<div id="page-header">
4a3b6b890a52931991a7ed042d5973ef2039c623minfrin<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>
4a3b6b890a52931991a7ed042d5973ef2039c623minfrin<p class="apache">Apache HTTP Server Version 2.5</p>
4a3b6b890a52931991a7ed042d5973ef2039c623minfrin<img alt="" src="/images/feather.gif" /></div>
af33a4994ae2ff15bc67d19ff1a7feb906745bf8rbowen<div class="up"><a href="./"><img title="&lt;-" alt="&lt;-" src="/images/left.gif" /></a></div>
3f08db06526d6901aa08c110b5bc7dde6bc39905nd<div id="path">
4a3b6b890a52931991a7ed042d5973ef2039c623minfrin<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.5</a> &gt; <a href="./">Modules</a></div>
4a3b6b890a52931991a7ed042d5973ef2039c623minfrin<div id="page-content">
4a3b6b890a52931991a7ed042d5973ef2039c623minfrin<div id="preamble"><h1>Apache Module mod_proxy_fdpass</h1>
3f08db06526d6901aa08c110b5bc7dde6bc39905nd<div class="toplang">
4a3b6b890a52931991a7ed042d5973ef2039c623minfrin<p><span>Available Languages: </span><a href="/en/mod/mod_proxy_fdpass.html" title="English">&nbsp;en&nbsp;</a></p>
4a3b6b890a52931991a7ed042d5973ef2039c623minfrin</div>
4a3b6b890a52931991a7ed042d5973ef2039c623minfrin<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>
4a3b6b890a52931991a7ed042d5973ef2039c623minfrin<tr><th><a href="module-dict.html#Status">Status:</a></th><td>Extension</td></tr>
4a3b6b890a52931991a7ed042d5973ef2039c623minfrin<tr><th><a href="module-dict.html#ModuleIdentifier">Module�Identifier:</a></th><td>proxy_fdpass_module</td></tr>
4a3b6b890a52931991a7ed042d5973ef2039c623minfrin<tr><th><a href="module-dict.html#SourceFile">Source�File:</a></th><td>mod_proxy_fdpass.c</td></tr>
4a3b6b890a52931991a7ed042d5973ef2039c623minfrin<tr><th><a href="module-dict.html#Compatibility">Compatibility:</a></th><td>Available for unix in version 2.3 and later</td></tr></table>
4a3b6b890a52931991a7ed042d5973ef2039c623minfrin<h3>Summary</h3>
4a3b6b890a52931991a7ed042d5973ef2039c623minfrin
4a3b6b890a52931991a7ed042d5973ef2039c623minfrin <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
4a3b6b890a52931991a7ed042d5973ef2039c623minfrin client to another process.</p>
4a3b6b890a52931991a7ed042d5973ef2039c623minfrin
4a3b6b890a52931991a7ed042d5973ef2039c623minfrin <p><code>mod_proxy_fdpass</code> uses the ability of AF_UNIX domain
4a3b6b890a52931991a7ed042d5973ef2039c623minfrin sockets to <a href="http://www.freebsd.org/cgi/man.cgi?query=recv">pass an
6d20aeba2c4aa0938bc6e0659d13adc7670ff421poirier open file descriptor</a> to allow another process to finish handling a request.
4a3b6b890a52931991a7ed042d5973ef2039c623minfrin </p>
4a3b6b890a52931991a7ed042d5973ef2039c623minfrin
4a3b6b890a52931991a7ed042d5973ef2039c623minfrin <p>The module has a <code>proxy_fdpass_flusher</code> provider interface,
4a3b6b890a52931991a7ed042d5973ef2039c623minfrin which allows another module to optionally send the response headers, or even
4a3b6b890a52931991a7ed042d5973ef2039c623minfrin the start of the response body. The default flush provider disables keep-alive,
4a3b6b890a52931991a7ed042d5973ef2039c623minfrin and sends the response headers, letting the external process just send a
4a3b6b890a52931991a7ed042d5973ef2039c623minfrin response body.</p>
4a3b6b890a52931991a7ed042d5973ef2039c623minfrin
4a3b6b890a52931991a7ed042d5973ef2039c623minfrin <p>At this time the only data passed to the external process is the client
30471a4650391f57975f60bbb6e4a90be7b284bfhumbedooh socket. To receive a client socket, call recvfrom with an allocated
4a3b6b890a52931991a7ed042d5973ef2039c623minfrin <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
4a3b6b890a52931991a7ed042d5973ef2039c623minfrin more data after the client socket, but this is not implemented at this time.
4a3b6b890a52931991a7ed042d5973ef2039c623minfrin </p>
4a3b6b890a52931991a7ed042d5973ef2039c623minfrin</div>
4a3b6b890a52931991a7ed042d5973ef2039c623minfrin<div id="quickview"><h3 class="directives">Directives</h3>
4a3b6b890a52931991a7ed042d5973ef2039c623minfrin<p>This module provides no
4a3b6b890a52931991a7ed042d5973ef2039c623minfrin directives.</p>
4a3b6b890a52931991a7ed042d5973ef2039c623minfrin<h3>See also</h3>
a4784b5a082381b03e972caf3aa052a64c68f06dhumbedooh<ul class="seealso">
a4784b5a082381b03e972caf3aa052a64c68f06dhumbedooh<li><code class="module"><a href="/mod/mod_proxy.html">mod_proxy</a></code></li>
a4784b5a082381b03e972caf3aa052a64c68f06dhumbedooh</ul></div>
a4784b5a082381b03e972caf3aa052a64c68f06dhumbedooh
a4784b5a082381b03e972caf3aa052a64c68f06dhumbedooh</div>
a4784b5a082381b03e972caf3aa052a64c68f06dhumbedooh<div class="bottomlang">
a4784b5a082381b03e972caf3aa052a64c68f06dhumbedooh<p><span>Available Languages: </span><a href="/en/mod/mod_proxy_fdpass.html" title="English">&nbsp;en&nbsp;</a></p>
4a3b6b890a52931991a7ed042d5973ef2039c623minfrin</div><div id="footer">
4a3b6b890a52931991a7ed042d5973ef2039c623minfrin<p class="apache">Copyright 2011 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>
4a3b6b890a52931991a7ed042d5973ef2039c623minfrin<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>
4a3b6b890a52931991a7ed042d5973ef2039c623minfrin</body></html>