[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: timeout mysteries SOLVED! (was Re: Large Repositories)

From: Justin Erenkrantz <justin_at_erenkrantz.com>
Date: 2003-07-14 21:43:52 CEST

--On Monday, July 14, 2003 14:10:02 -0500 Ben Collins-Sussman
<sussman@collab.net> wrote:

> Sure enough, if you set "http-compression = no" in the [global]
> section of your client's ~/.subversion/servers file, all the timeout
> problems vanish. This is the official workaround, until we fix apache.
> gstein says that jerenkrantz is now going to have to fix mod_deflate. :-)

The correct solution, IMHO, is to have mod_dav pass flush buckets down the
output chain by using ap_rflush or sending down its own flush buckets via
ap_filter_flush. The function that looks like it definitely needs the
flush is dav_send_one_response. Not sure if that'll catch all of your
cases or not - it may need to be added other places.

mod_dav knows when it is appropriate to flush the content. mod_deflate
doesn't attempt to make any determiniations on its own when to flush.
Mainly because doing the flush may be expensive in zlib - we don't want to
do it on every deflate() call. That logic is best placed in the handler -
mod_dav. And, for the most part, mod_dav does create flush buckets - it
just seems to be missing a few obvious cases. -- justin

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Jul 14 21:44:47 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.