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

Re: AW: AW: AW: Segmentation Fault with SVN Client related to serf

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Thu, 08 Jan 2015 17:36:13 +0000

Philip Martin <philip.martin_at_wandisco.com> writes:

> I can't reproduce this against a standard server.

I think I have worked it out. There was an error in my script: one of
the XML response lines was missing a '\n' and this originally caused the
client to report the HTTP response as too short, so I "fixed" it by
added a trailing '\n'. When creating the next response in the script I
copied the trailing '\n' but I didn't omit the earlier '\n'. The result
is an HTTP response that is one byte too long. The dummy server was
first sending 'Content-Length: 425' and then sending 426 bytes. This
spurious extra byte causes serf to crash when it reads the extra data
without a proper handler in place.

What we need is an exact trace of every byte sent by your proxy to the
client so we can check whether it is also sending an extra byte.

-- 
Philip Martin | Subversion Committer
WANdisco // *Non-Stop Data*
Received on 2015-01-08 18:36:46 CET

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.