- 06 Apr, 2011 5 commits
-
-
Rob Pike authored
- used to be only for standard log, not for user-built. - there were no getters. Also rearrange the code a little so we can avoid allocating a buffer on every call. Logging is expensive but we should avoid unnecessary cost. This should have no effect on existing code. R=rsc CC=golang-dev https://golang.org/cl/4363045
-
Adam Langley authored
R=golang-dev, rsc1 CC=golang-dev https://golang.org/cl/4365041
-
Adam Langley authored
The CRT is symmetrical in the case of two variables and I picked a different form from PKCS#1. R=golang-dev, rsc1 CC=golang-dev https://golang.org/cl/4381041
-
Alex Brainman authored
Fixes #1107. R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/4374041
-
Andrew Gerrand authored
R=bradfitz, bradfitzwork CC=golang-dev https://golang.org/cl/4368041
-
- 05 Apr, 2011 20 commits
-
-
Adam Langley authored
This speeds up private key operations by 3.5x (for a 2048-bit modulus). R=golang-dev, r, rsc1 CC=golang-dev https://golang.org/cl/4348053
-
Dmitry Chestnykh authored
R=golang-dev, agl1 CC=golang-dev https://golang.org/cl/4316057
-
Russ Cox authored
R=agl1 CC=golang-dev https://golang.org/cl/4346054
-
Rob Pike authored
R=rsc CC=golang-dev https://golang.org/cl/4339055
-
Rob Pike authored
R=golang-dev, rsc1, r2, bradfitzgo, gri CC=golang-dev https://golang.org/cl/4344068
-
Rob Pike authored
If the command couldn't be found, argv[0] would be wiped. Also, fix a print statement not to refer to make - it was a vestige of a prior form. R=rsc, gri CC=golang-dev https://golang.org/cl/4360048
-
Adam Langley authored
R=rsc CC=golang-dev https://golang.org/cl/4315050
-
Adam Langley authored
R=rsc CC=golang-dev https://golang.org/cl/4315051
-
Peter Mundy authored
R=rsc, r CC=golang-dev https://golang.org/cl/4339054
-
Rob Pike authored
Fixes #1665. R=gri CC=golang-dev https://golang.org/cl/4351051
-
Russ Cox authored
R=r, rog CC=golang-dev https://golang.org/cl/4364041
-
Yasuhiro Matsumoto authored
Original code by Chris Lennert <cale...@gmail.com> R=rsc, agl1 CC=golang-dev https://golang.org/cl/4331054
-
Rob Pike authored
R=brainman CC=golang-dev https://golang.org/cl/4308047
-
Rob Pike authored
We replace the current Open with: OpenFile(name, flag, perm) // same as old Open Open(name) // same as old Open(name, O_RDONLY, 0) Create(name) // same as old Open(name, O_RDWR|O_TRUNC|O_CREAT, 0666) This CL includes a gofix module and full code updates: all.bash passes. (There may be a few comments I missed.) The interesting packages are: gofix os Everything else is automatically generated except for hand tweaks to: src/pkg/io/ioutil/ioutil.go src/pkg/io/ioutil/tempfile.go src/pkg/crypto/tls/generate_cert.go src/cmd/goyacc/goyacc.go src/cmd/goyacc/units.y R=golang-dev, bradfitzwork, rsc, r2 CC=golang-dev https://golang.org/cl/4357052
-
Andrew Gerrand authored
R=rsc CC=golang-dev https://golang.org/cl/4355052
-
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 2 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
-