<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
<html><body style='font-size: 10pt; font-family: Verdana,Geneva,sans-serif'>
<p>Hi,</p>
<p>It's called fastcgi multiplexing and nginx currently does not implement that (and I don't know .</p>
<p>There were already several discussions about that, so <a href="http://forum.nginx.org/read.php?2,237158">read here, please.</a></p>
<p>Short, very fast fastcgi processing may be implemented without multiplexing (should be event-driven also).</p>
<p>Regards,<br />sebres.</p>
<p> </p>
<p>Am 29.05.2015 09:58, schrieb 林谡:</p>
<blockquote type="cite" style="padding-left:5px; border-left:#1010ff 2px solid; margin-left:5px"><!-- html ignored --><!-- head ignored --><!-- meta ignored --><!-- meta ignored --><!-- node type 8 --><!-- node type 8 -->
<div class="Section1">
<table class="MsoNormalTable" style="width: 1398px; border-collapse: collapse;" border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td style="border-top: none; border-left: solid #DDDDDD 1.0pt; border-bottom: none; border-right: solid #DDDDDD 1.0pt; background: white; padding: .6pt 1.2pt .6pt 1.2pt;" valign="top">
<p class="MsoNormal" style="text-align: left;" align="left"><span style="font-size: 6.5pt; font-family: 'Courier New'; color: black;"><br />        </span><span style="font-size: 6.5pt; font-family: 'Courier New'; color: black;"> </span><em><span style="font-size: 6.5pt; font-family: 'Courier New'; color: #999988;">/* we support the single request per connection */</span></em><span style="font-size: 6.5pt; font-family: 'Courier New'; color: black;"><!-- o ignored --></span></p>
</td>
</tr>
<tr>
<td style="border-top: none; border-left: solid #DDDDDD 1.0pt; border-bottom: solid #999988 1.0pt; border-right: solid #D7D7D7 1.0pt; background: #EEEEDD; padding: 0cm 6.0pt 0cm 6.0pt;" valign="top">
<p class="MsoNormal" style="text-align: right;" align="right"><span style="font-size: 6.5pt; font-family: 'Verdana','sans-serif'; color: #888866;"><a href="http://trac.nginx.org/nginx/browser/nginx/src/http/modules/ngx_http_fastcgi_module.c#L2573"><span style="color: #888866; text-decoration: none;">2573</span></a><!-- o ignored --></span></p>
</td>
<td style="border: none; border-right: solid #DDDDDD 1.0pt; background: white; padding: .6pt 1.2pt .6pt 1.2pt;" valign="top"> </td>
</tr>
<tr>
<td style="border-top: none; border-left: solid #DDDDDD 1.0pt; border-bottom: solid #999988 1.0pt; border-right: solid #D7D7D7 1.0pt; background: #EEEEDD; padding: 0cm 6.0pt 0cm 6.0pt;" valign="top">
<p class="MsoNormal" style="text-align: right;" align="right"><span style="font-size: 6.5pt; font-family: 'Verdana','sans-serif'; color: #888866;"><a href="http://trac.nginx.org/nginx/browser/nginx/src/http/modules/ngx_http_fastcgi_module.c#L2574"><span style="color: #888866; text-decoration: none;">2574</span></a><!-- o ignored --></span></p>
</td>
<td style="border: none; border-right: solid #DDDDDD 1.0pt; background: white; padding: .6pt 1.2pt .6pt 1.2pt;" valign="top">
<p class="MsoNormal" style="text-align: left;" align="left"><span style="font-size: 6.5pt; font-family: 'Courier New'; color: black;">       </span><span style="font-size: 6.5pt; font-family: 'Courier New'; color: black;"> <strong>case</strong></span><span style="font-size: 6.5pt; font-family: 'Courier New'; color: black;"> ngx_http_fastcgi_st_request_id_hi:<!-- o ignored --></span></p>
</td>
</tr>
<tr>
<td style="border-top: none; border-left: solid #DDDDDD 1.0pt; border-bottom: solid #999988 1.0pt; border-right: solid #D7D7D7 1.0pt; background: #EEEEDD; padding: 0cm 6.0pt 0cm 6.0pt;" valign="top">
<p class="MsoNormal" style="text-align: right;" align="right"><span style="font-size: 6.5pt; font-family: 'Verdana','sans-serif'; color: #888866;"><a href="http://trac.nginx.org/nginx/browser/nginx/src/http/modules/ngx_http_fastcgi_module.c#L2575"><span style="color: #888866; text-decoration: none;">2575</span></a><!-- o ignored --></span></p>
</td>
<td style="border: none; border-right: solid #DDDDDD 1.0pt; background: white; padding: .6pt 1.2pt .6pt 1.2pt;" valign="top">
<p class="MsoNormal" style="text-align: left;" align="left"><span style="font-size: 6.5pt; font-family: 'Courier New'; color: black;">           </span><span style="font-size: 6.5pt; font-family: 'Courier New'; color: black;"> <strong>if</strong></span><span style="font-size: 6.5pt; font-family: 'Courier New'; color: black;"> </span><span style="font-size: 6.5pt; font-family: 'Courier New'; color: black;">(</span><span style="font-size: 6.5pt; font-family: 'Courier New'; color: black;">ch</span><span style="font-size: 6.5pt; font-family: 'Courier New'; color: black;"> <strong>!=</strong></span><span style="font-size: 6.5pt; font-family: 'Courier New'; color: black;"> </span><span style="font-size: 6.5pt; font-family: 'Courier New'; color: #009999;">0</span><span style="font-size: 6.5pt; font-family: 'Courier New'; color: black;">)</span><span style="font-size: 6.5pt; font-family: 'Courier New'; color: black;"> </span><span style="font-size: 6.5pt; font-family: 'Courier New'; color: black;">{</span><span style="font-size: 6.5pt; font-family: 'Courier New'; color: black;"><!-- o ignored --></span></p>
</td>
</tr>
<tr>
<td style="border-top: none; border-left: solid #DDDDDD 1.0pt; border-bottom: solid #999988 1.0pt; border-right: solid #D7D7D7 1.0pt; background: #EEEEDD; padding: 0cm 6.0pt 0cm 6.0pt;" valign="top">
<p class="MsoNormal" style="text-align: right;" align="right"><span style="font-size: 6.5pt; font-family: 'Verdana','sans-serif'; color: #888866;"><a href="http://trac.nginx.org/nginx/browser/nginx/src/http/modules/ngx_http_fastcgi_module.c#L2576"><span style="color: #888866; text-decoration: none;">2576</span></a><!-- o ignored --></span></p>
</td>
<td style="border: none; border-right: solid #DDDDDD 1.0pt; background: white; padding: .6pt 1.2pt .6pt 1.2pt;" valign="top">
<p class="MsoNormal" style="text-align: left;" align="left"><span style="font-size: 6.5pt; font-family: 'Courier New'; color: black;">                ngx_log_error</span><span style="font-size: 6.5pt; font-family: 'Courier New'; color: black;">(</span><span style="font-size: 6.5pt; font-family: 'Courier New'; color: black;">NGX_LOG_ERR</span><span style="font-size: 6.5pt; font-family: 'Courier New'; color: black;">,</span><span style="font-size: 6.5pt; font-family: 'Courier New'; color: black;"> r</span><strong><span style="font-size: 6.5pt; font-family: 'Courier New'; color: black;">-></span></strong><span style="font-size: 6.5pt; font-family: 'Courier New'; color: black;">connection</span><strong><span style="font-size: 6.5pt; font-family: 'Courier New'; color: black;">-></span></strong><span style="font-size: 6.5pt; font-family: 'Courier New'; color: black;">log</span><span style="font-size: 6.5pt; font-family: 'Courier New'; color: black;">,</span><span style="font-size: 6.5pt; font-family: 'Courier New'; color: black;"> </span><span style="font-size: 6.5pt; font-family: 'Courier New'; color: #009999;">0</span><span style="font-size: 6.5pt; font-family: 'Courier New'; color: black;">,</span><span style="font-size: 6.5pt; font-family: 'Courier New'; color: black;"><!-- o ignored --></span></p>
</td>
</tr>
<tr>
<td style="border-top: none; border-left: solid #DDDDDD 1.0pt; border-bottom: solid #999988 1.0pt; border-right: solid #D7D7D7 1.0pt; background: #EEEEDD; padding: 0cm 6.0pt 0cm 6.0pt;" valign="top">
<p class="MsoNormal" style="text-align: right;" align="right"><span style="font-size: 6.5pt; font-family: 'Verdana','sans-serif'; color: #888866;"><a href="http://trac.nginx.org/nginx/browser/nginx/src/http/modules/ngx_http_fastcgi_module.c#L2577"><span style="color: #888866; text-decoration: none;">2577</span></a><!-- o ignored --></span></p>
</td>
<td style="border: none; border-right: solid #DDDDDD 1.0pt; background: white; padding: .6pt 1.2pt .6pt 1.2pt;" valign="top">
<p class="MsoNormal" style="text-align: left;" align="left"><span style="font-size: 6.5pt; font-family: 'Courier New'; color: black;">                             </span><span style="font-size: 6.5pt; font-family: 'Courier New'; color: black;"> </span><span style="font-size: 6.5pt; font-family: 'Courier New'; color: #bb8844;">"upstream sent unexpected FastCGI "</span><span style="font-size: 6.5pt; font-family: 'Courier New'; color: black;"><!-- o ignored --></span></p>
</td>
</tr>
<tr>
<td style="border-top: none; border-left: solid #DDDDDD 1.0pt; border-bottom: solid #999988 1.0pt; border-right: solid #D7D7D7 1.0pt; background: #EEEEDD; padding: 0cm 6.0pt 0cm 6.0pt;" valign="top">
<p class="MsoNormal" style="text-align: right;" align="right"><span style="font-size: 6.5pt; font-family: 'Verdana','sans-serif'; color: #888866;"><a href="http://trac.nginx.org/nginx/browser/nginx/src/http/modules/ngx_http_fastcgi_module.c#L2578"><span style="color: #888866; text-decoration: none;">2578</span></a><!-- o ignored --></span></p>
</td>
<td style="border: none; border-right: solid #DDDDDD 1.0pt; background: white; padding: .6pt 1.2pt .6pt 1.2pt;" valign="top">
<p class="MsoNormal" style="text-align: left;" align="left"><span style="font-size: 6.5pt; font-family: 'Courier New'; color: black;">                             </span><span style="font-size: 6.5pt; font-family: 'Courier New'; color: black;"> </span><span style="font-size: 6.5pt; font-family: 'Courier New'; color: #bb8844;">"request id high byte: %d"</span><span style="font-size: 6.5pt; font-family: 'Courier New'; color: black;">,</span><span style="font-size: 6.5pt; font-family: 'Courier New'; color: black;"> ch</span><span style="font-size: 6.5pt; font-family: 'Courier New'; color: black;">);</span><span style="font-size: 6.5pt; font-family: 'Courier New'; color: black;"><!-- o ignored --></span></p>
</td>
</tr>
<tr>
<td style="border-top: none; border-left: solid #DDDDDD 1.0pt; border-bottom: solid #999988 1.0pt; border-right: solid #D7D7D7 1.0pt; background: #EEEEDD; padding: 0cm 6.0pt 0cm 6.0pt;" valign="top">
<p class="MsoNormal" style="text-align: right;" align="right"><span style="font-size: 6.5pt; font-family: 'Verdana','sans-serif'; color: #888866;"><a href="http://trac.nginx.org/nginx/browser/nginx/src/http/modules/ngx_http_fastcgi_module.c#L2579"><span style="color: #888866; text-decoration: none;">2579</span></a><!-- o ignored --></span></p>
</td>
<td style="border: none; border-right: solid #DDDDDD 1.0pt; background: white; padding: .6pt 1.2pt .6pt 1.2pt;" valign="top">
<p class="MsoNormal" style="text-align: left;" align="left"><span style="font-size: 6.5pt; font-family: 'Courier New'; color: black;">               </span><span style="font-size: 6.5pt; font-family: 'Courier New'; color: black;"> <strong>return</strong></span><span style="font-size: 6.5pt; font-family: 'Courier New'; color: black;"> NGX_ERROR</span><span style="font-size: 6.5pt; font-family: 'Courier New'; color: black;">;</span><span style="font-size: 6.5pt; font-family: 'Courier New'; color: black;"><!-- o ignored --></span></p>
</td>
</tr>
<tr>
<td style="border-top: none; border-left: solid #DDDDDD 1.0pt; border-bottom: solid #999988 1.0pt; border-right: solid #D7D7D7 1.0pt; background: #EEEEDD; padding: 0cm 6.0pt 0cm 6.0pt;" valign="top">
<p class="MsoNormal" style="text-align: right;" align="right"><span style="font-size: 6.5pt; font-family: 'Verdana','sans-serif'; color: #888866;"><a href="http://trac.nginx.org/nginx/browser/nginx/src/http/modules/ngx_http_fastcgi_module.c#L2580"><span style="color: #888866; text-decoration: none;">2580</span></a><!-- o ignored --></span></p>
</td>
<td style="border: none; border-right: solid #DDDDDD 1.0pt; background: white; padding: .6pt 1.2pt .6pt 1.2pt;" valign="top">
<p class="MsoNormal" style="text-align: left;" align="left"><span style="font-size: 6.5pt; font-family: 'Courier New'; color: black;">           </span><span style="font-size: 6.5pt; font-family: 'Courier New'; color: black;"> }</span><span style="font-size: 6.5pt; font-family: 'Courier New'; color: black;"><!-- o ignored --></span></p>
</td>
</tr>
<tr>
<td style="border-top: none; border-left: solid #DDDDDD 1.0pt; border-bottom: solid #999988 1.0pt; border-right: solid #D7D7D7 1.0pt; background: #EEEEDD; padding: 0cm 6.0pt 0cm 6.0pt;" valign="top">
<p class="MsoNormal" style="text-align: right;" align="right"><span style="font-size: 6.5pt; font-family: 'Verdana','sans-serif'; color: #888866;"><a href="http://trac.nginx.org/nginx/browser/nginx/src/http/modules/ngx_http_fastcgi_module.c#L2581"><span style="color: #888866; text-decoration: none;">2581</span></a><!-- o ignored --></span></p>
</td>
<td style="border: none; border-right: solid #DDDDDD 1.0pt; background: white; padding: .6pt 1.2pt .6pt 1.2pt;" valign="top">
<p class="MsoNormal" style="text-align: left;" align="left"><span style="font-size: 6.5pt; font-family: 'Courier New'; color: black;">            state</span><span style="font-size: 6.5pt; font-family: 'Courier New'; color: black;"> <strong>=</strong></span><span style="font-size: 6.5pt; font-family: 'Courier New'; color: black;"> ngx_http_fastcgi_st_request_id_lo</span><span style="font-size: 6.5pt; font-family: 'Courier New'; color: black;">;</span><span style="font-size: 6.5pt; font-family: 'Courier New'; color: black;"><!-- o ignored --></span></p>
</td>
</tr>
<tr>
<td style="border-top: none; border-left: solid #DDDDDD 1.0pt; border-bottom: solid #999988 1.0pt; border-right: solid #D7D7D7 1.0pt; background: #EEEEDD; padding: 0cm 6.0pt 0cm 6.0pt;" valign="top">
<p class="MsoNormal" style="text-align: right;" align="right"><span style="font-size: 6.5pt; font-family: 'Verdana','sans-serif'; color: #888866;"><a href="http://trac.nginx.org/nginx/browser/nginx/src/http/modules/ngx_http_fastcgi_module.c#L2582"><span style="color: #888866; text-decoration: none;">2582</span></a><!-- o ignored --></span></p>
</td>
<td style="border: none; border-right: solid #DDDDDD 1.0pt; background: white; padding: .6pt 1.2pt .6pt 1.2pt;" valign="top">
<p class="MsoNormal" style="text-align: left;" align="left"><span style="font-size: 6.5pt; font-family: 'Courier New'; color: black;">           </span><span style="font-size: 6.5pt; font-family: 'Courier New'; color: black;"> <strong>break</strong>;</span><span style="font-size: 6.5pt; font-family: 'Courier New'; color: black;"><!-- o ignored --></span></p>
</td>
</tr>
<tr>
<td style="border-top: none; border-left: solid #DDDDDD 1.0pt; border-bottom: solid #999988 1.0pt; border-right: solid #D7D7D7 1.0pt; background: #EEEEDD; padding: 0cm 6.0pt 0cm 6.0pt;" valign="top">
<p class="MsoNormal" style="text-align: right;" align="right"><span style="font-size: 6.5pt; font-family: 'Verdana','sans-serif'; color: #888866;"><a href="http://trac.nginx.org/nginx/browser/nginx/src/http/modules/ngx_http_fastcgi_module.c#L2583"><span style="color: #888866; text-decoration: none;">2583</span></a><!-- o ignored --></span></p>
</td>
<td style="border: none; border-right: solid #DDDDDD 1.0pt; background: white; padding: .6pt 1.2pt .6pt 1.2pt;" valign="top"> </td>
</tr>
<tr>
<td style="border-top: none; border-left: solid #DDDDDD 1.0pt; border-bottom: solid #999988 1.0pt; border-right: solid #D7D7D7 1.0pt; background: #EEEEDD; padding: 0cm 6.0pt 0cm 6.0pt;" valign="top">
<p class="MsoNormal" style="text-align: right;" align="right"><span style="font-size: 6.5pt; font-family: 'Verdana','sans-serif'; color: #888866;"><a href="http://trac.nginx.org/nginx/browser/nginx/src/http/modules/ngx_http_fastcgi_module.c#L2584"><span style="color: #888866; text-decoration: none;">2584</span></a><!-- o ignored --></span></p>
</td>
<td style="border: none; border-right: solid #DDDDDD 1.0pt; background: white; padding: .6pt 1.2pt .6pt 1.2pt;" valign="top">
<p class="MsoNormal" style="text-align: left;" align="left"><span style="font-size: 6.5pt; font-family: 'Courier New'; color: black;">       </span><span style="font-size: 6.5pt; font-family: 'Courier New'; color: black;"> <strong>case</strong></span><span style="font-size: 6.5pt; font-family: 'Courier New'; color: black;"> ngx_http_fastcgi_st_request_id_lo:<!-- o ignored --></span></p>
</td>
</tr>
<tr>
<td style="border-top: none; border-left: solid #DDDDDD 1.0pt; border-bottom: solid #999988 1.0pt; border-right: solid #D7D7D7 1.0pt; background: #EEEEDD; padding: 0cm 6.0pt 0cm 6.0pt;" valign="top">
<p class="MsoNormal" style="text-align: right;" align="right"><span style="font-size: 6.5pt; font-family: 'Verdana','sans-serif'; color: #888866;"><a href="http://trac.nginx.org/nginx/browser/nginx/src/http/modules/ngx_http_fastcgi_module.c#L2585"><span style="color: #888866; text-decoration: none;">2585</span></a><!-- o ignored --></span></p>
</td>
<td style="border: none; border-right: solid #DDDDDD 1.0pt; background: white; padding: .6pt 1.2pt .6pt 1.2pt;" valign="top">
<p class="MsoNormal" style="text-align: left;" align="left"><span style="font-size: 6.5pt; font-family: 'Courier New'; color: black;">           </span><span style="font-size: 6.5pt; font-family: 'Courier New'; color: black;"> <strong>if</strong></span><span style="font-size: 6.5pt; font-family: 'Courier New'; color: black;"> </span><span style="font-size: 6.5pt; font-family: 'Courier New'; color: black;">(</span><span style="font-size: 6.5pt; font-family: 'Courier New'; color: black;">ch</span><span style="font-size: 6.5pt; font-family: 'Courier New'; color: black;"> <strong>!=</strong></span><span style="font-size: 6.5pt; font-family: 'Courier New'; color: black;"> </span><span style="font-size: 6.5pt; font-family: 'Courier New'; color: #009999;">1</span><span style="font-size: 6.5pt; font-family: 'Courier New'; color: black;">)</span><span style="font-size: 6.5pt; font-family: 'Courier New'; color: black;"> </span><span style="font-size: 6.5pt; font-family: 'Courier New'; color: black;">{</span><span style="font-size: 6.5pt; font-family: 'Courier New'; color: black;"><!-- o ignored --></span></p>
</td>
</tr>
<tr>
<td style="border-top: none; border-left: solid #DDDDDD 1.0pt; border-bottom: solid #999988 1.0pt; border-right: solid #D7D7D7 1.0pt; background: #EEEEDD; padding: 0cm 6.0pt 0cm 6.0pt;" valign="top">
<p class="MsoNormal" style="text-align: right;" align="right"><span style="font-size: 6.5pt; font-family: 'Verdana','sans-serif'; color: #888866;"><a href="http://trac.nginx.org/nginx/browser/nginx/src/http/modules/ngx_http_fastcgi_module.c#L2586"><span style="color: #888866; text-decoration: none;">2586</span></a><!-- o ignored --></span></p>
</td>
<td style="border: none; border-right: solid #DDDDDD 1.0pt; background: white; padding: .6pt 1.2pt .6pt 1.2pt;" valign="top">
<p class="MsoNormal" style="text-align: left;" align="left"><span style="font-size: 6.5pt; font-family: 'Courier New'; color: black;">                ngx_log_error</span><span style="font-size: 6.5pt; font-family: 'Courier New'; color: black;">(</span><span style="font-size: 6.5pt; font-family: 'Courier New'; color: black;">NGX_LOG_ERR</span><span style="font-size: 6.5pt; font-family: 'Courier New'; color: black;">,</span><span style="font-size: 6.5pt; font-family: 'Courier New'; color: black;"> r</span><strong><span style="font-size: 6.5pt; font-family: 'Courier New'; color: black;">-></span></strong><span style="font-size: 6.5pt; font-family: 'Courier New'; color: black;">connection</span><strong><span style="font-size: 6.5pt; font-family: 'Courier New'; color: black;">-></span></strong><span style="font-size: 6.5pt; font-family: 'Courier New'; color: black;">log</span><span style="font-size: 6.5pt; font-family: 'Courier New'; color: black;">,</span><span style="font-size: 6.5pt; font-family: 'Courier New'; color: black;"> </span><span style="font-size: 6.5pt; font-family: 'Courier New'; color: #009999;">0</span><span style="font-size: 6.5pt; font-family: 'Courier New'; color: black;">,</span><span style="font-size: 6.5pt; font-family: 'Courier New'; color: black;"><!-- o ignored --></span></p>
</td>
</tr>
<tr>
<td style="border-top: none; border-left: solid #DDDDDD 1.0pt; border-bottom: solid #999988 1.0pt; border-right: solid #D7D7D7 1.0pt; background: #EEEEDD; padding: 0cm 6.0pt 0cm 6.0pt;" valign="top">
<p class="MsoNormal" style="text-align: right;" align="right"><span style="font-size: 6.5pt; font-family: 'Verdana','sans-serif'; color: #888866;"><a href="http://trac.nginx.org/nginx/browser/nginx/src/http/modules/ngx_http_fastcgi_module.c#L2587"><span style="color: #888866; text-decoration: none;">2587</span></a><!-- o ignored --></span></p>
</td>
<td style="border: none; border-right: solid #DDDDDD 1.0pt; background: white; padding: .6pt 1.2pt .6pt 1.2pt;" valign="top">
<p class="MsoNormal" style="text-align: left;" align="left"><span style="font-size: 6.5pt; font-family: 'Courier New'; color: black;">                             </span><span style="font-size: 6.5pt; font-family: 'Courier New'; color: black;"> </span><span style="font-size: 6.5pt; font-family: 'Courier New'; color: #bb8844;">"upstream sent unexpected FastCGI "</span><span style="font-size: 6.5pt; font-family: 'Courier New'; color: black;"><!-- o ignored --></span></p>
</td>
</tr>
<tr>
<td style="border-top: none; border-left: solid #DDDDDD 1.0pt; border-bottom: solid #999988 1.0pt; border-right: solid #D7D7D7 1.0pt; background: #EEEEDD; padding: 0cm 6.0pt 0cm 6.0pt;" valign="top">
<p class="MsoNormal" style="text-align: right;" align="right"><span style="font-size: 6.5pt; font-family: 'Verdana','sans-serif'; color: #888866;"><a href="http://trac.nginx.org/nginx/browser/nginx/src/http/modules/ngx_http_fastcgi_module.c#L2588"><span style="color: #888866; text-decoration: none;">2588</span></a><!-- o ignored --></span></p>
</td>
<td style="border: none; border-right: solid #DDDDDD 1.0pt; background: white; padding: .6pt 1.2pt .6pt 1.2pt;" valign="top">
<p class="MsoNormal" style="text-align: left;" align="left"><span style="font-size: 6.5pt; font-family: 'Courier New'; color: black;">                             </span><span style="font-size: 6.5pt; font-family: 'Courier New'; color: black;"> </span><span style="font-size: 6.5pt; font-family: 'Courier New'; color: #bb8844;">"request id low byte: %d"</span><span style="font-size: 6.5pt; font-family: 'Courier New'; color: black;">,</span><span style="font-size: 6.5pt; font-family: 'Courier New'; color: black;"> ch</span><span style="font-size: 6.5pt; font-family: 'Courier New'; color: black;">);</span><span style="font-size: 6.5pt; font-family: 'Courier New'; color: black;"><!-- o ignored --></span></p>
</td>
</tr>
<tr>
<td style="border-top: none; border-left: solid #DDDDDD 1.0pt; border-bottom: solid #999988 1.0pt; border-right: solid #D7D7D7 1.0pt; background: #EEEEDD; padding: 0cm 6.0pt 0cm 6.0pt;" valign="top">
<p class="MsoNormal" style="text-align: right;" align="right"><span style="font-size: 6.5pt; font-family: 'Verdana','sans-serif'; color: #888866;"><a href="http://trac.nginx.org/nginx/browser/nginx/src/http/modules/ngx_http_fastcgi_module.c#L2589"><span style="color: #888866; text-decoration: none;">2589</span></a><!-- o ignored --></span></p>
</td>
<td style="border: none; border-right: solid #DDDDDD 1.0pt; background: white; padding: .6pt 1.2pt .6pt 1.2pt;" valign="top">
<p class="MsoNormal" style="text-align: left;" align="left"><span style="font-size: 6.5pt; font-family: 'Courier New'; color: black;">               </span><span style="font-size: 6.5pt; font-family: 'Courier New'; color: black;"> <strong>return</strong></span><span style="font-size: 6.5pt; font-family: 'Courier New'; color: black;"> NGX_ERROR</span><span style="font-size: 6.5pt; font-family: 'Courier New'; color: black;">;</span><span style="font-size: 6.5pt; font-family: 'Courier New'; color: black;"><!-- o ignored --></span></p>
</td>
</tr>
<tr>
<td style="border-top: none; border-left: solid #DDDDDD 1.0pt; border-bottom: solid #999988 1.0pt; border-right: solid #D7D7D7 1.0pt; background: #EEEEDD; padding: 0cm 6.0pt 0cm 6.0pt;" valign="top">
<p class="MsoNormal" style="text-align: right;" align="right"><span style="font-size: 6.5pt; font-family: 'Verdana','sans-serif'; color: #888866;"><a href="http://trac.nginx.org/nginx/browser/nginx/src/http/modules/ngx_http_fastcgi_module.c#L2590"><span style="color: #888866; text-decoration: none;">2590</span></a><!-- o ignored --></span></p>
</td>
<td style="border: none; border-right: solid #DDDDDD 1.0pt; background: white; padding: .6pt 1.2pt .6pt 1.2pt;" valign="top">
<p class="MsoNormal" style="text-align: left;" align="left"><span style="font-size: 6.5pt; font-family: 'Courier New'; color: black;">           </span><span style="font-size: 6.5pt; font-family: 'Courier New'; color: black;"> }</span><span style="font-size: 6.5pt; font-family: 'Courier New'; color: black;"><!-- o ignored --></span></p>
</td>
</tr>
<tr>
<td style="border-top: none; border-left: solid #DDDDDD 1.0pt; border-bottom: solid #999988 1.0pt; border-right: solid #D7D7D7 1.0pt; background: #EEEEDD; padding: 0cm 6.0pt 0cm 6.0pt;" valign="top">
<p class="MsoNormal" style="text-align: right;" align="right"><span style="font-size: 6.5pt; font-family: 'Verdana','sans-serif'; color: #888866;"><a href="http://trac.nginx.org/nginx/browser/nginx/src/http/modules/ngx_http_fastcgi_module.c#L2591"><span style="color: #888866; text-decoration: none;">2591</span></a><!-- o ignored --></span></p>
</td>
<td style="border: none; border-right: solid #DDDDDD 1.0pt; background: white; padding: .6pt 1.2pt .6pt 1.2pt;" valign="top">
<p class="MsoNormal" style="text-align: left;" align="left"><span style="font-size: 6.5pt; font-family: 'Courier New'; color: black;">            state</span><span style="font-size: 6.5pt; font-family: 'Courier New'; color: black;"> <strong>=</strong></span><span style="font-size: 6.5pt; font-family: 'Courier New'; color: black;"> ngx_http_fastcgi_st_content_length_hi</span><span style="font-size: 6.5pt; font-family: 'Courier New'; color: black;">;</span><span style="font-size: 6.5pt; font-family: 'Courier New'; color: black;"><!-- o ignored --></span></p>
</td>
</tr>
<tr>
<td style="border-top: none; border-left: solid #DDDDDD 1.0pt; border-bottom: solid #999988 1.0pt; border-right: solid #D7D7D7 1.0pt; background: #EEEEDD; padding: 0cm 6.0pt 0cm 6.0pt;" valign="top">
<p class="MsoNormal" style="text-align: right;" align="right"><span style="font-size: 6.5pt; font-family: 'Verdana','sans-serif'; color: #888866;"><a href="http://trac.nginx.org/nginx/browser/nginx/src/http/modules/ngx_http_fastcgi_module.c#L2592"><span style="color: #888866; text-decoration: none;">2592</span></a><!-- o ignored --></span></p>
</td>
<td style="border-top: none; border-left: none; border-bottom: solid #DDDDDD 1.0pt; border-right: solid #DDDDDD 1.0pt; background: white; padding: .6pt 1.2pt .6pt 1.2pt;" valign="top">
<p class="MsoNormal" style="text-align: left;" align="left"><span style="font-size: 6.5pt; font-family: 'Courier New'; color: black;">           </span><span style="font-size: 6.5pt; font-family: 'Courier New'; color: black;"> <strong>break</strong>;</span><span style="font-size: 6.5pt; font-family: 'Courier New'; color: black;"><!-- o ignored --></span></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal"><span style="color: #1f497d;">By reading source code, I saw the reason , so can nginx support multi request per connection in future?<!-- o ignored --></span></p>
<p class="MsoNormal"><span style="color: #1f497d;"><!-- o ignored --> </span></p>
<div>
<div style="border: none; border-top: solid #B5C4DF 1.0pt; padding: 3.0pt 0cm 0cm 0cm;">
<p class="MsoNormal" style="text-align: left;" align="left"><strong><span style="font-size: 10.0pt; font-family: 宋体;">发件人<span>:</span></span></strong><span style="font-size: 10.0pt; font-family: 宋体;"> </span><span style="font-size: 10.0pt; font-family: 宋体;">林谡<span> <br /></span><strong>发送时间<span>:</span></strong><span> 2015</span>年<span>5</span>月<span>29</span>日<span> 11:37<br /></span><strong>收件人<span>:</span></strong><span> 'nginx-devel@nginx.org'<br /></span><strong>主题<span>:</span></strong><span> problems when use fastcgi_pass to deliver request to backend<!-- o ignored --></span></span></p>
</div>
</div>
<p class="MsoNormal" style="text-align: left;" align="left"><span><!-- o ignored --> </span></p>
<p class="MsoNormal"><span>Hi, <!-- o ignored --></span></p>
<p class="MsoNormal"><span>         I write a fastcgi server and use nginx to pass request to my server. It works till now. <!-- o ignored --></span></p>
<p class="MsoNormal"><span>         But I find a problem. Nginx always set requestId = 1 when sending fastcgi record.<!-- o ignored --></span></p>
<p class="MsoNormal"><span>         I was a little upset for this, cause according to fastcgi protocol, web server can send fastcgi records belonging to different request simultaneously, and  requestIds are different and keep unique. I really need this feature, because  requests can be handled simultaneously just over one connetion. <!-- o ignored --></span></p>
<p class="MsoNormal"><span>         Can I find a way out?<!-- o ignored --></span></p>
<p class="MsoNormal"><span><!-- o ignored --> </span></p>
</div>
<!-- html ignored --><br />
<pre>_______________________________________________
nginx-devel mailing list
<a href="mailto:nginx-devel@nginx.org">nginx-devel@nginx.org</a>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx-devel">http://mailman.nginx.org/mailman/listinfo/nginx-devel</a>
</pre>
</blockquote>
</body></html>