Commit 5a6ad8fb authored by Guido van Rossum's avatar Guido van Rossum

flush before reading response from socket

parent 11bb1743
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment