Yun Zheng Hu <yunzheng.hu@gmail.com>


Patch
r855983

r855983 | kfogel | 2005-08-25 14:40:13 -0500 (Thu, 25 Aug 2005)

Fix a bug whereby connecting to a non-existent repository can cause
apr_socket_connect() to hang non-interruptably.  To reproduce, try
'svn co svn://svn.edgewall.com'.

Patch by: Yun Zheng Hu <yunzheng.hu@gmail.com>
(Tweaked by me to use apr_socket_set_timeout instead of apr_setsocketopt.)

* subversion/libsvn_ra_svn/client.c
  (make_connection): Set socket timeout to 30 seconds.

NOTE: this change was reverted in r17697.