On Mon, 2007-08-06 at 17:52 +0200, Roland Weber wrote:
> Oleg Kalnichevski wrote:
> >> Would such changes in core interfere with NIO?
> > 
> > I am afraid so, as NIO parsers have got to be stateful. They need to
> > maintain state as message heads may be transmitted in multiple
> > incomplete chunks.
> 
> I see, thanks.
> 
> > So, we either have to have a completely different
> > message parsing frameworks for HttpCore main and HttpCore NIO or keep
> > request / response parsers stateful and separate.
> 
> Why separate? If a parser can be used for both request and
> reply, using it for only one of them should be fine, right?
> 

Right, but at the price of maintaining more state information then
necessary. As always, feel free to do it differently. I will not stand
in your way.

Oleg

> cheers,
>   Roland
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to