flush before reading response from socket
This commit is contained in:
parent
11bb1743b6
commit
5a6ad8fb71
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue