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

Re: "400 Bad Request" on commit with 1.7 client to 1.7 server

From: Konstantin Kolinko <knst.kolinko_at_gmail.com>
Date: Mon, 5 Dec 2011 11:59:37 +0400

2011/12/4 Gustavo Chaves <gustavo_at_cpqd.com.br>:
> I straced the httpd daemon to try to get any hint. The last syscalls
> before the error are these:
>
> 17748 read(18, "POST /admin/!svn/me HTTP/1.1\r\nUs"..., 8000) = 441

There are known problems with handling of POST requests in 1.7.0 an 1.7.1.

In 1.7.2 changes list that is mentioned as
* make mod_dav_svn ignore non-Subversion POST requests (r1187695)

The POST request are from the new version of SVN HTTP protocol (aka
"version 2") added in 1.7. It can be turned off in configuration,
SVNAdvertiseV2Protocol Off
http://svnbook.red-bean.com/en/1.7/svn.ref.mod_dav_svn.conf.html

Best regards,
Konstantin Kolinko
Received on 2011-12-05 09:00:32 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.