<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<STYLE type=text/css> <!--@import url(C:\Program Files\Netease\网易闪电邮\\data\scrollbar.css); --></STYLE>

<META content="text/html; charset=utf-8" http-equiv=Content-Type>
<STYLE>BLOCKQUOTE{margin-Top: 0px; margin-Bottom: 0px; margin-Left: 2em}; </STYLE>

<META name=GENERATOR content="MSHTML 9.00.8112.16430"><BASE 
target=_blank></HEAD>
<BODY 
style="BORDER-RIGHT-WIDTH: 0px; MARGIN: 12px; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" 
marginheight="0" marginwidth="0"><STATIONERY>
<DIV>
<DIV><FONT color=#000000 size=3 face=宋体>Thank your reply.</FONT></DIV>
<DIV><FONT color=#000000 size=3 face=宋体>But it is not for my 
question.</FONT></DIV>
<DIV><FONT color=#000000 size=3 face=宋体>When the item isn't cached(If it is very 
large over 1G,it would take a long time to be cached),many normal users download 
it,then the proxy server&nbsp;would download the item from&nbsp;upstream server 
with many connections.</FONT></DIV>
<DIV><FONT color=#000000 size=3 face=宋体></FONT>&nbsp;</DIV>
<DIV><FONT face=宋体>I seach the forum,found the same question: <A 
href="http://forum.nginx.org/read.php?2,193353,193633#msg-193633">http://forum.nginx.org/read.php?2,193353,193633#msg-193633</A></FONT></DIV>
<DIV><FONT face=宋体></FONT>&nbsp;</DIV>
<DIV><FONT face=宋体><EM>Currently, there is no good way to handle this. Solution 
is<BR>usually called "busy locks" (search list archives for details),<BR>but 
it's not ready yet.<BR><BR>Maxim Dounin<BR></EM></FONT></DIV>
<DIV><FONT face=宋体>I am waiting for later version.</DIV></FONT>
<DIV align=left><FONT color=#c0c0c0 size=2 
face=Verdana>2011-07-16</FONT></DIV><FONT size=2 face=Verdana>
<HR style="WIDTH: 122px; HEIGHT: 2px" align=left SIZE=2>

<DIV><FONT color=#c0c0c0 size=2 face=Verdana><SPAN 
id=_FlashSignName>chinix</SPAN></FONT></DIV></FONT>
<DIV>
<HR>
</DIV>
<DIV>发件人: António P. P. Almeida &lt;appa@perusio.net&gt;</DIV>
<DIV>发送时间: 2011-07-15 20:49</DIV>
<DIV>主 题: Re: about "large file" and "resume download" on reverse proxy 
mode</DIV>
<DIV>收件人: nginx@nginx.org</DIV>
<DIV><BR><BR></DIV>
<DIV>On&nbsp;15&nbsp;Jul&nbsp;2011&nbsp;06h39&nbsp;WEST,&nbsp;chinix@gmail.com&nbsp;wrote:&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&gt;&nbsp;Dear&nbsp;list,&nbsp;I&nbsp;am&nbsp;testing&nbsp;nginx&nbsp;with&nbsp;reverse&nbsp;proxy&nbsp;mode.&nbsp;&nbsp;I&nbsp;</DIV>
<DIV>&gt;&nbsp;found&nbsp;that&nbsp;nginx&nbsp;download&nbsp;the&nbsp;file&nbsp;from&nbsp;upstream&nbsp;server&nbsp;to&nbsp;</DIV>
<DIV>&gt;&nbsp;proxy_temp_path&nbsp;when&nbsp;I&nbsp;download&nbsp;a&nbsp;file&nbsp;from&nbsp;the&nbsp;reverse&nbsp;proxy&nbsp;</DIV>
<DIV>&gt;&nbsp;server,if&nbsp;I&nbsp;stop&nbsp;and&nbsp;re-download,the&nbsp;nginx&nbsp;will&nbsp;download&nbsp;the&nbsp;file&nbsp;</DIV>
<DIV>&gt;&nbsp;from&nbsp;upstream&nbsp;server&nbsp;again,and&nbsp;so&nbsp;on.&nbsp;&nbsp;The&nbsp;problem&nbsp;is&nbsp;when&nbsp;a&nbsp;large&nbsp;</DIV>
<DIV>&gt;&nbsp;file&nbsp;on&nbsp;a&nbsp;site,someone&nbsp;could&nbsp;launch&nbsp;malicious&nbsp;multi-threaded&nbsp;</DIV>
<DIV>&gt;&nbsp;connections&nbsp;to&nbsp;attack&nbsp;the&nbsp;reverse&nbsp;proxy&nbsp;server&nbsp;and&nbsp;upstream&nbsp;server.&nbsp;</DIV>
<DIV>&gt;&nbsp;any&nbsp;configuration&nbsp;to&nbsp;limit&nbsp;it?&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>See&nbsp;http://wiki.nginx.org/HttpLimitReqModule&nbsp;and&nbsp;</DIV>
<DIV>http://wiki.nginx.org/HttpLimitZoneModule.&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>---&nbsp;appa&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>_______________________________________________&nbsp;</DIV>
<DIV>nginx&nbsp;mailing&nbsp;list&nbsp;</DIV>
<DIV>nginx@nginx.org&nbsp;</DIV>
<DIV>http://nginx.org/mailman/listinfo/nginx&nbsp;</DIV></DIV></STATIONERY></BODY></HTML>