1
0
mirror of https://github.com/golang/go synced 2024-11-19 20:34:42 -07:00
go/src/internal
Aman Gupta d2c7dec183 net: implement (*syscall.RawConn).Read/Write on Windows
RawRead assumes the callback will perform either (a) a blocking read
and always return true, (b) a blocking read with a SO_RCVTIMEO set
returning false on WSAETIMEDOUT, or (c) a non-blocking read
returning false on WSAEWOULDBLOCK. In the latter two cases, it uses
a 0-byte overlapped read for notifications from the IOCP runtime
when the socket becomes readable before trying again.

RawWrite assumes the callback will perform blocking write and will
always return true, and makes no effort to tie into the runtime loop.

Change-Id: Ib10074e9d502c040294f41a260e561e84208652f
Reviewed-on: https://go-review.googlesource.com/76391
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Alex Brainman <alex.brainman@gmail.com>
2018-04-14 05:36:36 +00:00
..
bytealg internal/bytealg: add optimized Compare for arm64 2018-04-11 14:54:59 +00:00
cpu internal/cpu: align capability definitions for x86 with other architectures 2018-04-10 16:23:44 +00:00
nettrace net, net/http: don't trace DNS dials 2016-05-14 00:14:25 +00:00
poll net: implement (*syscall.RawConn).Read/Write on Windows 2018-04-14 05:36:36 +00:00
race testing: mark tests and benchmarks failed if a race occurs during execution 2016-11-03 18:19:49 +00:00
singleflight net: don't let cancelation of a DNS lookup affect another lookup 2018-03-16 13:39:38 +00:00
syscall net: implement (*syscall.RawConn).Read/Write on Windows 2018-04-14 05:36:36 +00:00
testenv all: drop support for Windows Vista or below (Windows XP) 2018-02-15 17:24:42 +00:00
testlog cmd/go: invalidate cached test results if env vars or files change 2017-12-11 19:08:32 +00:00
trace internal/trace: fix double counting in span analysis 2018-03-28 20:18:41 +00:00