- 05 Apr, 2011 5 commits
-
-
Andrew Gerrand authored
R=rsc CC=golang-dev https://golang.org/cl/4363043
-
Brad Fitzpatrick authored
Amazon S3 sends Transfer-Encoding "chunked" on its 404 responses to HEAD requests for missing objects. We weren't ignoring the Transfer-Encoding and were thus interpretting the subsequent response headers as a chunk header from the previous responses body (but a HEAD response can't have a body) R=rsc, adg CC=golang-dev https://golang.org/cl/4346050
-
Brad Fitzpatrick authored
A connection shouldn't be made available for re-use until its body has been consumed. (except in the case of pipelining, which isn't implemented yet) This CL fixes some issues seen with heavy load against Amazon S3. Subtle implementation detail: to prevent a race with the client requesting a new connection before previous one is returned, we actually have to call putIdleConnection _before_ we return from the final Read/Close call on the http.Response.Body. R=rsc, adg CC=golang-dev https://golang.org/cl/4351048
-
Mikio Hara authored
R=golang-dev, adg CC=golang-dev https://golang.org/cl/4315049
-
Gustavo Niemeyer authored
R=golang-dev, rsc1, peterGo, bsiegert, r, mattn CC=golang-dev https://golang.org/cl/4271057
-
- 04 Apr, 2011 13 commits
-
-
Brad Fitzpatrick authored
The transport readLoop was waiting forever for the client to read the non-existent body before proceeding to read the next request. R=rsc CC=golang-dev https://golang.org/cl/4357051
-
Brad Fitzpatrick authored
R=r, r2, rsc1, rsc, jacek.masiulaniec CC=golang-dev https://golang.org/cl/4344062
-
Russ Cox authored
TBR=r CC=golang-dev https://golang.org/cl/4351047
-
Rob Pike authored
The error will only occur for invalid patterns, but without this error path there is no way to know that Glob has failed due to an invalid pattern. R=rsc CC=golang-dev https://golang.org/cl/4346044
-
Evan Shaw authored
Write never writes less than the buffer size and WriteString takes advantage of the copy built-in to improve write efficiency. R=rsc, ality, rog CC=golang-dev https://golang.org/cl/4344060
-
Matt Jones authored
According to RFC 3986: "For consistency, URI producers and normalizers should use uppercase hexadecimal digits for all percent-encodings." Using lower case characters makes it incompatible with Google APIs when signing OAuth requests. R=golang-dev, rsc1, rsc CC=golang-dev https://golang.org/cl/4352044
-
Russ Cox authored
R=golang-dev, r2 CC=golang-dev, mrjones https://golang.org/cl/4348048
-
Russ Cox authored
R=r CC=golang-dev https://golang.org/cl/4353047
-
Albert Strasheim authored
Fixes #1637. R=rsc, rh, msolo CC=golang-dev https://golang.org/cl/4317049
-
Mikio Hara authored
R=rsc CC=golang-dev https://golang.org/cl/4331050
-
Brad Fitzpatrick authored
Enables the use of https servers in tests. R=agl, rsc, agl1 CC=golang-dev https://golang.org/cl/4284063
-
Brad Fitzpatrick authored
Ideally we'd compile all example files during the build, though. Fixes #1660 R=r CC=golang-dev https://golang.org/cl/4358049
-
Andrew Gerrand authored
Fixes #1651. R=rsc CC=golang-dev https://golang.org/cl/4300054
-
- 03 Apr, 2011 3 commits
-
-
Andrey Mirtchovski authored
R=paulzhol, ality, r, fhs CC=golang-dev https://golang.org/cl/4316054
-
Andrey Mirtchovski authored
these were needed by packages in crypto/ and by io/ioutil R=golang-dev, r CC=golang-dev https://golang.org/cl/4350047
-
Ian Lance Taylor authored
R=r, peterGo CC=golang-dev https://golang.org/cl/4344053
-
- 02 Apr, 2011 6 commits
-
-
Yuval Pavel Zholkover authored
R=rsc, ality, r, r2 CC=golang-dev https://golang.org/cl/4149046
-
Yuval Pavel Zholkover authored
CC=golang-dev https://golang.org/cl/3816043
-
Robert Griesemer authored
R=r, r2, rsc1 CC=golang-dev https://golang.org/cl/4343045
-
Evan Shaw authored
Forgot this one in the previous CL R=rsc, r CC=golang-dev https://golang.org/cl/4345043
-
Russ Cox authored
R=ken2 CC=golang-dev https://golang.org/cl/4316051
-
Evan Shaw authored
R=rsc CC=golang-dev https://golang.org/cl/4350043
-
- 01 Apr, 2011 3 commits
-
-
Rob Pike authored
Fixes #1610. R=rsc CC=golang-dev https://golang.org/cl/4355042
-
Anthony Starks authored
R=golang-dev, adg, peterGo CC=golang-dev https://golang.org/cl/4274072
-
Alex Brainman authored
R=golang-dev, rsc1 CC=golang-dev https://golang.org/cl/4347041
-
- 31 Mar, 2011 10 commits
-
-
Alex Brainman authored
R=peterGo, rsc, Joe Poirier CC=golang-dev https://golang.org/cl/4280087
-
Ian Lance Taylor authored
Since Go code can deadlock, this lets a testsuite driver set a time limit for the test to run. This is simple but imperfect, in that it only catches deadlocks in Go code, not in the runtime scheduler. R=r, rsc, iant2 CC=golang-dev https://golang.org/cl/4326048
-
Rob Pike authored
Also fix a bug: precision was in terms of bytes; should be runes. Fixes #1652. R=rsc, bradfitzgo, r2, bradfitzwork CC=golang-dev https://golang.org/cl/4280086
-
Rob Pike authored
It was speculation. Also replace one silly word with an English replacement. R=golang-dev, bradfitzgo CC=golang-dev https://golang.org/cl/4339041
-
Brad Fitzpatrick authored
R=rsc CC=golang-dev https://golang.org/cl/4280079
-
Alexey Borzenkov authored
Fix resolv_windows.go to support recent DNS-lookup changes R=brainman, rsc1, rsc CC=golang-dev https://golang.org/cl/4300045
-
Rob Pike authored
doc.go contains the details. The short story: - command line is passed to the binary - a new flag, -file, is needed to name files - known flags have the "test." prefix added for convenience. - gotest-specific flags are trimmed from the command line. The effect should be that most existing uses are unaffected, the ability to name files is still present, and it's nicer to use. The downside is a lot more code in gotest. Also allow a test to be called just Test. R=rsc, niemeyer, rog, r2 CC=golang-dev https://golang.org/cl/4307049
-
Russ Cox authored
TBR=r CC=golang-dev https://golang.org/cl/4333048
-
Russ Cox authored
R=r, r2 CC=golang-dev https://golang.org/cl/4307047
-
Russ Cox authored
This will make the fmt code easier to gofix when the new reflect interface is ready. R=r CC=golang-dev https://golang.org/cl/4324043
-