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

Win32 - webdav proxy does not work as write trough

From: Vojtech Jakes <vjakes_at_gmail.com>
Date: Mon, 11 Aug 2008 10:29:41 +0200

Hi,

I've not received any feedback on the users to what I suspect is a
bug, here is the description:

1) Both master and slave are running Apache 2.2.9 and subversion 1.5.1
(downloaded as ZIP file from
http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=8100
)
2) All read operations on slave work fine.
3) All read/write operations on master work fine.
4) httpd.conf for slave:
<Location /ng >
    DAV svn
    SVNPath C:/Repositories/ngmirror
    SVNMasterURI http://svn1/ng
    AuthzSVNAccessFile C:/access/accesscontrol.txt
    AuthName "ng"
    AuthType Basic
    AuthUserFile C:/access/userfile.txt
    Require valid-user
</Location>
5) Check out from slave works fine, commit to slave reports following error:
svn: Commit failed (details follow):
svn: Server sent unexpected return value (400 Bad Request) in response to MKACTI
VITY request for '/ng/!svn/act/52a6415f-18fa-a849-9a0a-92d62a4d0d0b'
6) access log on master reports following (notice the double slash in
MKACTIVITY):
XX.XX.XX.XX - - [11/Aug/2008:10:07:05 +0200] "MKACTIVITY
/ng//!svn/act/52a6415f-18fa-a849-9a0a-92d62a4d0d0b HTTP/1.1" 400 362
7) Slave apache error.log for this commit (logging set to debug in httpd.conf):
[Mon Aug 11 10:07:04 2008] [info] [client XX.XX.XX.XX] Access granted:
'ffbuild' OPTIONS ng:/sources/trunk/production/tests
[Mon Aug 11 10:07:05 2008] [info] [client XX.XX.XX.XX] Access granted:
'ffbuild' PROPFIND ng:/sources/trunk/production/tests
[Mon Aug 11 10:07:05 2008] [info] [client XX.XX.XX.XX] Access granted:
'ffbuild' OPTIONS ng:/sources/trunk/production/tests
[Mon Aug 11 10:07:05 2008] [info] [client XX.XX.XX.XX] Access granted:
'ffbuild' MKACTIVITY ng:
[Mon Aug 11 10:07:05 2008] [debug] proxy_util.c(1507): [client
XX.XX.XX.XX] proxy: *: found reverse proxy worker for
http://svn1/ng//!svn/act/52a6415f-18fa-a849-9a0a-92d62a4d0d0b
[Mon Aug 11 10:07:05 2008] [debug] mod_proxy.c(966): Running scheme
http handler (attempt 0)
[Mon Aug 11 10:07:05 2008] [debug] mod_proxy_http.c(1909): proxy:
HTTP: serving URL
http://svn1/ng//!svn/act/52a6415f-18fa-a849-9a0a-92d62a4d0d0b
[Mon Aug 11 10:07:05 2008] [debug] proxy_util.c(2044): proxy: HTTP:
has acquired connection for (*)
[Mon Aug 11 10:07:05 2008] [debug] proxy_util.c(2102): proxy:
connecting http://svn1/ng//!svn/act/52a6415f-18fa-a849-9a0a-92d62a4d0d0b
to svn1:80
[Mon Aug 11 10:07:05 2008] [debug] proxy_util.c(2195): proxy:
connected /ng//!svn/act/52a6415f-18fa-a849-9a0a-92d62a4d0d0b to
svn1:80
[Mon Aug 11 10:07:05 2008] [debug] proxy_util.c(2347): proxy: HTTP:
fam 2 socket created to connect to *
[Mon Aug 11 10:07:05 2008] [debug] proxy_util.c(2448): proxy: HTTP:
connection complete to YY.YY.YY.YY:80 (svn1)
[Mon Aug 11 10:07:05 2008] [debug] mod_proxy_http.c(1686): proxy:
start body send
[Mon Aug 11 10:07:05 2008] [debug] mod_proxy_http.c(1775): proxy: end body send
[Mon Aug 11 10:07:05 2008] [debug] proxy_util.c(2062): proxy: HTTP:
has released connection for (*)

8) The debug trace from proxy_util.c(1507) already shows the double
slash in the URL, which I suspect is the cause of failing write
operations in the write-trough proxy.

At this time I don't know if this is an apache or SVN error, so I am
posting only here. Please let me know if I can provide any additional
info or if I should file a bug in the issue tracker.

Thanks in advance

Vojta

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-08-11 19:51:08 CEST

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.