• Dmitriy Vyukov's avatar
    net: fix accept/connect deadline handling · 0f136f2c
    Dmitriy Vyukov authored
    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
    0f136f2c
Name
Last commit
Last update
api Loading commit data...
doc Loading commit data...
include Loading commit data...
lib Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.hgignore Loading commit data...
.hgtags Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...