diff options
author | Rob Austein <sra@hactrn.net> | 2011-09-06 18:08:05 +0000 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2011-09-06 18:08:05 +0000 |
commit | b417bbfc937c79fa96c726192d7f834a051a445e (patch) | |
tree | fb1647c5106b4425c6393f12f4f6463de6c13c3a /rpkid/rpki/http.py | |
parent | aa2b61bd2a02a96d43a962a71f964a85e1d0e754 (diff) |
Non-blocking connect needs timeout. (#70)
svn path=/rpkid/rpki/http.py; revision=3971
Diffstat (limited to 'rpkid/rpki/http.py')
-rw-r--r-- | rpkid/rpki/http.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/rpkid/rpki/http.py b/rpkid/rpki/http.py index 2748c2f3..d455e4ea 100644 --- a/rpkid/rpki/http.py +++ b/rpkid/rpki/http.py @@ -699,6 +699,7 @@ class http_client(http_stream): self.connect((self.address, self.port)) if self.addr is None: self.addr = (self.host, self.port) + self.update_timeout() except (rpki.async.ExitNow, SystemExit): raise except: |