[PATCH] fix non interruptable hang in svn client when connecting
From: Yun Zheng Hu <yunzheng.hu_at_gmail.com>
Date: 2005-08-25 00:40:07 CEST
[[[
How to reproduce:
There is no svn server running on that port, so try a CTRL-C to
I found out that somebody else was having this problem too, but could
http://svn.haxx.se/users/archive-2005-07/1027.shtml
The following patch will set a timeout of 10 seconds on apr_socket_connect.
The patch is very simple, open up:
search for: "apr_socket_connect", and change the code to:
status = apr_setsocketopt(*sock, APR_SO_TIMEOUT, 10 * APR_USEC_PER_SEC);
status = apr_socket_connect(*sock, sa);
---------------------------------------------------------------------
|
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.