You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by Stefano Bagnara <ap...@bago.org> on 2006/10/04 09:26:18 UTC

Re: Handlerapi 2

Noel J. Bergman wrote:
> OK, ... I see that we had an e-mail avalanche over the holidays.  I'll catch
> up later.  In the meantime, I've got a question.
> 
> As mentioned previously, I have push processing done for CRLF (commands) and
> CRLF.CRLF (message data) terminated content.  I am looking at dot stuffing,
> and mulling over two options:
> 
>   1) Pure push driven parsing, but since we need to buffer
>      message data, anyway ...
>   2) Buffer the message data, looking only for the CRLF.CRLF,
>      and use input streams to post-process the data, reusing
>      code that we already have.
> 
> Opinions?

I think that pure push driven parsing is a must, but if the other 
solution is faster and does not preclude a future implementation of the 
first then do what is easier now.

Stefano


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org