"README.rst" did not exist on "a5a37e8bcb8f1161dba4a77022786b24f35e0119"
- 03 Feb, 2013 1 commit
-
-
Kyle Lemons authored
This CL also replaces similar loops in other stdlib package tests with calls to AllocsPerRun. Fixes #4461. R=minux.ma, rsc CC=golang-dev https://golang.org/cl/7002055
-
- 30 Nov, 2012 1 commit
-
-
Shenghou Ma authored
also fix an annoying test that relies on $GOROOT be set. Fixes #3690. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/6844086
-
- 06 Nov, 2012 1 commit
-
-
Shenghou Ma authored
Fixes #4325. R=golang-dev, r CC=golang-dev https://golang.org/cl/6819081
-
- 30 Oct, 2012 1 commit
-
-
Alex Brainman authored
It is common to close network connection while another goroutine is blocked reading on another goroutine. This sequence corresponds to windows calls to WSARecv to start io, followed by GetQueuedCompletionStatus that blocks until io completes, and, finally, closesocket called from another thread. We were expecting that closesocket would unblock GetQueuedCompletionStatus, and it does, but not always (http://code.google.com/p/go/issues/detail?id=4170#c5). Also that sequence results in connection is being reset. This CL inserts CancelIo between GetQueuedCompletionStatus and closesocket, and waits for both WSARecv and GetQueuedCompletionStatus to complete before proceeding to closesocket. This seems to fix both connection resets and issue 4170. It also makes windows code behave similar to unix version. Unfortunately, CancelIo needs to be called on the same thread as WSARecv. So we have to employ strategy we use for connections with deadlines to every connection now. It means, there are 2 unavoidable thread switches for every io. Some newer versions of windows have new CancelIoEx api that doesn't have these drawbacks, and this CL uses this capability when available. As time goes by, we should have less of CancelIo and more of CancelIoEx systems. Computers with CancelIoEx are also not affected by issue 4195 anymore. Fixes #3710 Fixes #3746 Fixes #4170 Partial fix for issue 4195 R=golang-dev, mikioh.mikioh, bradfitz, rsc CC=golang-dev https://golang.org/cl/6604072
-
- 17 Feb, 2012 1 commit
-
-
Dmitriy Vyukov authored
The panic happens if -benchtime flag is specified: go test -bench=EndToEndAsyncHTTP -benchtime=120 R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5677075
-
- 06 Feb, 2012 1 commit
-
-
Rémy Oudompheng authored
Unexports runtime.MemStats and rename MemStatsType to MemStats. The new accessor requires passing a pointer to a user-allocated MemStats structure. Fixes #2572. R=bradfitz, rsc, bradfitz, gustavo CC=golang-dev, remy https://golang.org/cl/5616072
-
- 26 Jan, 2012 2 commits
-
-
Dmitriy Vyukov authored
Fixes #2781. R=golang-dev, rsc CC=golang-dev, mpimenov https://golang.org/cl/5577053
-
Dmitriy Vyukov authored
Fixes #2752. R=golang-dev, mpimenov, r CC=golang-dev https://golang.org/cl/5571062
-
- 23 Dec, 2011 1 commit
-
-
Robert Hencke authored
R=golang-dev, mikioh.mikioh CC=golang-dev https://golang.org/cl/5498066
-
- 20 Dec, 2011 1 commit
-
-
Rob Pike authored
Lots of panics go away. Also fix a name error in html/template. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5498045
-
- 12 Dec, 2011 1 commit
-
-
David Symonds authored
R=adg, r, rsc CC=golang-dev https://golang.org/cl/5475069
-
- 08 Nov, 2011 1 commit
-
-
Rob Pike authored
R=rsc CC=golang-dev https://golang.org/cl/5345045
-
- 03 Nov, 2011 1 commit
-
-
Rob Pike authored
This is Go 1 package renaming CL #3. This one merely moves the source; the import strings will be changed after the next weekly release. This one moves pieces into net. http -> net/http http/cgi -> net/http/cgi http/fcgi -> net/http/fcgi http/pprof -> net/http/pprof http/httptest -> net/http/httptest mail -> net/mail rpc -> net/rpc rpc/jsonrpc -> net/rpc/jsonrpc smtp -> net/smtp url -> net/url Also remove rand (now math/rand) from NOTEST - it has a test. The only edits are in Makefiles and deps.bash. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5335048
-
- 02 Nov, 2011 1 commit
-
-
Russ Cox authored
R=golang-dev, bsiegert, iant CC=golang-dev https://golang.org/cl/5294074
-
- 01 Nov, 2011 1 commit
-
-
Russ Cox authored
Fixes #1828. Fixes #2179. R=golang-dev, r CC=golang-dev https://golang.org/cl/5305084
-
- 18 Oct, 2011 1 commit
-
-
Rob Pike authored
The mechanism to record the error in the call is already in place. Fixes #2382. R=golang-dev, dsymonds, bradfitz, r CC=golang-dev https://golang.org/cl/5307043
-
- 31 Aug, 2011 1 commit
-
-
Dmitriy Vyukov authored
Also makes sync benchmark concurrent. R=r, rsc CC=golang-dev https://golang.org/cl/4911043
-
- 15 Aug, 2011 1 commit
-
-
Sugu Sougoumarane authored
This is useful for applications that want to micromanage the rpc service. Moved part of ServeCodec into a new readRequest function. Renamed existing readRequest to readRequestHeader, and reordered its parameters to align with the new readRequest and service.call. R=golang-dev, r, rsc, sougou CC=golang-dev, msolomon https://golang.org/cl/4889043
-
- 28 Jul, 2011 1 commit
-
-
Rob Pike authored
Fix code to count mallocs - needed to call UpdateMemStats. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/4823055
-
- 22 Jun, 2011 1 commit
-
-
Robert Griesemer authored
This is a core API change. 1) gofix misc src 2) Manual adjustments to the following files under src/pkg: gob/decode.go rpc/client.go os/error.go io/io.go bufio/bufio.go http/request.go websocket/client.go as well as: src/cmd/gofix/testdata/*.go.in (reverted) test/fixedbugs/bug243.go 3) Implemented gofix patch (oserrorstring.go) and test case (oserrorstring_test.go) Compiles and runs all tests. R=r, rsc, gri CC=golang-dev https://golang.org/cl/4607052
-
- 26 Apr, 2011 2 commits
-
-
Rob Pike authored
R=bradfitzgo CC=golang-dev https://golang.org/cl/4442085
-
Rob Pike authored
Can make the API nicer in some cases. R=rsc, rog, r2 CC=golang-dev https://golang.org/cl/4428064
-
- 21 Mar, 2011 1 commit
-
-
Gustavo Niemeyer authored
These timeouts are breaking tests in very slow systems every once in a while. I've noticed problems when compiling the Ubuntu packages for arm, specifically. R=golang-dev, adg CC=golang-dev https://golang.org/cl/4291058
-
- 16 Mar, 2011 1 commit
-
-
Rob Pike authored
These allow a test to generate memory profiles automatically. R=golang-dev, rsc1 CC=golang-dev https://golang.org/cl/4273064
-
- 15 Mar, 2011 2 commits
-
-
Rob Pike authored
R=rsc, dsymonds CC=golang-dev https://golang.org/cl/4290047
-
Rob Pike authored
On my mac: mallocs per rpc round trip: 144 rpc.BenchmarkEndToEnd 10000 228244 ns/op Room for improvement. R=rsc CC=golang-dev https://golang.org/cl/4274058
-
- 07 Mar, 2011 1 commit
-
-
Robert Hencke authored
R=golang-dev, rsc1, rsc CC=golang-dev https://golang.org/cl/4253060
-
- 09 Feb, 2011 1 commit
-
-
Roger Peppe authored
Add Error type to enable clients to distinguish between local and remote errors. Also return "connection shut down error" after the first error return rather than returning the same error each time. R=r CC=golang-dev https://golang.org/cl/4080058
-
- 01 Feb, 2011 1 commit
-
-
Rob Pike authored
This aligns the naming scheme with the testing package and also lets govet work on more logging calls. R=rsc CC=golang-dev https://golang.org/cl/4001048
-
- 31 Jan, 2011 1 commit
-
-
Russ Cox authored
R=golang-dev, nigeltao, niemeyer, r CC=golang-dev https://golang.org/cl/4079053
-
- 02 Nov, 2010 1 commit
-
-
Kai Backman authored
regularly when client connections are flaky (probably another issue). (credits to jussi@tinkercad.com for finding the issue) R=rsc, r CC=golang-dev, jussi https://golang.org/cl/2831042
-
- 28 Oct, 2010 1 commit
-
-
Andrew Gerrand authored
R=r, rsc, msolo, sougou CC=golang-dev https://golang.org/cl/2696041
-
- 12 Oct, 2010 1 commit
-
-
Rob Pike authored
New logging interface simplifies and generalizes. 1) Loggers now have only one output. 2) log.Stdout, Stderr, Crash and friends are gone. Logging is now always to standard error by default. 3) log.Panic* replaces log.Crash*. 4) Exiting and panicking are not part of the logger's state; instead the functions Exit* and Panic* simply call Exit or panic after printing. 5) There is now one 'standard logger'. Instead of calling Stderr, use Print etc. There are now triples, by analogy with fmt: Print, Println, Printf What was log.Stderr is now best represented by log.Println, since there are now separate Print and Println functions (and methods). 6) New functions SetOutput, SetFlags, and SetPrefix allow global editing of the standard logger's properties. This is new functionality. For instance, one can call log.SetFlags(log.Lshortfile|log.Ltime|log.Lmicroseconds) to get all logging output to show file name, line number, and time stamp. In short, for most purposes log.Stderr -> log.Println or log.Print log.Stderrf -> log.Printf log.Crash -> log.Panicln or log.Panic log.Crashf -> log.Panicf log.Exit -> log.Exitln or log.Exit log.Exitf -> log.Exitf (no change) This has a slight breakage: since loggers now write only to one output, existing calls to log.New() need to delete the second argument. Also, custom loggers with exit or panic properties will need to be reworked. All package code updated to new interface. The test has been reworked somewhat. The old interface will be removed after the new release. For now, its elements are marked 'deprecated' in their comments. Fixes #1184. R=rsc CC=golang-dev https://golang.org/cl/2419042
-
- 05 Aug, 2010 1 commit
-
-
Rob Pike authored
package once remains for now; will be deleted after next release. R=golang-dev, brainman CC=golang-dev https://golang.org/cl/1914046
-
- 28 Jun, 2010 1 commit
-
-
Rob Pike authored
R=rsc CC=golang-dev https://golang.org/cl/1722046
-
- 21 Jun, 2010 1 commit
-
-
Russ Cox authored
netchan, rpc, websocket: run test servers on 127.0.0.1, to avoid conflict with OS X firewall. TBR=r CC=golang-dev https://golang.org/cl/1689046
-
- 24 Mar, 2010 1 commit
-
-
Rob Pike authored
in the tests, println+panic. gofmt some tests too. R=rsc CC=golang-dev https://golang.org/cl/741041
-
- 15 Dec, 2009 1 commit
-
-
Robert Griesemer authored
parsing and printing to new syntax. Use -oldparser to parse the old syntax, use -oldprinter to print the old syntax. 2) Change default gofmt formatting settings to use tabs for indentation only and to use spaces for alignment. This will make the code alignment insensitive to an editor's tabwidth. Use -spaces=false to use tabs for alignment. 3) Manually changed src/exp/parser/parser_test.go so that it doesn't try to parse the parser's source files using the old syntax (they have new syntax now). 4) gofmt -w src misc test/bench 4th set of files. R=rsc CC=golang-dev https://golang.org/cl/180049
-
- 02 Dec, 2009 1 commit
-
-
Rob Pike authored
Fixes #338. R=rsc CC=golang-dev https://golang.org/cl/163083
-
- 17 Nov, 2009 1 commit
-
-
Aron Nopanen authored
Error information is carried from RPC server to client in the string 'Error' field of rpc.Response. An empty string is sent in the success case. This empty string was being returned to the caller (of Client.Call or Client.Go), resulting in a non-nil error response. This change detects an empty-string Response.Error at the client, and translates it into a nil value in Call.Error. Tests updated to check error return in success cases. R=r, rsc https://golang.org/cl/154159
-