james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Noel J. Bergman" <n...@devtech.com>
Subject RE: [PATCH] NNTP Line Count
Date Tue, 06 May 2003 17:24:58 GMT
> I agree it would be good to avoid making a second pass through the
> article and am looking at the handler to see what can be done there.
> The tricky thing will be getting the line count before the header is
> written.

It is an interesting problem.  It is desirable to stream the body as early
as possible so that we don't keep it in memory, but the headers come first.

For James v3, I am thinking that an optimized store might keep the headers
and body separate so that header changes can be more optimally effected.

	--- Noel


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


Mime
View raw message