You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by jo...@apache.org on 2012/03/14 00:17:44 UTC
svn commit: r1300403 -
/subversion/trunk/tools/server-side/svnpubsub/svnpubsub/client.py
Author: joes
Date: Tue Mar 13 23:17:44 2012
New Revision: 1300403
URL: http://svn.apache.org/viewvc?rev=1300403&view=rev
Log:
* svnpubsub/client.py
not good enough- 'stale' kicks in because it thinks the socket is available.
lets try closing the socket even tho connect has failed
Modified:
subversion/trunk/tools/server-side/svnpubsub/svnpubsub/client.py
Modified: subversion/trunk/tools/server-side/svnpubsub/svnpubsub/client.py
URL: http://svn.apache.org/viewvc/subversion/trunk/tools/server-side/svnpubsub/svnpubsub/client.py?rev=1300403&r1=1300402&r2=1300403&view=diff
==============================================================================
--- subversion/trunk/tools/server-side/svnpubsub/svnpubsub/client.py (original)
+++ subversion/trunk/tools/server-side/svnpubsub/svnpubsub/client.py Tue Mar 13 23:17:44 2012
@@ -77,7 +77,7 @@ class Client(asynchat.async_chat):
try:
self.connect((host, port))
except:
- self.event_callback('error')
+ self.handle_error()
return
### should we allow for repository restrictions?