- 09 Feb, 2013 5 commits
-
-
Adam Langley authored
On Windows, CryptoAPI is finding an alternative validation path. Since this is a little non-deterministic, this change disables that test when using system validation. R=golang-dev CC=golang-dev https://golang.org/cl/7313068
-
Russ Cox authored
R=golang-dev, minux.ma CC=golang-dev https://golang.org/cl/7314071
-
Adam Langley authored
By default, crypto/x509 assumes that users wish to validate certificates for ServerAuth. However, due to historical reasons, COMODO's intermediates don't specify ServerAuth as an allowed key usage. Rather NSS and CryptoAPI both allow these SGC OIDs to be equivalent to ServerAuth. R=rsc CC=golang-dev https://golang.org/cl/7312070
-
Shenghou Ma authored
R=golang-dev, agl, bradfitz, rsc CC=golang-dev https://golang.org/cl/7299064
-
Shenghou Ma authored
R=golang-dev, iant CC=golang-dev https://golang.org/cl/7305065
-
- 08 Feb, 2013 20 commits
-
-
Mikio Hara authored
The socket for AF_UNIX domain with SOCK_DGARM type isn't allowed to work with syscall listen. R=rsc CC=golang-dev https://golang.org/cl/7310068
-
Robert Daniel Kortschak authored
R=rsc, minux.ma CC=golang-dev https://golang.org/cl/7300063
-
Jan Ziak authored
R=golang-dev, rsc CC=dave, dvyukov, golang-dev, minux.ma, remyoudompheng https://golang.org/cl/7252047
-
Dave Cheney authored
Add benchmark for request parsing. Fixture data is taken from https://github.com/felixge/node-http-perf % go version go version devel +28966b7b2f0c Thu Feb 07 20:26:12 2013 -0800 linux/amd64 % go test -run=nil -bench=ReadRequest -benchtime=10s PASS BenchmarkReadRequest 2000000 9900 ns/op 61.71 MB/s 3148 B/op 32 allocs/op ok net/http 12.180s R=golang-dev, bradfitz, minux.ma, haimuiba CC=golang-dev https://golang.org/cl/7313048
-
Péter Surányi authored
On POSIX, '=' in key is explicitly invalid, and '\x00' in key/value is implicitly invalid. R=golang-dev, iant, bradfitz CC=golang-dev https://golang.org/cl/7311061
-
Kamil Kisiel authored
R=golang-dev, adg, bradfitz CC=golang-dev https://golang.org/cl/7314046
-
Alan Donovan authored
syscall.{Kill,Write} are not portable to MS Windows, so we disable them for now. R=iant, rsc CC=golang-dev https://golang.org/cl/7312066
-
Alan Donovan authored
R=gri, iant CC=golang-dev https://golang.org/cl/7226065
-
Dmitriy Vyukov authored
With the new scheduler races in the tests are reported during execution of other tests. The change joins goroutines started during the tests. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/7310066
-
Dmitriy Vyukov authored
The problem happens when end=0, then end-1 is very big number. Observed with the new scheduler. R=golang-dev, iant CC=golang-dev https://golang.org/cl/7307073
-
Mikio Hara authored
R=golang-dev, dave, bradfitz CC=golang-dev https://golang.org/cl/7300065
-
Mikio Hara authored
R=golang-dev, dave CC=golang-dev https://golang.org/cl/7299067
-
Rémy Oudompheng authored
See issue 887 for the 8g analogue. R=golang-dev, minux.ma CC=golang-dev https://golang.org/cl/7306069
-
Shenghou Ma authored
R=dave, rsc CC=golang-dev https://golang.org/cl/7299055
-
Jeremy Schlatter authored
R=golang-dev, dave, minux.ma, bradfitz, rsc CC=golang-dev https://golang.org/cl/7312055
-
Brad Fitzpatrick authored
R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/7307070
-
Russ Cox authored
Depends on https://golang.org/cl/7308067 R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/7312064
-
Russ Cox authored
It might be non-blocking, but it also might be blocking. Cannot take the chance, as Accept might block indefinitely and make it impossible to acquire ForkLock exclusively (during fork+exec). Fixes #4737. R=golang-dev, dave, iant, mikioh.mikioh CC=golang-dev https://golang.org/cl/7309050
-
David Symonds authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/7309061
-
Brad Fitzpatrick authored
Before and after: BenchmarkTrimSpace 20000000 81.3 ns/op BenchmarkTrimSpace 50000000 58.0 ns/op (most whitespace trimming is ASCII whitespace) Same optimization appeared a handful of other places in this file, but not here. R=golang-dev, dave CC=golang-dev https://golang.org/cl/7305063
-
- 07 Feb, 2013 6 commits
-
-
Russ Cox authored
Fixes #887. R=ken2 CC=golang-dev https://golang.org/cl/7303061
-
Ian Lance Taylor authored
R=golang-dev, minux.ma, agl CC=golang-dev https://golang.org/cl/7305059
-
Ian Lance Taylor authored
R=golang-dev, minux.ma CC=golang-dev https://golang.org/cl/7308060
-
Péter Surányi authored
R=golang-dev, dave, bradfitz CC=golang-dev https://golang.org/cl/7305053
-
Shenghou Ma authored
On 800MHz Cortex-A8: benchmark old ns/op new ns/op delta BenchmarkRC4_128 9395 2838 -69.79% BenchmarkRC4_1K 74497 22120 -70.31% BenchmarkRC4_8K 587243 171435 -70.81% benchmark old MB/s new MB/s speedup BenchmarkRC4_128 13.62 45.09 3.31x BenchmarkRC4_1K 13.75 46.29 3.37x BenchmarkRC4_8K 13.79 47.22 3.42x Result for "OpenSSL 1.0.1c 10 May 2012" from Debian/armhf sid: type 16 bytes 64 bytes 256 bytes 1024 bytes 8192 bytes rc4 39553.81k 46522.39k 49336.11k 50085.63k 50258.06k R=golang-dev, agl, dave CC=golang-dev https://golang.org/cl/7310051
-
Ian Lance Taylor authored
This is necessary for systems that use select as the pollster, such as Solaris (supported by gccgo). It corresponds to the bool returned by AddFD. In general it's not clearly defined what happens when a descriptor used in a select is closed, and different systems behave differently. Waking up the select will cause the right thing to happen: the closed descriptor will be dropped from the next iteration. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/7303056
-
- 06 Feb, 2013 6 commits
-
-
Gaal Yahas authored
deferred block. This makes hangs in the waiting code less likely if a goroutine exits abnormally. R=golang-dev, minux.ma CC=golang-dev https://golang.org/cl/7306052
-
Ian Lance Taylor authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/7311053
-
Albert Strasheim authored
R=rsc, iant, mikioh.mikioh CC=golang-dev https://golang.org/cl/7300047
-
Volker Dobler authored
This CL is the first of a handful of CLs which will provide the implementation of cookiejar. It contains several helper functions and the skeleton of Cookies and SetCookies. Proper host name handling requires the ToASCII transformation from package idna which currently lives in the go.net subrepo. This CL thus contains just a TODO for this issue. R=nigeltao, rsc, bradfitz CC=golang-dev https://golang.org/cl/7287046
-
Shenghou Ma authored
R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/7304053
-
Dmitriy Vyukov authored
Removes limit on maximum number of goroutines ever existed. code.google.com/p/goexecutor tests now pass successfully. Also slightly improves performance. Before: $ time ./flate.test -test.short real 0m9.314s After: $ time ./flate.test -test.short real 0m8.958s Fixes #4286. The runtime is built from llvm rev 174312. R=rsc CC=golang-dev https://golang.org/cl/7218044
-
- 05 Feb, 2013 3 commits
-
-
Jeff R. Allen authored
Implements deferred connections + single-attempt automatic retry. Based on CL 5078042 from kuroneko. Fixes #2264. R=mikioh.mikioh, rsc, bradfitz CC=golang-dev https://golang.org/cl/6782140
-
Shenghou Ma authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/7289047
-
Shenghou Ma authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/7311044
-