diff options
author | Aleksandr Razumov <ar@cydev.ru> | 2018-08-28 03:29:01 +0300 |
---|---|---|
committer | Brad Fitzpatrick <bradfitz@golang.org> | 2018-10-02 21:11:23 +0000 |
commit | 3aa3c052e302add1d30b0481b0347c47f190bef9 (patch) | |
tree | 3e600852d5587ce8eff003660da7eafe8f218559 /src/net/http/request.go | |
parent | 0906d648aa173f65aaafd6296d43247b426f05f3 (diff) | |
download | go-git-3aa3c052e302add1d30b0481b0347c47f190bef9.tar.gz |
net/http: rewind request body unconditionally
When http2 fails with ErrNoCachedConn the request is retried with body
that has already been read.
Fixes #25009
Change-Id: I51ed5c8cf469dd8b17c73fff6140ab80162bf267
Reviewed-on: https://go-review.googlesource.com/c/131755
Run-TryBot: Iskander Sharipov <iskander.sharipov@intel.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/net/http/request.go')
0 files changed, 0 insertions, 0 deletions