Author: tack
Date: Mon Nov 27 17:57:33 2006
New Revision: 2097

Modified:
   trunk/base/src/rpc.py

Log:
log auth failure on client end.


Modified: trunk/base/src/rpc.py
==============================================================================
--- trunk/base/src/rpc.py       (original)
+++ trunk/base/src/rpc.py       Mon Nov 27 17:57:33 2006
@@ -276,7 +276,10 @@
             data = None
 
         if not data:
-            log.info('no data received')
+            if not self._authenticated:
+                # Remote end closed connection during authentication; this 
+                # almost certainly means auth secret mismatch.
+                log.error('Authentication failed')
             self._handle_close()
             # Return False to cause notifier to remove fd handler.
             return False

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to