aboutsummaryrefslogtreecommitdiff
path: root/rwcancel
AgeCommit message (Collapse)Author
2020-03-30rwcancel: no-op builds for windows and darwinDavid Crawshaw
This lets us include the package on those platforms in a followup commit where we split out a conn package from device. It also lets us run `go test ./...` when developing on macOS. Signed-off-by: David Crawshaw <crawshaw@tailscale.com>
2019-10-17rwcancel: handle EINTR and EAGAIN in unixSelect()Avery Pennarun
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-05-14global: regroup all importsJason A. Donenfeld
2019-02-05Extend structs rather than embed, when possibleJason A. Donenfeld
2019-02-05Update copyrightJason A. Donenfeld
2018-12-11Freebsd is finally normal in sys/unixJason A. Donenfeld
2018-09-16global: fix up copyright headersJason A. Donenfeld
2018-05-24Catch EINTRJason A. Donenfeld
2018-05-21Rework freebsd supportJason A. Donenfeld
2018-05-21Add FreeBSD supportBrady OBrien
Signed-off-by: Brady OBrien <brady.obrien128@gmail.com>
2018-05-14No more finalizer for rwcancelJason A. Donenfeld
2018-05-14Add rwcancelation to darwinJason A. Donenfeld
2018-05-14Introduce rwcancelJason A. Donenfeld