Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove global side effects to socket library #16

Merged
merged 1 commit into from Dec 7, 2016

Commits on Aug 2, 2015

  1. Remove global side effects to socket library

    Previously the get_ip_info function used `socket.setdefaulttimeout` to
    set the socket timeout for its query socket. This function sets the
    default socket timeout globally, and thus caused side effects after this
    function was called.
    
    This change removes the previous setdefaulttimeout call in favor of
    setting the timeout directly on the socket itself.
    b1naryth1ef committed Aug 2, 2015
    Configuration menu
    Copy the full SHA
    5064530 View commit details
    Browse the repository at this point in the history