]> Cypherpunks repositories - gostls13.git/commit
internal/poll: handle zero-byte write in FD.WriteTo
authorAlex Brainman <alex.brainman@gmail.com>
Sun, 9 Sep 2018 04:21:25 +0000 (14:21 +1000)
committerAlex Brainman <alex.brainman@gmail.com>
Sun, 9 Sep 2018 04:42:15 +0000 (04:42 +0000)
commit1705962cf976a001bb9929146e5690a957ed630e
tree6a8ff0f45810dabfa394ece0bff25b9da59298bf
parentbbf9e6db0ad4ce951706759d3743dbab2257d033
internal/poll: handle zero-byte write in FD.WriteTo

Zero-byte write was fixed by CL 132781, that was submitted 3 days ago.
But I just submitted CL 129137, and the CL broken zero-byte write
functionality without me noticing. CL 129137 was based on old commit
(older than 3 days ago), and try-bots did not discover the breakage.

Fix zero-byte write again.

Fixes windows build.

Change-Id: Ib403b25fd25cb881963f25706eecca92b924aaa1
Reviewed-on: https://go-review.googlesource.com/134275
Run-TryBot: Alex Brainman <alex.brainman@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Alex Brainman <alex.brainman@gmail.com>
src/internal/poll/fd_windows.go