From: Guido van Rossum Date: Sat, 7 Oct 1995 19:27:20 +0000 (+0000) Subject: flush before reading response from socket X-Git-Tag: v1.3~62 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5a6ad8fb71501ec050f5ab6dac2763da0bf1f89e;p=thirdparty%2FPython%2Fcpython.git flush before reading response from socket --- diff --git a/Demo/pdist/client.py b/Demo/pdist/client.py index d8f210e71bb5..3e93f1ce8e30 100755 --- a/Demo/pdist/client.py +++ b/Demo/pdist/client.py @@ -135,6 +135,7 @@ class SecureClient(Client, Security): import string apply(self._pre_init, args) Security.__init__(self) + self._wf.flush() line = self._rf.readline() challenge = string.atoi(string.strip(line)) response = self._encode_challenge(challenge)