Hello there,

When moving from Apache proxy to HAProxy we noticed slow connections and 
frequent disconnects when doing SVN checkouts and commits.
The problems seems to be related to SVN >= 1.8.x.


Here's how to reproduce the issue:
- Set up SVN server 1.8.x with Apache 
- Configure HAProxy 1.5.x (we use 1.5.5) as standard http/https (or tcp) 
reverse proxy with a simple backend config like this:
+++++++++++++++++++++
backend subversion
    option httpclose
    option forwardfor
    server mysvn mysvnserv.mydomain:80 cookie A 
    reqirep Destination:\ https(.*) Destination:\ http\\1
+++++++++++++++++++++
- Use an SVN client >= 1.8.x
- Try to commit and checkout a larger number of files
- You will notice slow connections and disconnects

Apparently SVN clients < 1.8 don't cause the problem, I can checkout large 
repositories without any problems (Maybe related to the serf-library introduced 
in the 1.8 line).
Looks like someone else already ran into the same issue, as you can see here: 
http://grokbase.com/t/subversion/users/148m7sk22k/haproxy-subversion.

Any ideas?
Regards,
Sebastian



Reply via email to