Question about Http upload example

温金超 wenjinchao0418 at gmail.com
Wed Oct 26 09:55:56 EDT 2011


I have find out answers for question 1 and  2.


2011/10/26 温金超 <wenjinchao0418 at gmail.com>

> Hi
>
> I'm a newbie of netty and nio. and my goal is  to implement a http upload
> server using netty.
>
> I find that there is a example in netty-4.0.0.Alpha1-SNAPSHOT,
> org.jboss.netty.example.http.upload.HttpRequestHandler for specific.
>
> my questions:
> 1. In above class, there is a readingChunks boolean falg. what this flag
> used for?
> 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's the purpose to read
> it twice if i'm right?
> 3. When file is big, such as 60M more or less, file upload speeding is
> slow.  So is there any performance tips?
>
> Thanks!
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/netty-users/attachments/20111026/f12d67a4/attachment.html 


More information about the netty-users mailing list