mod_proxy_fdpass.html.en revision 1a1356f375e36db7bee379ea0684ab389579f798
a78048ccbdb6256da15e6b0e7e95355e480c2301nd<?xml version="1.0" encoding="ISO-8859-1"?>
a78048ccbdb6256da15e6b0e7e95355e480c2301nd<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
a78048ccbdb6256da15e6b0e7e95355e480c2301nd<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head><!--
a78048ccbdb6256da15e6b0e7e95355e480c2301nd XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
a78048ccbdb6256da15e6b0e7e95355e480c2301nd This file is generated from xml source: DO NOT EDIT
a78048ccbdb6256da15e6b0e7e95355e480c2301nd XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
a78048ccbdb6256da15e6b0e7e95355e480c2301nd -->
a78048ccbdb6256da15e6b0e7e95355e480c2301nd<title>mod_proxy_fdpass - Apache HTTP Server</title>
a78048ccbdb6256da15e6b0e7e95355e480c2301nd<link href="/style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" />
a78048ccbdb6256da15e6b0e7e95355e480c2301nd<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" /><link rel="stylesheet" type="text/css" href="/style/css/prettify.css" />
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen<script src="/style/scripts/prettify.js" type="text/javascript">
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen</script>
d29d9ab4614ff992b0e8de6e2b88d52b6f1f153erbowen
a78048ccbdb6256da15e6b0e7e95355e480c2301nd<link href="/images/favicon.ico" rel="shortcut icon" /></head>
a78048ccbdb6256da15e6b0e7e95355e480c2301nd<body>
a78048ccbdb6256da15e6b0e7e95355e480c2301nd<div id="page-header">
af33a4994ae2ff15bc67d19ff1a7feb906745bf8rbowen<p class="menu"><a href="/mod/">Modules</a> | <a href="/mod/directives.html">Directives</a> | <a href="http://wiki.apache.org/httpd/FAQ">FAQ</a> | <a href="/glossary.html">Glossary</a> | <a href="/sitemap.html">Sitemap</a></p>
3f08db06526d6901aa08c110b5bc7dde6bc39905nd<p class="apache">Apache HTTP Server Version 2.5</p>
a78048ccbdb6256da15e6b0e7e95355e480c2301nd<img alt="" src="/images/feather.gif" /></div>
a78048ccbdb6256da15e6b0e7e95355e480c2301nd<div class="up"><a href="./"><img title="&lt;-" alt="&lt;-" src="/images/left.gif" /></a></div>
a78048ccbdb6256da15e6b0e7e95355e480c2301nd<div id="path">
3f08db06526d6901aa08c110b5bc7dde6bc39905nd<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>
a78048ccbdb6256da15e6b0e7e95355e480c2301nd<div id="page-content">
a78048ccbdb6256da15e6b0e7e95355e480c2301nd<div id="preamble"><h1>Apache Module mod_proxy_fdpass</h1>
a78048ccbdb6256da15e6b0e7e95355e480c2301nd<div class="toplang">
a78048ccbdb6256da15e6b0e7e95355e480c2301nd<p><span>Available Languages: </span><a href="/en/mod/mod_proxy_fdpass.html" title="English">&nbsp;en&nbsp;</a></p>
11495c9f0bd33e51a25b4d532beadfbcf9b944a3nilgun</div>
a78048ccbdb6256da15e6b0e7e95355e480c2301nd<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>
a78048ccbdb6256da15e6b0e7e95355e480c2301nd<tr><th><a href="module-dict.html#Status">Status:</a></th><td>Extension</td></tr>
4b575a6b6704b516f22d65a3ad35696d7b9ba372rpluem<tr><th><a href="module-dict.html#ModuleIdentifier">Module�Identifier:</a></th><td>proxy_fdpass_module</td></tr>
4b575a6b6704b516f22d65a3ad35696d7b9ba372rpluem<tr><th><a href="module-dict.html#SourceFile">Source�File:</a></th><td>mod_proxy_fdpass.c</td></tr>
a78048ccbdb6256da15e6b0e7e95355e480c2301nd<tr><th><a href="module-dict.html#Compatibility">Compatibility:</a></th><td>Available for unix in version 2.3 and later</td></tr></table>
a78048ccbdb6256da15e6b0e7e95355e480c2301nd<h3>Summary</h3>
a78048ccbdb6256da15e6b0e7e95355e480c2301nd
a78048ccbdb6256da15e6b0e7e95355e480c2301nd <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
a78048ccbdb6256da15e6b0e7e95355e480c2301nd client to another process.</p>
a78048ccbdb6256da15e6b0e7e95355e480c2301nd
a78048ccbdb6256da15e6b0e7e95355e480c2301nd <p><code>mod_proxy_fdpass</code> uses the ability of AF_UNIX domain
a78048ccbdb6256da15e6b0e7e95355e480c2301nd sockets to <a href="http://www.freebsd.org/cgi/man.cgi?query=recv">pass an
a78048ccbdb6256da15e6b0e7e95355e480c2301nd open file descriptor</a> to allow another process to finish handling a request.
a78048ccbdb6256da15e6b0e7e95355e480c2301nd </p>
a78048ccbdb6256da15e6b0e7e95355e480c2301nd
a78048ccbdb6256da15e6b0e7e95355e480c2301nd <p>The module has a <code>proxy_fdpass_flusher</code> provider interface,
a78048ccbdb6256da15e6b0e7e95355e480c2301nd which allows another module to optionally send the response headers, or even
a78048ccbdb6256da15e6b0e7e95355e480c2301nd the start of the response body. The default flush provider disables keep-alive,
a78048ccbdb6256da15e6b0e7e95355e480c2301nd and sends the response headers, letting the external process just send a
a78048ccbdb6256da15e6b0e7e95355e480c2301nd response body.</p>
a78048ccbdb6256da15e6b0e7e95355e480c2301nd
a78048ccbdb6256da15e6b0e7e95355e480c2301nd <p>At this time the only data passed to the external process is the client
a78048ccbdb6256da15e6b0e7e95355e480c2301nd socket. To receive a client socket, call recvfrom with an allocated
a78048ccbdb6256da15e6b0e7e95355e480c2301nd <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
a78048ccbdb6256da15e6b0e7e95355e480c2301nd more data after the client socket, but this is not implemented at this time.
a78048ccbdb6256da15e6b0e7e95355e480c2301nd </p>
a78048ccbdb6256da15e6b0e7e95355e480c2301nd</div>
a78048ccbdb6256da15e6b0e7e95355e480c2301nd<div id="quickview"><h3 class="directives">Directives</h3>
a78048ccbdb6256da15e6b0e7e95355e480c2301nd<p>This module provides no
a78048ccbdb6256da15e6b0e7e95355e480c2301nd directives.</p>
a78048ccbdb6256da15e6b0e7e95355e480c2301nd<h3>See also</h3>
a78048ccbdb6256da15e6b0e7e95355e480c2301nd<ul class="seealso">
a78048ccbdb6256da15e6b0e7e95355e480c2301nd<li><code class="module"><a href="/mod/mod_proxy.html">mod_proxy</a></code></li>
a78048ccbdb6256da15e6b0e7e95355e480c2301nd</ul><ul class="seealso"><li><a href="#comments_section">Comments</a></li></ul></div>
a78048ccbdb6256da15e6b0e7e95355e480c2301nd
30471a4650391f57975f60bbb6e4a90be7b284bfhumbedooh</div>
a78048ccbdb6256da15e6b0e7e95355e480c2301nd<div class="bottomlang">
a78048ccbdb6256da15e6b0e7e95355e480c2301nd<p><span>Available Languages: </span><a href="/en/mod/mod_proxy_fdpass.html" title="English">&nbsp;en&nbsp;</a></p>
a78048ccbdb6256da15e6b0e7e95355e480c2301nd</div><div class="top"><a href="#page-header"><img src="/images/up.gif" alt="top" /></a></div><div class="section"><h2><a id="comments_section" name="comments_section">Comments</a></h2><div class="warning"><strong>Notice:</strong><br />This is not a Q&amp;A section. Comments placed here should be pointed towards suggestions on improving the documentation or server, and may be removed again 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 Freenode, or sent to our <a href="http://httpd.apache.org/lists.html">mailing lists</a>.</div>
a78048ccbdb6256da15e6b0e7e95355e480c2301nd<script type="text/javascript"><!--//--><![CDATA[//><!--
a78048ccbdb6256da15e6b0e7e95355e480c2301ndvar comments_shortname = 'httpd';
a78048ccbdb6256da15e6b0e7e95355e480c2301ndvar comments_identifier = 'http://httpd.apache.org/docs/trunk/mod/mod_proxy_fdpass.html';
a78048ccbdb6256da15e6b0e7e95355e480c2301nd(function(w, d) {
a78048ccbdb6256da15e6b0e7e95355e480c2301nd if (w.location.hostname.toLowerCase() == "httpd.apache.org") {
a78048ccbdb6256da15e6b0e7e95355e480c2301nd d.write('<div id="comments_thread"><\/div>');
a78048ccbdb6256da15e6b0e7e95355e480c2301nd var s = d.createElement('script');
a78048ccbdb6256da15e6b0e7e95355e480c2301nd s.type = 'text/javascript';
a78048ccbdb6256da15e6b0e7e95355e480c2301nd s.async = true;
a78048ccbdb6256da15e6b0e7e95355e480c2301nd s.src = 'https://comments.apache.org/show_comments.lua?site=' + comments_shortname + '&page=' + comments_identifier;
a78048ccbdb6256da15e6b0e7e95355e480c2301nd (d.getElementsByTagName('head')[0] || d.getElementsByTagName('body')[0]).appendChild(s);
a78048ccbdb6256da15e6b0e7e95355e480c2301nd }
a78048ccbdb6256da15e6b0e7e95355e480c2301nd else {
a78048ccbdb6256da15e6b0e7e95355e480c2301nd d.write('<div id="comments_thread">Comments are disabled for this page at the moment.<\/div>');
a78048ccbdb6256da15e6b0e7e95355e480c2301nd }
a78048ccbdb6256da15e6b0e7e95355e480c2301nd})(window, document);
a78048ccbdb6256da15e6b0e7e95355e480c2301nd//--><!]]></script></div><div id="footer">
a78048ccbdb6256da15e6b0e7e95355e480c2301nd<p class="apache">Copyright 2013 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>
a78048ccbdb6256da15e6b0e7e95355e480c2301nd<p class="menu"><a href="/mod/">Modules</a> | <a href="/mod/directives.html">Directives</a> | <a href="http://wiki.apache.org/httpd/FAQ">FAQ</a> | <a href="/glossary.html">Glossary</a> | <a href="/sitemap.html">Sitemap</a></p></div><script type="text/javascript"><!--//--><![CDATA[//><!--
a78048ccbdb6256da15e6b0e7e95355e480c2301ndif (typeof(prettyPrint) !== 'undefined') {
a78048ccbdb6256da15e6b0e7e95355e480c2301nd prettyPrint();
a78048ccbdb6256da15e6b0e7e95355e480c2301nd}
a78048ccbdb6256da15e6b0e7e95355e480c2301nd//--><!]]></script>
a78048ccbdb6256da15e6b0e7e95355e480c2301nd</body></html>