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

bpo-31922: Do not connect UDP sockets when broadcast is allowed #423

Merged
merged 1 commit into from
May 7, 2019

Commits on Jun 11, 2018

  1. asyncio: Do not connect UDP sockets when broadcast is allowed

    This fixes asyncio issue python#480.
    The _SelectorDatagramTransport.sendto method has to be modified
    so _sock.send is used only if _sock is connected.
    
    It also protects socket.getsockname against OSError in
    _SelectorTransport. This might happen on Windows if the socket
    is not connected (e.g. for UDP broadcasting).
    vxgmichel committed Jun 11, 2018
    Configuration menu
    Copy the full SHA
    3b4b16b View commit details
    Browse the repository at this point in the history