Hi,

First of all...I think that some parts of the (naive) http decoding in Deft
should probably be improved and/or refactored...
Currently the http chunks are concatenated and accumulated (as a
java.lang.String) in an PartialHttpRequest instance.

The interesting code path for this is.
HttpProtocol.handleRead ->
HttpProtocol.getHttpRequest ->
HttpProtocol.doGetHttpRequest ->

  HttpRequest.of  (1st chunk) ->
  HttpRequest.continueParsing (2nd, 3rd, .. etc, chunk) ->

Let me know if this makes sense...

// Roger

On Fri, Jul 22, 2011 at 10:50 AM, Julien Vermillard
<[email protected]>wrote:

> Hi,
> I'm trying to understand the http codec of deft (I'm using it for
> testing mina 3.0 new design and ayncweb codec was fucked up age ago).
> If I understand correctly if I push a big HTTP request to the server
> (like an upload request with a 2Mbytes big file) the server will
> accumulate the 2MB content in a ByteBuffer ?
> Julien
>

Reply via email to