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

Re: [neon] [azverkan@yahoo.com: Joe Orton please read: Overrrun a neon buffer size during svn merge URL URL]

From: Matt Kraai <kraai_at_alumni.cmu.edu>
Date: 2002-12-20 23:11:15 CET

On Fri, Dec 20, 2002 at 10:04:33PM +0000, Joe Orton wrote:
> On Fri, Dec 20, 2002 at 06:19:01AM -0800, Kevin Pilch-Bisson wrote:
> > While running svn merge URL URL, we overrun a 4K buffer size max in neon
> > and this caused subvesion to exit with an error before finishing its
> > work. The buffer in question is in new_socket.c line 164 "#define
> > RDBUFSIZ 4096". After upping this value by multiplying it by 32 the
> > operation finished successfully.
>
> Can you explain why this is a problem, what causes this failure (with a
> debug trace)? neon should work correctly (albeit not optimally) with any
> size of read buffer.

It would be harder to run into the "Line too long" error from
ne_sock_readline if RDBUFSIZ was larger, but some specification may
state that 4096 is sufficient.

Matt

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Dec 20 23:18:21 2002

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