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

Re: ra_svn log limit and compat

From: Garrett Rooney <rooneg_at_electricjellyfish.net>
Date: 2005-02-23 17:01:53 CET

Chia-liang Kao wrote:
> Hi,
>
> I've been trying to trace down a strange 'Malformed network data' from ra_svn.
> It turned out to be caused by the --limit compatibility. When 1.2 client talks
> to 1.1 svnserve with a limit, it's ignored by the server, but the server will
> return full log. However the response of log beyond the limit is handled, which
> causes the ra session to be in an inconsistent state, and any further use of the
> same session will cause the Malformed network data as there are some garbage in
> the buffer.
>
> Now, can someone fix this? :) svk blame points to... rooneg!

Well, I can "fix" it in that I can make it work similarly to the way it
works via DAV, just pulling down all the data and dropping it on the
floor, but that kind of sucks since it means you have to actually wait
for the whole log response to come back before you can return control to
the user.

Honestly, I never expected people to be reusing the connection...

Can anyone think of a better way to deal with this?

-garrett

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Feb 23 17:03:10 2005

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.