diff options
| author | Jakub Stasiak <jakub.stasiak@smarkets.com> | 2016-09-27 11:18:07 +0100 |
|---|---|---|
| committer | Jakub Stasiak <jakub.stasiak@smarkets.com> | 2016-09-27 11:27:15 +0100 |
| commit | 8337e1a0cc295458361539b82fefe7824a08eef0 (patch) | |
| tree | 2a48f7ed32288016b4e0dfb3f6f032be044fa864 /bin/pull-dnspython | |
| parent | 1d4ce40c1bef04159daa685b09a9884cb5727fe6 (diff) | |
| download | eventlet-fix-dns-resolution.tar.gz | |
Upgrade bundled dnspython to fix DNS resolutionfix-dns-resolution
The version introduced in commit [1] ([2]) has a critical bug - "The DNS
resolver doesn't return any records and under some circumstances throws
KeyError exceptions from within dnspython" [3]. dnspython commit [4]
fixes it so let's update to the latest development version.
Simple script to reproduce:
import eventlet
eventlet.monkey_patch(all=True)
import socket
print(socket.gethostbyname('google.co.uk'))
Before this change it'd raise an exception, after - it produces
a result.
[1] 52b09becacd23f384cf69ae37d70c893c43e3b13
[2] https://github.com/rthalley/dnspython/commit/188aa701a6826c607da0624e31a8c4618d0a8017
[3] https://github.com/rthalley/dnspython/issues/206
[4] https://github.com/rthalley/dnspython/commit/292995db18f16a528471250fab5cb25082b7d193
Diffstat (limited to 'bin/pull-dnspython')
| -rwxr-xr-x | bin/pull-dnspython | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/pull-dnspython b/bin/pull-dnspython index ddbd6e1..56d1a76 100755 --- a/bin/pull-dnspython +++ b/bin/pull-dnspython @@ -1,6 +1,6 @@ #!/bin/bash -eux cd "$( dirname "${BASH_SOURCE[0]}" )/.." -version=${1-188aa701a6826c607da0624e31a8c4618d0a8017} +version=${1-bb0c9f21f4a6f56f2fe8d7c1fc991080ef89d223} upstream_path=./dnspython-${version} if [[ ! -d "${upstream_path}" ]]; then curl -L -odnspython.zip "https://github.com/rthalley/dnspython/archive/${version}.zip" |
