1. 28 Nov, 2012 2 commits
    • Alex Brainman's avatar
      net/http: fix broken TestIssue4191_InfiniteGetToPutTimeout · b5aa4789
      Alex Brainman authored
      Test creates 2 tcp connections for put and get. Make sure
      these are closed properly after test is over, otherwise
      server hangs waiting for connection to be closed.
      
      R=golang-dev, bradfitz, dave
      CC=golang-dev
      https://golang.org/cl/6842109
      b5aa4789
    • Dave Cheney's avatar
      net: move deadline logic into pollServer · 28b59942
      Dave Cheney authored
      Update #4434.
      
      The proposal attempts to reduce the number of places where fd,{r,w}deadline is checked and updated in preparation for issue 4434. In doing so the deadline logic is simplified by letting the pollster return errTimeout from netFD.Wait{Read,Write} as part of the wakeup logic.
      
      The behaviour of setting n = 0 has been restored to match rev 2a55e349097f, which was the previous change to fd_unix.go before CL 6851096.
      
      R=jsing, bradfitz, mikioh.mikioh, rsc
      CC=fullung, golang-dev
      https://golang.org/cl/6850110
      28b59942
  2. 27 Nov, 2012 17 commits
  3. 26 Nov, 2012 21 commits