Skip to content

UDP "port unreachable" is not exposed #109

Closed
@chrysn

Description

@chrysn
  • uvloop version: 0.8.1
  • Python version: 3.5.4rc1
  • Platform: Debian GNU/Linux
  • Can you reproduce the bug with PYTHONASYNCIODEBUG in env?: yes

The example from issue #108, when run as ./echo.py 0 127.0.0.1 (running an example from the Python documentation in asyncio, which opens a UDP socket to an unserviced port and sends data) reports an OSError 111 "Connection refused", while when run as ./echo.py 1 127.0.0.1 (picking uvloop as the main loop), the network error is silently ignored.

Please make uvloop call error_received with some exception in those situations.

(This was already hinted at in #108, but I opened it as a separate issue so its resolution can be tracked by the workarounds for this just entering the aiocoap test suite).
[edit: missed the platform field]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions