james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefano Bagnara <apa...@bago.org>
Subject Re: Handlerapi 2
Date Wed, 04 Oct 2006 07:26:18 GMT
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


Mime
View raw message