Author: dmeyer
Date: Sat Dec 9 19:12:02 2006
New Revision: 2200
Modified:
trunk/base/src/rpc.py
Log:
remove some extra check, I hope we do not need it
Modified: trunk/base/src/rpc.py
==============================================================================
--- trunk/base/src/rpc.py (original)
+++ trunk/base/src/rpc.py Sat Dec 9 19:12:02 2006
@@ -304,12 +304,17 @@
if buflen < header_size:
return
- if buflen > 512 and not self._authenticated:
- # 512 bytes is plenty for authentication handshake. Any more than
- # that and something isn't right.
- log.warning("Too much data received from remote end before
authentication; disconnecting")
- self._handle_close()
- return
+ # FIXME: why do we need this check? It does not for with kaa.beacon
+ # when we have too much media mounted. Beacon sends all known media
+ # information on connect, so the client receives authentication data
+ # and more on startup.
+ #
+ # if buflen > 512 and not self._authenticated:
+ # # 512 bytes is plenty for authentication handshake. Any more
than
+ # # that and something isn't right.
+ # log.warning("Too much data received from remote end before
authentication; disconnecting")
+ # self._handle_close()
+ # return
# Ensure the first block in the read buffer is big enough for a full
# packet header. If it isn't, then we must have more than 1 block in
-------------------------------------------------------------------------
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