Question about Http upload example
温金超
wenjinchao0418 at gmail.com
Wed Oct 26 06:14:08 EDT 2011
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/b7f22b9c/attachment.html
More information about the netty-users
mailing list