966 Commits

Author SHA1 Message Date
3b4ecfaa42 Merge branch 'master' of https://github.com/grpc/grpc-go 2015-07-24 13:49:10 -07:00
c8555c5a9c Merge pull request #255 from iamqizhao/master
support user-agent and allow users attach their own
2015-07-24 13:37:05 -07:00
c33d1609af refactor a bit 2015-07-24 11:39:27 -07:00
6cfd2022af add a bool in payload struct 2015-07-24 11:30:14 -07:00
8969f785eb fix a comment 2015-07-24 11:29:32 -07:00
23c960bc01 gofmt -w 2015-07-24 11:26:21 -07:00
611d960757 support user-agent and allow users attach their own application user agent string 2015-07-24 11:19:08 -07:00
6246152236 Honor END_STREAM flags in HTTP/2 Data frames.
Without this, "broken deployments" that do not send trailers after their
response will cause Go clients to hang indefinitely (until a client-side
timeout or server-side slowloris protection kills the connection).

See the diagram at https://httpwg.github.io/specs/rfc7540.html#StreamStates and
the Data frame specification at https://httpwg.github.io/specs/rfc7540.html#DATA
for the relevant HTTP/2 specification.  See
https://github.com/grpc/grpc-common/blob/master/PROTOCOL-HTTP2.md#responses
for the specification that clients must be prepared for servers to omit
the trailers.
2015-07-24 07:39:22 -07:00
d0141d6577 Merge branch 'master' of https://github.com/grpc/grpc-go 2015-07-23 18:52:14 -07:00
bd20726bd8 add client streaming response trace 2015-07-23 18:14:52 -07:00
ac12310e15 Merge pull request #249 from yangzhouhan/master
update the HealthCheck service and corresponding end2end tests
2015-07-23 18:10:28 -07:00
b022c50ebe modify something 2015-07-23 18:06:59 -07:00
e6a0e51ad1 modify the status map type 2015-07-23 18:01:20 -07:00
a09d93d316 fix fatal message 2015-07-23 17:47:32 -07:00
89139c920f format 2015-07-23 17:41:57 -07:00
cdea3603c3 add space 2015-07-23 17:40:49 -07:00
8e88badc72 modify the fatal message 2015-07-23 17:35:44 -07:00
a5348d9bde change error information 2015-07-23 17:14:27 -07:00
e9dfeb65b7 fix indent 2015-07-23 16:52:40 -07:00
ec53eba4e7 add derfer to unlock 2015-07-23 16:10:35 -07:00
9d4ac0cac5 fix mutex problems and merge multiple servingstatus to one single test 2015-07-23 14:45:27 -07:00
ee67f58505 fix the indent 2015-07-23 11:01:18 -07:00
0252e09f21 add response trace log for client streaming 2015-07-23 10:55:42 -07:00
e734956e37 Merge branch 'master' of https://github.com/grpc/grpc-go 2015-07-22 19:24:59 -07:00
e1fea116b7 revert 2015-07-22 19:24:44 -07:00
aeca1aff71 Remove OAuth support from credentials
Fixes #219.
2015-07-22 22:14:33 -04:00
d286668e51 Merge pull request #237 from tamird/add-separate-oauth
Add credentials/oauth
2015-07-22 19:05:35 -07:00
3104ff998c to be deleted 2015-07-22 18:49:19 -07:00
c1454617ee Add credentials/oauth 2015-07-22 20:54:35 -04:00
dc36cdbfdd add mutex and create newHealthServer Function 2015-07-22 16:26:16 -07:00
901c3e574c remove redundent space 2015-07-22 16:06:15 -07:00
34f97a03ae minor changes 2015-07-22 16:04:53 -07:00
20f56be9d9 Merge pull request #250 from iamqizhao/master
delete a redundant comment
2015-07-22 11:07:12 -07:00
9fc38a07fe delete a redundant comment 2015-07-22 10:59:16 -07:00
2fdea48f1f remove the old health.proto file and health.pb.go 2015-07-22 10:46:58 -07:00
58e5eda3f4 update health check service and corresponding end2end test 2015-07-22 10:32:39 -07:00
92250633d3 Merge pull request #248 from iamqizhao/master
ack settings frame before applying the settings.
2015-07-21 18:17:15 -07:00
0a97c5211e rename settings to ss 2015-07-21 18:02:14 -07:00
0e0cf2c228 gofmt -w 2015-07-21 17:53:59 -07:00
c6086a0129 Merge branch 'master' of https://github.com/grpc/grpc-go 2015-07-21 17:51:03 -07:00
57c62fd0e0 ack settings frame before applying the settings. 2015-07-21 17:39:50 -07:00
a2798ea78b Merge pull request #235 from dsymonds/master
Include client streaming payloads in trace, and centralise trace termination logic.
2015-07-20 18:06:17 -07:00
7c8ee356b1 Include client streaming payloads in trace, and centralise trace termination logic. 2015-07-21 09:09:35 +10:00
91c8b79535 Merge pull request #234 from dsymonds/patch-3
Use full method for trace construction.
2015-06-24 15:42:46 -07:00
45adaf93e8 Merge pull request #232 from dsymonds/patch-1
Update codegen.sh
2015-06-24 15:42:02 -07:00
929ca08f6a Merge pull request #233 from dsymonds/patch-2
Remove unnecessary import rename of the proto support package.
2015-06-24 15:41:25 -07:00
671cc291d1 Use full method for trace construction.
The methodFamily func already chops up the string, and the title should be the full method string too.

This now matches the non-streaming client trace.
2015-06-24 13:22:00 +10:00
e4a76146b2 Remove unnecessary import rename of the proto support package. 2015-06-24 11:36:31 +10:00
cd5e74ac40 Update codegen.sh
$GOPATH/src is most likely to be the right place to run it, since it'll result in import paths that match Go import paths.
2015-06-24 11:34:49 +10:00
389d18d972 Merge pull request #229 from yangzhouhan/master
add tracing for streaming rpc
2015-06-18 18:44:31 -07:00