hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roland Weber <ossf...@dubioso.net>
Subject Re: [jira] Resolved: (HTTPCORE-106) factor out HTTP parsing
Date Mon, 06 Aug 2007 15:52:50 GMT
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?

cheers,
  Roland


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


Mime
View raw message