diff options
author | Felix Lange <fjl@twurst.com> | 2016-01-22 23:08:23 +0800 |
---|---|---|
committer | Felix Lange <fjl@twurst.com> | 2016-01-23 06:44:25 +0800 |
commit | 2871781f64958c144a15ccb4e64c005a10be7cdd (patch) | |
tree | 9a02049b55ffee03bb0f4fb97bb1c4b4b21f42d6 /tests | |
parent | 78f196409552466ff878a030e4069495a923c73e (diff) | |
download | dexon-2871781f64958c144a15ccb4e64c005a10be7cdd.tar dexon-2871781f64958c144a15ccb4e64c005a10be7cdd.tar.gz dexon-2871781f64958c144a15ccb4e64c005a10be7cdd.tar.bz2 dexon-2871781f64958c144a15ccb4e64c005a10be7cdd.tar.lz dexon-2871781f64958c144a15ccb4e64c005a10be7cdd.tar.xz dexon-2871781f64958c144a15ccb4e64c005a10be7cdd.tar.zst dexon-2871781f64958c144a15ccb4e64c005a10be7cdd.zip |
p2p/discover: fix Windows-specific issue for larger-than-buffer packets
On Windows, UDPConn.ReadFrom returns an error for packets larger
than the receive buffer. The error is not marked temporary, causing
our loop to exit when the first oversized packet arrived. The fix
is to treat this particular error as temporary.
Fixes: #1579, #2087
Updates: #2082
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions