Message358940
Receiving a UDP datagram using DatagramProtocol on the Proactor event loop results in error_received() being called with WinError 87 (Invalid Parameter). The low-level sock_recv() works fine, but naturally loses the sender address information. The attached script works fine as-is on Linux, and on Windows if ::1 is replaced with 127.0.0.1.
There were extensive tests added for UDP support on IOCP, but unfortunately all of them use only IPv4 sockets so they could not catch this problem. |
|
Date |
User |
Action |
Args |
2019-12-28 10:55:11 | alex.gronholm | set | recipients:
+ alex.gronholm, paul.moore, tim.golden, asvetlov, zach.ware, steve.dower |
2019-12-28 10:55:11 | alex.gronholm | set | messageid: <1577530511.62.0.532247879973.issue39148@roundup.psfhosted.org> |
2019-12-28 10:55:11 | alex.gronholm | link | issue39148 messages |
2019-12-28 10:55:11 | alex.gronholm | create | |
|