]> granicus.if.org Git - python/commit
Don't just die if gethostbyaddr() fails -- as it can when DNS is
authorGuido van Rossum <guido@python.org>
Wed, 9 Jun 1999 15:05:47 +0000 (15:05 +0000)
committerGuido van Rossum <guido@python.org>
Wed, 9 Jun 1999 15:05:47 +0000 (15:05 +0000)
commit145a5f73f0064b3779e3f0a592112615a6d0fb5d
tree91b79d5cd13d071dd99f89df376ae584c4f9d962
parent56b20595e6eba948ff86db24c2ce55bae70aa659
Don't just die if gethostbyaddr() fails -- as it can when DNS is
unreachable -- but fall back to using whatever hostname we have.
Lib/BaseHTTPServer.py