Bug #2312
closedSVN CHECKOUT not passed to mod_proxy
Description
$ svn commit -m ""
svn: Server sent unexpected return value (501 Not Implemented) in response to CHECKOUT request
Patch attached. Tested and working.
Files
Updated by stbuehler almost 14 years ago
- Status changed from New to Invalid
- Target version deleted (
1.4.29)
Your patch changes which methods are accepted for con->mode == DIRECT. As mod_webdav doesn't support svn, you need mod_proxy. mod_proxy sets a different con->mode. So i don't see what your patch could fix, it looks more like it just ignores something stupid which should get the error.
And mod_proxy doesn't care about the request method.
Updated by Anonymous almost 14 years ago
Well, I am using mod_proxy, not mod_webdav. I did try it before I recompiled, and it didn't pass it to mod_proxy (even checked Apache's logs).
Updated by stbuehler almost 14 years ago
I just tested with curl, lighttpd+mod_proxy and netcat as the proxy target (current svn lighttpd-1.4.x branch):
- lighttpd:
proxy.server = ( "" => ( ( "host" => "127.0.0.1", "port" => 8082 ) ) )
(andserver.port = 8081
ofc) - netcat:
printf "HTTP/1.0 200 OK\r\nContent-Length: 4\r\n\r\nxxx\n" | nc -4 -v -l localhost 8082
- curl -v -X CHECKOUT http://localhost:8081/
The request got to netcat, and the answer got back.
So I don't think it was the request method.
Also available in: Atom