This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author potterru
Recipients
Date 2004-07-26.11:23:31
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Logged In: YES 
user_id=48596

It looks like bug in module socket.py in _fileobject.read method. 
... 
while True: 
    left = size - buf_len 
    recv_size = max(self._rbufsize, left) 
    data = self._sock.recv(recv_size) 
 
This code should read not more than *left* or *buffer size* 
 
So, it should be min instead of max ! 
 
Should I file a bug/patch for this ? 
History
Date User Action Args
2007-08-23 14:14:00adminlinkissue756104 messages
2007-08-23 14:14:00admincreate