219 Commits

Author SHA1 Message Date
af8888dc8d remove Compressor/DecompressorGenerator 2016-01-29 14:38:20 -08:00
9ec0eadc55 fix a nil map access bug 2016-01-28 18:51:38 -08:00
35db64de36 Tune the server accepting code 2016-01-28 15:59:36 -08:00
48d3f37c1f remove some commented code left from previous PR 2016-01-26 16:21:22 -08:00
4258b32de7 Don't create buffer if compressor is nil 2016-01-25 11:47:04 -08:00
da3bb0c9f7 Support compression 2016-01-22 18:21:41 -08:00
7aa428f5d6 Finish trace for premature error 2015-11-30 16:41:52 -08:00
63a6c4155a remove sync.WaitGroup param from ServerTransport.HandleStream 2015-10-06 16:44:30 -07:00
9db3ca85c7 gofmt -w 2015-10-05 17:52:00 -07:00
bc49d12737 refactor servier side trace again 2015-10-05 17:49:53 -07:00
2aad9ba05f server side tracing refactoring 2015-10-02 15:06:41 -07:00
d77716f7d0 Merge branch 'master' of https://github.com/grpc/grpc-go 2015-10-02 10:29:54 -07:00
ffba849039 add the missing commit in previous PR 2015-10-01 18:20:59 -07:00
d12126f864 show deadline on server side trace 2015-10-01 18:08:09 -07:00
00c7deef34 show deadline on server side trace 2015-10-01 18:07:38 -07:00
09cdff2d62 Merge branch 'master' of https://github.com/grpc/grpc-go 2015-10-01 17:55:23 -07:00
2bd5f5b1e1 show RemoteAddr in server trace 2015-10-01 17:43:05 -07:00
3833326f9f Merge branch 'master' of https://github.com/grpc/grpc-go 2015-10-01 17:25:03 -07:00
d84ff12005 trace refactoring 2015-10-01 17:24:39 -07:00
a15e3b9562 decodeFunc -> dec 2015-10-01 16:26:00 -07:00
a71db53441 remove slice param 2015-09-29 20:10:20 -07:00
a27bb5b14a remove dead code 2015-09-29 19:08:55 -07:00
ce2ef8c969 Enable payload tracing for unary rpc 2015-09-29 19:05:13 -07:00
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
86db82df28 add TODO to fix trace 2015-09-28 10:22:26 -04:00
d39eb0802f bug fix: do not access RemoteAddr on nil net.Conn 2015-09-24 18:44:03 -07:00
efb129eb20 bug fix: do not access RemoteAddr on nil net.Conn 2015-09-24 18:41:56 -07:00
60c363f984 bug fix: do not access RemoteAddr on nil net.Conn 2015-09-24 18:39:38 -07: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
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
980b4c6d05 grpc: restore changes after sync
Change-Id: I97f0c77f95086301202d0fe4ca477ae6e22dd0b5
2015-09-23 15:18:41 -04:00
125950284c separate auth info from normal metadata 2015-08-26 11:30:43 -07:00
d12ff72146 allow access of some info of client certificate 2015-08-21 15:49:53 -07:00
7c57a23f2d grpc: rename "Recv" trace family to "grpc.Recv". 2015-08-09 23:24:53 -04:00
48f64961c0 fix a bug in the PR#264 2015-07-28 20:04:28 -07:00
75cfec3f72 fix a condition bug 2015-07-28 18:26:53 -07:00
0231ff14bc remove duplicate check 2015-07-28 18:11:22 -07:00
2574b59392 change a comment 2015-07-28 17:33:42 -07:00
d90cbe84e6 fix trace set error bugs 2015-07-28 17:18:35 -07:00
3616d6be54 fix trace setError 2015-07-28 15:27:46 -07:00
82323098b5 remove the extra argu 2015-07-28 13:57:37 -07:00
a3dce46030 making trace as an error when error occurs and fix the format 2015-07-28 10:13:40 -07:00
a747bc19d9 fix a typo 2015-07-27 14:50:10 -07:00
6c8ca3d564 minor change 2015-07-27 14:36:42 -07:00
845510e440 add server side tracing 2015-07-27 14:33:17 -07:00
9738b8b68c add the sanity check back and refactor 2015-06-12 17:31:53 -07:00
7b318285c9 remove a sanity check to give more flexibility to host a service. It loses some safety though. 2015-06-12 11:23:39 -07:00
a3731d046f only 1 credentials on server 2015-05-12 18:08:36 -07:00
3617cd5ab3 revert handshaker changes 2015-05-12 17:59:20 -07:00
7c025e8694 move log package references to grpclog 2015-05-09 11:43:59 +02:00