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

Re: dump format refinement

From: Greg Stein <gstein_at_lyra.org>
Date: 2002-05-01 00:58:21 CEST

On Mon, Apr 29, 2002 at 04:07:59PM -0500, Ben Collins-Sussman wrote:
> Marcus Comstedt <marcus@mc.pp.se> writes:
> > Ben Collins-Sussman <sussman@collab.net> writes:
> > > Indeed, it would be tricky. I wonder how httpd deals with this when
> > > you GET a file....?
> >
> > If it's really a file, then it would probably just stat it to get the
> > length.
> I bet mod_dav_svn *does* streamily suck the whole file out of
> libsvn_fs into a tmpfile, and then probably hands that tmpfile to
> httpd.

Nope. We stream the file right into Apache's output filter stack. And as you
found, there is an FS API for fetching the length :-)


Greg Stein, http://www.lyra.org/
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed May 1 00:57:41 2002

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.