Hello,
I am implementing an avatar server which handles http request and sends
several pictures (avatars) in multi-part response. It works but the
whole response should be placed into HttpResponse object (containing
IoBuffer) before sending it to network. This causes constant garbage
allocation.
I have found the following discussion from Feb 2008:
http://markmail.org/message/dkoidsnvazm337ng#query:asyncweb%20chunked+page:1+mid:dkoidsnvazm337ng+state:results
"
Special care needs to be taken to ensure that we can handle LARGE
responses without loading the entire request into memory. We also need
to provide an elegant way to deal with chunked-encoding in an
event-driven fashion.
"
(written by Mike Heath)
Are there any changes somewhere in asyncweb code or maybe any plans to
support it?
Thanks
Victor N