Commit Graph

849 Commits

Author SHA1 Message Date
iamqizhao 00c7deef34 show deadline on server side trace 2015-10-01 18:07:38 -07:00
iamqizhao 2bd5f5b1e1 show RemoteAddr in server trace 2015-10-01 17:43:05 -07:00
iamqizhao a15e3b9562 decodeFunc -> dec 2015-10-01 16:26:00 -07:00
iamqizhao 1d81cf4f22 fix all the generated code 2015-10-01 14:35:07 -07:00
iamqizhao a71db53441 remove slice param 2015-09-29 20:10:20 -07:00
iamqizhao a27bb5b14a remove dead code 2015-09-29 19:08:55 -07:00
iamqizhao ef43a528c1 example generated code 2015-09-29 19:07:43 -07:00
iamqizhao ce2ef8c969 Enable payload tracing for unary rpc 2015-09-29 19:05:13 -07:00
Qi Zhao f3de7c238c Merge pull request #369 from iamqizhao/master
refactor the interaction between ClientConn and Picker
2015-09-29 10:32:02 -07:00
iamqizhao c01ea6e359 revise Picker API 2015-09-29 10:24:03 -07:00
Qi Zhao e07e93b00e Merge pull request #358 from Sajmani/work
grpc: make trace.FromContext work, and record handler status in traces
2015-09-28 23:29:59 -07:00
Qi Zhao 2ca13251f7 Merge pull request #367 from iamqizhao/master
add missing license
2015-09-28 13:38:07 -07:00
iamqizhao 6fa4aea17e add missing license 2015-09-28 13:33:15 -07:00
Qi Zhao e5b297d8bd Merge pull request #366 from iamqizhao/master
revise naming API
2015-09-28 13:32:10 -07:00
iamqizhao bc3c9fde77 add license 2015-09-28 13:26:25 -07:00
iamqizhao 8b2dce3164 revise naming API 2015-09-28 13:16:26 -07:00
Sameer Ajmani 86db82df28 add TODO to fix trace 2015-09-28 10:22:26 -04:00
Qi Zhao f310663590 Merge pull request #365 from iamqizhao/master
golang->go
2015-09-25 17:27:42 -07:00
iamqizhao d9d230278e golang->go 2015-09-25 17:17:35 -07:00
Qi Zhao fb28ea7ae0 Merge pull request #364 from iamqizhao/master
document the no-deps design constraints
2015-09-25 16:15:25 -07:00
iamqizhao 6a445c544a document the no-deps design constraints 2015-09-25 16:10:16 -07:00
Qi Zhao dbe1c138bc Merge pull request #360 from iamqizhao/master
Introduce Picker API
2015-09-25 15:59:46 -07:00
Qi Zhao 3f53b3e22c Merge pull request #362 from iamqizhao/coverall
add test coverage badge
2015-09-25 14:00:07 -07:00
iamqizhao 858cedcff2 add test coverage badge 2015-09-25 13:54:54 -07:00
iamqizhao 2899844430 fix a typo 2015-09-25 13:38:17 -07:00
iamqizhao 23fea5c44a comments 2015-09-25 13:32:35 -07:00
iamqizhao ec99a32572 redesign the API 2015-09-25 13:21:25 -07:00
iamqizhao 2aa9899560 Merge branch 'master' of https://github.com/grpc/grpc-go 2015-09-25 10:23:18 -07:00
Qi Zhao 9b7fa285bf Merge pull request #361 from iamqizhao/fix
bug fix: do not access RemoteAddr on nil net.Conn
2015-09-24 18:48:35 -07:00
iamqizhao d39eb0802f bug fix: do not access RemoteAddr on nil net.Conn 2015-09-24 18:44:03 -07:00
iamqizhao efb129eb20 bug fix: do not access RemoteAddr on nil net.Conn 2015-09-24 18:41:56 -07:00
iamqizhao 60c363f984 bug fix: do not access RemoteAddr on nil net.Conn 2015-09-24 18:39:38 -07:00
iamqizhao 1d1e4bf24d revert README.md 2015-09-24 17:03:21 -07:00
iamqizhao c956ccf146 add test coverage 2015-09-24 16:58:50 -07:00
iamqizhao 163be167c0 Merge branch 'master' of https://github.com/grpc/grpc-go 2015-09-24 10:47:50 -07:00
Qi Zhao 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
iamqizhao ffbdf88f0f add more comments 2015-09-24 10:36:56 -07:00
David Symonds 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
Sameer Ajmani 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
iamqizhao 9afcd0c697 preliminary refactoring for custom naming and load balancing 2015-09-23 19:09:37 -07:00
Sameer Ajmani 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
Qi Zhao 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
Qi Zhao b5617872aa Merge pull request #357 from Sajmani/work
grpc: add event logging to ClientConn and Server
2015-09-23 12:55:43 -07:00
Sameer Ajmani 980b4c6d05 grpc: restore changes after sync
Change-Id: I97f0c77f95086301202d0fe4ca477ae6e22dd0b5
2015-09-23 15:18:41 -04:00
luan-cestari 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
Qi Zhao b5f8a855c8 Merge pull request #355 from iamqizhao/master
a bit clean up
2015-09-22 19:11:10 -07:00
iamqizhao e6b603d375 a bit clean up 2015-09-22 19:01:33 -07:00
Qi Zhao de3c0d2fde Merge pull request #354 from iamqizhao/master
rename Desc to ErrorDesc
2015-09-22 17:07:29 -07:00
iamqizhao 35df01a371 rename Desc to ErrorDesc 2015-09-22 17:00:48 -07:00
Qi Zhao 4d81fd301b Merge pull request #353 from iamqizhao/master
add accessor for the error desc of rpcError
2015-09-22 16:47:09 -07:00