diff options
| author | Paul Marks <pmarks@google.com> | 2015-04-02 19:13:17 -0700 |
|---|---|---|
| committer | Mikio Hara <mikioh.mikioh@gmail.com> | 2015-04-06 01:03:31 +0000 |
| commit | c50a8416c851ab6897f9efcd932ac26b5862dcad (patch) | |
| tree | 89f9759902652203a785b99cd7948cc40366cff0 /src/bytes/reader.go | |
| parent | 5242d2cef42c890f94194c65e0f19761bae813b2 (diff) | |
| download | go-c50a8416c851ab6897f9efcd932ac26b5862dcad.tar.xz | |
net: dialChannel should not treat an expired deadline as noDeadline.
Now, only a zero deadline is interpreted as noDeadline. Any other time
in the past yields an immediate timeout.
TestConnectDeadlineInThePast already covers this case. We just need to
un-skip it for plan9, where dialChannel is used.
Change-Id: I995fd1a632c31f8004dac772c3d7c43a2a5853b0
Reviewed-on: https://go-review.googlesource.com/8435
Reviewed-by: Mikio Hara <mikioh.mikioh@gmail.com>
Diffstat (limited to 'src/bytes/reader.go')
0 files changed, 0 insertions, 0 deletions
