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

Re: Invalid large, negative Content-Length

From: Stefan Sperling <stsp_at_elego.de>
Date: Mon, 25 Jan 2010 16:12:57 +0100

On Mon, Jan 25, 2010 at 09:45:19AM -0500, Doug Warner wrote:
> When trying to "svn update" a working copy on Linux (svn 1.6.6) I'm receiving
> the error "413 Request Entity Too Large".
>
> Indeed, the Content-Length I'm seeing the client send when I set
> neon-debug-mask = 138 in [global] of the servers file is:
> Content-Length: -5221747158880878327
>
> This seems similar to bug #3558 [1] but I'm just trying to update a working
> repository, I don't have any 2+GB files, and I'm on Linux and not Windows.
>
> Any ideas on what I can do to debug this?

You could rebuild svn with the --enable-maintainer-mode configure flag.
Then you'll see the file and line number where the error is thrown.
You could then have the client break at the spot in gdb, and post a
backtrace in case it contains anything interesting (like funky-looking
function arguments). This may tell us e.g. if the problem is within
neon or within svn.

In addition to the complete neon debug output, a tcpdump -s99999 -X
of the running update would also be nice, to see what client and
server are sending to each other over the wire.

You could post this information here, or attach it to issue #3558,
your call.

TIA,
Stefan
Received on 2010-01-25 16:13:37 CET

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