Skip to content

Commit

Permalink
flush before reading response from socket
Browse files Browse the repository at this point in the history
  • Loading branch information
gvanrossum committed Oct 7, 1995
1 parent 11bb174 commit 5a6ad8f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Demo/pdist/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ def __init__(self, *args):
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)
Expand Down

0 comments on commit 5a6ad8f

Please sign in to comment.