I have find out answers for question 1 and  2.<br><br><br><div class="gmail_quote">2011/10/26 温金超 <span dir="ltr">&lt;<a href="mailto:wenjinchao0418@gmail.com">wenjinchao0418@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

Hi<br><br>I&#39;m a newbie of netty and nio. and my goal is  to implement a http upload server using netty.<br><br>I find that there is a example in netty-4.0.0.Alpha1-SNAPSHOT,  org.jboss.netty.example.http.upload.HttpRequestHandler for specific.<br>


<br>my questions:<br>1. In above class, there is a readingChunks boolean falg. what this flag used for?<br>2. The http data will be read twice ? trunk by trunk for once, and read it all again after all trunks arrived. Am i right? what&#39;s the purpose to read it twice if i&#39;m right?<br>


3. When file is big, such as 60M more or less, file upload speeding is slow.  So is there any performance tips?<br><br>Thanks!<br><br><br><br><br>
</blockquote></div><br>