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

Re: wanted: nibble-sized coding task

From: Greg Stein <gstein_at_lyra.org>
Date: 2003-03-06 04:44:03 CET

On Wed, Mar 05, 2003 at 07:09:10PM -0800, Brian Denny wrote:
>...
> milieu test # svn merge -r145:144 foo
> subversion/libsvn_ra_dav/util.c:393: (apr_err=175002)
> svn: RA layer request failed
> svn: REPORT request failed on /svn/repos/test/foo
> subversion/libsvn_ra_dav/util.c:378: (apr_err=175002)
> svn: The REPORT request returned invalid XML in the response: Unknown
> XML element `error (in DAV:)'. (/svn/repos/test/foo)
>
> i guess i was expecting something along the lines of
> "wrong number of arguments to merge"...
>
> is this message a bug (apart from issue 785)?

Yes, it is a bug.

I've got an ethereal hanging out on my desktop reminding to look into this
some more and/or file a bug report. I suspect a bug in Apache itself.

If you capture the network packets in the above example, you'll see that an
error message body is generated by mod_dav. The lines that are logged to
error_log describe it all, and note that it is a 404 error.

*However*, it seems that Apache is ignoring the 404 and/or replacing it with
a 200 in the response status line. The client gets the 200 and starts to
parse it, as if it were a proper report response. The DAV:error element at
the root of the response is flagged as an error (that you're seeing). What
*should* have happened is that the 404 comes back, and the error parser is
invoked in ra_dav/util.c. That would properly handle the error.

Something is quite broken in Apache :-( ... I also note that I got the same
error from svn.collab.net, which is a stock 2.0.44 release(!).

Not good...

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Mar 6 04:38:59 2003

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.