diff options
Diffstat (limited to 'tftpy/TftpStates.py')
-rw-r--r-- | tftpy/TftpStates.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tftpy/TftpStates.py b/tftpy/TftpStates.py index 142029c..6c77499 100644 --- a/tftpy/TftpStates.py +++ b/tftpy/TftpStates.py @@ -156,6 +156,7 @@ class TftpContext(object): continue break else: + self.sock.close() raise TftpException, "Hit max timeouts, giving up." # Ok, we've received a packet. Log it. |