go/src
Brad Fitzpatrick 6fd2d2cf16 net/http: make Transport retry non-idempotent requests if no bytes written
If the server failed on us before we even tried to write any bytes,
it's safe to retry the request on a new connection, regardless of the
HTTP method/idempotence.

Fixes #15723

Change-Id: I25360f82aac530d12d2b3eef02c43ced86e62906
Reviewed-on: https://go-review.googlesource.com/27117
Reviewed-by: Andrew Gerrand <adg@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2016-08-16 06:20:12 +00:00
..
archive archive/tar: preallocate slice from paxHeaders 2016-08-16 02:46:50 +00:00
bufio
builtin
bytes bytes: add examples 2016-08-16 01:33:32 +00:00
cmd cmd/compile: reduce garbage from autolabel 2016-08-16 04:29:32 +00:00
compress compress/flate: document HuffmanOnly 2016-07-25 23:20:40 +00:00
container container/heap: remove one unnecessary comparison in Fix 2016-08-16 00:40:03 +00:00
context context: add test for WithDeadline in the past 2016-07-26 14:53:38 +00:00
crypto crypto/tls: gofmt -w -s 2016-08-16 02:30:53 +00:00
database/sql database/sql: deflake TestPendingConnsAfterErr and fix races, panics 2016-06-28 21:37:53 +00:00
debug debug/pe: handle files with no string table 2016-06-19 05:18:09 +00:00
encoding encoding/json: add example for RawMessage marshalling 2016-08-16 00:22:47 +00:00
errors
expvar
flag
fmt fmt: properly handle early io.EOF Reads in readRune.readByte 2016-07-16 19:14:58 +00:00
go go/token: Fix race in FileSet.PositionFor. 2016-08-16 01:45:25 +00:00
hash
html html/template: update security model link 2016-06-23 04:30:07 +00:00
image
index/suffixarray
internal internal/trace: err if binary is not supplied for old trace 2016-06-16 16:22:03 +00:00
io
log
math math/big: use array instead of slice for deBruijn lookups 2016-08-16 00:22:13 +00:00
mime
net net/http: make Transport retry non-idempotent requests if no bytes written 2016-08-16 06:20:12 +00:00
os os/exec: fix nit found by vet 2016-08-16 00:44:45 +00:00
path path/filepath: fix typo in comment 2016-07-07 02:59:09 +00:00
reflect reflect: an unnamed type has no PkgPath 2016-07-12 12:43:48 +00:00
regexp Revert "regexp: add the Fanout benchmark 2016-07-12 04:59:34 +00:00
runtime Merge remote-tracking branch 'origin/dev.ssa' into merge 2016-08-15 17:07:16 -07:00
sort
strconv strconv: clarify doc for Atoi return type 2016-06-28 18:16:25 +00:00
strings strings: add special cases for Join of 2 and 3 strings 2016-08-16 00:33:15 +00:00
sync
syscall syscall: test Gettimeofday everywhere, not just on Darwin 2016-08-16 00:17:21 +00:00
testing testing: respect benchtime on very fast benchmarks 2016-08-10 19:44:08 +00:00
text text/template: clarify the default formatting used for values 2016-06-21 02:15:44 +00:00
time time: update documentation for Duration.String regarding the zero value 2016-06-24 19:41:45 +00:00
unicode unicode: upgrade to version 9.0.0 2016-06-28 15:08:11 +00:00
unsafe
vendor/golang_org/x/net all: rename vendored golang.org/x/net packages to golang_org 2016-07-13 18:35:40 +00:00
Make.dist
all.bash
all.bat
all.rc
androidtest.bash
bootstrap.bash
buildall.bash
clean.bash
clean.bat
clean.rc
cmp.bash
iostest.bash
make.bash
make.bat
make.rc
naclmake.bash
nacltest.bash
race.bash
race.bat
run.bash
run.bat
run.rc