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

Re: svn commit: r1561387 - in /subversion/trunk/subversion: bindings/javahl/native/ include/ libsvn_ra_svn/ svnserve/ tests/libsvn_ra/

From: Branko Čibej <brane_at_wandisco.com>
Date: Sun, 26 Jan 2014 15:43:06 +0100

Following up from irc:
> [23:23] <Bert> brane: Any ideas for a better api? One problem is that
> ra_svn already abuses a stream in the same way internally... so
> exposing that is not really helping.
> [23:24] <Bert> brane: And inventing yet another stream api... Yuck.
> [23:25] <Bert> (but if we do introduce a new stream api... we should
> add proper scratch pools)
> [23:26] <Bert> brane: The stream api is pretty much what you would
> need to use blocking tunnel libraries...

Agreed on all of the above. The best solution, IMO would be to change
the stream API constraints, so that only a zero-length read represents
an end-of-file. The current constraint looks like a clear design bug to me.

But I'm not sure how to do that without rev'ing the whole stream API ... :(

— Brane

-- 
Branko Čibej | Director of Subversion
WANdisco // Non-Stop Data
e. brane_at_wandisco.com
Received on 2014-01-26 15:43:50 CET

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.