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 weoweo
Recipients
Date 2003-06-24.20:58:28
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Logged In: YES 
user_id=23630

The patch might cause the server to loop endlessly, if the
client has closed the connection. I suggest to change the
patch as follows:

   while select.select([self.rfile], [], [], 0)[0]:
-    waste = self.rfile.read(1)

to

   while select.select([self.rfile], [], [], 0)[0]:
+    if not self.rfile.read(1): break

Maybe this is necessary for the Windows case as well ...
History
Date User Action Args
2007-08-23 13:54:42adminlinkissue430160 messages
2007-08-23 13:54:42admincreate