aboutsummaryrefslogtreecommitdiff
path: root/src/database/sql
diff options
context:
space:
mode:
authorDamien Neil <dneil@google.com>2024-02-27 14:53:33 -0800
committerDamien Neil <dneil@google.com>2024-02-28 17:11:55 +0000
commit606b8ff5eff5e83e92b5b7466f9682115c1a6883 (patch)
tree20d786f075a86c08bb3cf0f8ae45ca415d390ff4 /src/database/sql
parentb6753baaedf6ae932c3ad4af1451163045e7ff84 (diff)
downloadgo-606b8ff5eff5e83e92b5b7466f9682115c1a6883.tar.xz
net/http: make timeout errors match context.DeadlineExceeded
When returning an error which implements net.Error and reports itself as a timeout, also report it as matching context.DeadlineExceeded. This matches the behavior of timeout errors in the net package and elsewhere. Fixes #50856 Change-Id: I2ca911e3677a699af27ba89b1200401baa8b3b1b Reviewed-on: https://go-review.googlesource.com/c/go/+/567537 Reviewed-by: Jonathan Amsterdam <jba@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Diffstat (limited to 'src/database/sql')
0 files changed, 0 insertions, 0 deletions