mirror of
https://github.com/python/cpython
synced 2026-09-28 11:18:16 +03:00
flush before reading response from socket
This commit is contained in:
parent
11bb1743b6
commit
5a6ad8fb71
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue