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

copy confusion

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2001-11-01 19:52:11 CET

Okay, so I'm now testing with the latest httpd-2.0 (as of today).

ra_dav sends a COPY request with these arguments:

src = /testing/sussman/$svn/bc/3//fundir/foo
dst = /testing/sussman/$svn/wrk/9e40510d-d21d-b211-a549-eb77c19b454b/fundir/foo2

And mod_dav doesn't choke with a type 1 error (as it did on
svn.collab.net); instead, I get this:

------------------
COPY /testing/sussman/$svn/bc/3//fundir/foo HTTP/1.1
User-Agent: SVN/M5 neon/0.17.2
Connection: TE
TE: trailers
Depth: 0
Destination: http://newton.ch.collab.net/testing/sussman/$svn/wrk/9e40510d-d21d-b211-a549-eb77c19b454b/fundir/foo2
Overwrite: T
Host: newton.ch.collab.net

HTTP/1.1 502 Bad Gateway
Date: Thu, 01 Nov 2001 18:21:19 GMT
Server: Apache/2.0.28-dev (Unix) SVN/M5 DAV/2
Content-Length: 281
Content-Type: text/html; charset=ISO-8859-1

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>502 Bad Gateway</title>
</head><body>
<h1>Bad Gateway</h1>
<p>Destination URI refers to a different server.</p>
<hr />
<address>Apache/2.0.28-dev Server at newton.ch.collab.net Port 80</address>
</body></html>
---------------------

It seems that neon prepended an "schema://host" to my destination
url. But really, I don't understand the 502 response code. The
destination header refers to "newton.ch.collab.net", and indeed,
that's *exactly* the hostname that apache is using to identify itself
at the bottom of the response!

(At this point, I'm just trying to see if the code-flow ever reaches
the empty function repos.c:dav_svn_copy_resource(). If it does, I'm
mostly done. But it never gets that far.)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:47 2006

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.