1
0
mirror of https://git.zx2c4.com/wireguard-go synced 2024-11-15 01:05:15 +01:00
wireguard-go/rwcancel
Avery Pennarun 0abb6b668c rwcancel: handle EINTR and EAGAIN in unixSelect()
On my Chromebook (Linux 4.19.44 in a VM) and on an AWS EC2
machine, select() was sometimes returning EINTR. This is
harmless and just means you should try again. So let's try
again.

This eliminates a problem where the tunnel fails to come up
correctly and the program needs to be restarted.

Signed-off-by: Avery Pennarun <apenwarr@gmail.com>
2019-10-17 15:19:17 +02:00
..
fdset.go Extend structs rather than embed, when possible 2019-02-05 12:59:42 +01:00
rwcancel.go rwcancel: handle EINTR and EAGAIN in unixSelect() 2019-10-17 15:19:17 +02:00
select_default.go Update copyright 2019-02-05 12:59:42 +01:00
select_linux.go Update copyright 2019-02-05 12:59:42 +01:00