commit | d2d9c0a73ac40b97037fce39ce8ba57d784e7000 | [log] [tgz] |
---|---|---|
author | Brad Fitzpatrick <bradfitz@golang.org> | Fri Feb 12 17:20:30 2016 +0000 |
committer | Brad Fitzpatrick <bradfitz@golang.org> | Fri Feb 12 23:24:53 2016 +0000 |
tree | 35cbef3a6ac1868f8259fec2bab86f7c5e08adeb | |
parent | 0631ecafac46db83db609486bedff561525c03e9 [diff] |
Fix flakiness of TestCancelNoIO with http.Handler-based server transport. It wasn't closing the recvBuffer body in all cases during shutdown. This change also: * adds a new test with concurrent streams doing their own serial sends. This test was part of earlier debugging, but exists now to add more test coverage around concurrency. * starts a cleanup of the end2end testing code, to be continued later. but the cleanup was necessary when writing the new test to be clean and not add more positional parameters. * documents the concurrency expectations of the ServerTransport interface, cleaning up some other nearby documentation in the process. * speeds up TestCancelNoIO to cancel some contexts once no longer needed, adding some comments about what the test is doing, adds some TODOs, and reduces some overly-long sleeps.
#gRPC-Go
The Go implementation of gRPC: A high performance, open source, general RPC framework that puts mobile and HTTP/2 first. For more information see the gRPC Quick Start guide.
To install this package, you need to install Go 1.4 or above and setup your Go workspace on your computer. The simplest way to install the library is to run:
$ go get google.golang.org/grpc
This requires Go 1.4 or above.
The grpc package should only depend on standard Go packages and a small number of exceptions. If your contribution introduces new dependencies which are NOT in the list, you need a discussion with gRPC-Go authors and consultants.
See API documentation for package and API descriptions and find examples in the examples directory.
Beta release