diff options
| author | Dmitriy Vyukov <dvyukov@google.com> | 2013-03-07 17:03:40 +0400 |
|---|---|---|
| committer | Dmitriy Vyukov <dvyukov@google.com> | 2013-03-07 17:03:40 +0400 |
| commit | 0f136f2c057459999f93da2d588325e192160b39 (patch) | |
| tree | f16ec527d0ed06c1f16842511f50fc8b4ced7106 /src/pkg/runtime | |
| parent | 48fa4a10fbbc235f334a0a2d34f188799b95a3ae (diff) | |
| download | go-0f136f2c057459999f93da2d588325e192160b39.tar.xz | |
net: fix accept/connect deadline handling
Ensure that accept/connect respect deadline,
even if the operation can be executed w/o blocking.
Note this changes external behavior, but it makes
it consistent with read/write.
Factor out deadline check into pollServer.PrepareRead/Write,
in preparation for edge triggered pollServer.
Ensure that pollServer.WaitRead/Write are not called concurrently
by adding rio/wio locks around connect/accept.
R=golang-dev, mikioh.mikioh, bradfitz, iant
CC=golang-dev
https://golang.org/cl/7436048
Diffstat (limited to 'src/pkg/runtime')
0 files changed, 0 insertions, 0 deletions
