1126 Commits

Author SHA1 Message Date
fe3b16a0f3 Merge pull request #251 from yangzhouhan/master
add client streaming response trace and prefix all traces with "sent:" or "recv:"
2015-07-24 17:32:16 -07:00
a95e7d874d allow space-delimited application-provided user agent 2015-07-24 17:29:42 -07:00
b17c171fb3 Merge branch 'master' of https://github.com/grpc/grpc-go 2015-07-24 17:15:56 -07:00
20034b3877 Invert User-Agent order so application-provided string comes first 2015-07-24 17:14:26 -07:00
ee185753fa Merge pull request #253 from awpr-google/honor_data_end_stream
Honor END_STREAM flags in HTTP/2 Data frames.
2015-07-24 16:40:22 -07:00
e79ac3cb4b remove duplicate nil check separate var 2015-07-24 16:36:12 -07:00
34745e1d39 Treat missing trailers as an internal error rather than success. 2015-07-24 15:47:35 -07:00
be4cb2a81a relocate response log 2015-07-24 15:39:25 -07:00
69312e79f9 Merge pull request #256 from iamqizhao/master
fix a flaky end2end test due to PR#248
2015-07-24 15:24:18 -07:00
9fc076dd02 fix a flaky end2end test due to PR#248 2015-07-24 14:31:04 -07:00
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