914 Commits

Author SHA1 Message Date
262b78b833 Merge pull request #359 from dsymonds/master
Switch from github.com/bradfitz/http2 to golang.org/x/net/http2.
2015-09-24 10:47:43 -07:00
ffbdf88f0f add more comments 2015-09-24 10:36:56 -07:00
eb3bd654cd Switch from github.com/bradfitz/http2 to golang.org/x/net/http2.
The latter is now the official HTTP2 package for Go.
2015-09-24 18:12:31 +10:00
ee98c48bb4 Incorporate dsymonds' comments.
Fix another bug: cancel the Context provided to an RPC server handler
as soon as that handler returns, so that goroutines started by that
handler can detect that the handler is done and exit. Without this
fix, goroutines started by a handler will keep running, unless the
handler itself arranges to cancel the context.
2015-09-23 22:17:37 -04:00
9afcd0c697 preliminary refactoring for custom naming and load balancing 2015-09-23 19:09:37 -07:00
b6c9c5a70f grpc: record the description of the status returned by server RPC
handlers in request traces, and mark the trace as an error if the
status is not OK.

Install the trace into the Context passed to server handlers using
trace.NewContext, so that code in the server handlers can annotate the
trace using trace.FromContext.
2015-09-23 17:07:35 -04:00
326b94b90e Merge pull request #356 from luan-cestari/patch-1
Updated the path on the last command
2015-09-23 13:21:10 -07:00
b5617872aa Merge pull request #357 from Sajmani/work
grpc: add event logging to ClientConn and Server
2015-09-23 12:55:43 -07:00
980b4c6d05 grpc: restore changes after sync
Change-Id: I97f0c77f95086301202d0fe4ca477ae6e22dd0b5
2015-09-23 15:18:41 -04:00
d0ea36f144 Updated the path on the last command
The last command seems to reflect the path used on the first public commit (which the helloworld.proto file was under  examples/helloworld/proto directory and then it was moved to examples/helloworld/helloworld/helloworld.proto)
2015-09-23 15:27:50 -03:00
b5f8a855c8 Merge pull request #355 from iamqizhao/master
a bit clean up
2015-09-22 19:11:10 -07:00
e6b603d375 a bit clean up 2015-09-22 19:01:33 -07:00
de3c0d2fde Merge pull request #354 from iamqizhao/master
rename Desc to ErrorDesc
2015-09-22 17:07:29 -07:00
35df01a371 rename Desc to ErrorDesc 2015-09-22 17:00:48 -07:00
4d81fd301b Merge pull request #353 from iamqizhao/master
add accessor for the error desc of rpcError
2015-09-22 16:47:09 -07:00
39130707bd add accessor for the error desc of rpcError 2015-09-22 16:39:14 -07:00
64295baed1 Merge pull request #352 from iamqizhao/master
remove a dead member var
2015-09-22 16:17:28 -07:00
ecf8201c7c remove a dead member var 2015-09-22 16:12:42 -07:00
dd992b3748 remove transportSeq 2015-09-21 18:17:49 -07:00
66a18cfe4f fixed broken link to helloworld.proto 2015-09-21 15:31:59 +01:00
5e5f5df2bb Merge pull request #348 from iamqizhao/master
update health check to the latest version
2015-09-17 14:42:36 -07:00
67646dc278 update health check to the latest version 2015-09-17 14:36:11 -07:00
19d866d72a Merge pull request #347 from s4uliu5/patch-1
Fix: Read() -> Recv()
2015-09-17 13:30:21 -07:00
2ebbb6b455 Fix: Read() -> Recv()
I believe, there is stream.Recv() not stream.Read(), in RecordRoute(), isn't it?
2015-09-17 22:31:54 +03:00
3255a5521c Merge pull request #343 from philips/fix-go-getting-started
Fix go getting started
2015-09-16 22:42:34 -07:00
9c0937adb5 Merge pull request #344 from philips/point-peope-at-grpc-io
documentation: various fixes
2015-09-16 22:41:41 -07:00
ec9cc670ad Merge pull request #346 from iamqizhao/master
update health.proto
2015-09-16 22:21:37 -07:00
29948ca05c update health.proto 2015-09-16 22:16:10 -07:00
dec1ab1152 README: expand the description
Provide a bit more context in the README of what this is and how to find
more information. This is necessary because many people use GitHub as a
discovery mechanism.
2015-09-16 18:25:57 -07:00
853dbe54a6 examples: link to grpc.io
Instead of linking directly to github link to the grpc.io website.
2015-09-16 18:04:08 -07:00
04e58f3820 Documentation: grpc-auth-support point at gRPC.io
Instead of linking to the gRPC docs in github link to gRPC.io
2015-09-16 18:03:32 -07:00
f0d0c4955f grpc-auth-support: move to a Documentation folder
Perhaps we should move the examples into this folder too? Clearly this
random bit of documentation doesn't belong in the root folder in any
case.
2015-09-16 18:00:53 -07:00
0f70401216 examples: README: use the new go package prefix
This doesn't work since the package now lives at google.golang.org
2015-09-16 17:45:33 -07:00
2b1d73a5f7 examples: README: remove sh tags
The markdown renderer for grpc.io doesn't know what to do with the tags
with the syntax highlighting tag like:

```
```sh
```

See http://www.grpc.io/docs/installation/go.html
2015-09-16 17:44:00 -07:00
5f818810e5 examples: README: fix trailing whitespace 2015-09-16 17:42:56 -07:00
5feca5d7a5 Merge pull request #340 from iamqizhao/master
Fix a reconnecting bug
2015-09-15 11:26:26 -07:00
804293ac57 Fix a reconnecting bug 2015-09-15 11:20:16 -07:00
0a8aef668c Merge pull request #338 from iamqizhao/master
fix readme
2015-09-14 18:11:02 -07:00
ff10453ebe fix readme 2015-09-14 18:05:38 -07:00
09b8ea3268 Merge pull request #337 from iamqizhao/master
refactor naming API and etcd-based impl
2015-09-14 18:04:15 -07:00
a102af5f83 refactor naming API and etcd-based impl 2015-09-14 17:32:52 -07:00
448ae5f6ab Merge pull request #336 from iamqizhao/master
bump gRPC-Go to beta
2015-09-14 17:28:59 -07:00
2a5ffa92d6 Merge pull request #333 from tamird/dont-log-fatal
tests: use `testing.{B,T}` or return errors instead of crashing
2015-09-14 17:28:50 -07:00
21395fb393 bump gRPC-Go to beta 2015-09-14 13:27:27 -07:00
fe58c815dd tests: use testing.{B,T} or return errors instead of crashing 2015-09-11 14:27:38 -04:00
e3df691ebc Merge pull request #328 from tamird/tls-auth-info-conn
credentials.TLSInfo: export State
2015-09-08 11:36:33 -07:00
a6fe03ae2e credentials.TLSInfo: export State 2015-09-08 14:30:17 -04:00
1a700f0ee9 Merge pull request #329 from jmhodges/patch-1
s/stated/started/ in Shutdown doc
2015-09-08 10:15:55 -07:00
804c8f1ecb Merge pull request #331 from chrjen/chrjen-patch-1
Fixed README.md in examples
2015-09-08 10:15:36 -07:00
535f5d0f45 fixed broken link to old tutorial location 2015-09-08 14:23:55 +01:00