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

1.6.2 DAV autoversioning doesn't give response to HTTP MKCOL request

From: Aaron Unger <aaron.unger_at_gmail.com>
Date: Fri, 12 Jun 2009 13:23:34 -0400

I'm currently running SVN 1.5.3 on Apache 2.2.3, with DAV enabled and
autoversioning turned on. If I do an http MKCOL request to create a
new directory, it returns with an HTTP status of 201 Created. This
makes sense and corresponds with how the normal apache webdav server
handles the same request.

If I try the exact same thing against my test server running SVN 1.6.2
and Apache 2.2.11, I get no response back from the server -- the
connection is dropped. However, it does look like the command
succeeded as the new directory is in the repository and the revision
number incremented. Using the svn client against this same server
works fine -- it just seems to be a problem with autoversioning and
making a single MKCOL request.

Has anyone else seen this and/or can anyone else verify this a problem?

How to reproduce:

SVN 1.5.3
dhcp124:tmp aunger$ curl -i -X MKCOL http://oldserver/newfolder
HTTP/1.1 201 Created
Date: Fri, 12 Jun 2009 17:15:21 GMT
Server: Apache/2.2.3 (Red Hat)
Location: http://oldserver/newfolder
Content-Length: 274
Connection: close
Content-Type: text/html; charset=UTF-8

<title>201 Created</title>
<p>Collection /newfolder has been created.</p>
<hr />
<address>Apache/2.2.3 (Red Hat) Server at oldserver Port 80</address>

SVN 1.6.2
dhcp124:tmp aunger$ curl -i -X MKCOL http://svn.local/newfolder
curl: (52) Empty reply from server

dhcp124:tmp aunger$ svn mkdir -m "New folder" http://svn.local/newfolder2

Committed revision 16.

-- Aaron

Received on 2009-06-13 00:23:56 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.