diff options
| author | Ian Lance Taylor <iant@golang.org> | 2022-03-30 17:26:21 -0700 |
|---|---|---|
| committer | Ian Lance Taylor <iant@golang.org> | 2022-04-03 15:43:15 +0000 |
| commit | 85b5f86584686677c554b2538a7edee96d684aea (patch) | |
| tree | 2a9dec6e9b16ebecbbfd4791ea6dc100d913a0ec /src/os/exec/exec_windows_test.go | |
| parent | 73a81d84b644da13bb11ce2e63d7f61041f7ebac (diff) | |
| download | go-85b5f86584686677c554b2538a7edee96d684aea.tar.xz | |
net: support error.Is of network errors and context errors
Change timeouts to be Is(context.DeadlineExceeded) and cancelation to
be Is(context.Canceled).
Fixes #51428
Change-Id: Ic580bd9da0f338e993fb79138875a78d99cc1a1d
Reviewed-on: https://go-review.googlesource.com/c/go/+/396877
Trust: Ian Lance Taylor <iant@golang.org>
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com>
Diffstat (limited to 'src/os/exec/exec_windows_test.go')
0 files changed, 0 insertions, 0 deletions
