[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: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2002-04-29 22:52:40 CEST

Mark Benedetto King <bking@answerfriend.com> writes:

> On Mon, Apr 29, 2002 at 03:09:15PM -0500, Ben Collins-Sussman wrote:
> > Start with all RFC822-style headers at the top. The final header will
> > be a 'Content-length:', followed by the content. Thus our record
> > boundaries can be inferred.
>
> Wouldn't this make it difficult to stream?

Indeed, it would be tricky. I wonder how httpd deals with this when
you GET a file....?

I suppose a file's contents could be streamily read from the fs,
written to a tmpfile, then stat the tmpfile for a size, then dump the
tmpfile into the dumpfile. Maybe gstein has a suggestion.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Apr 29 22:56:07 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.