Commit Graph

548 Commits

Author SHA1 Message Date
yangzhouhan a747bc19d9 fix a typo 2015-07-27 14:50:10 -07:00
yangzhouhan 6c8ca3d564 minor change 2015-07-27 14:36:42 -07:00
yangzhouhan 845510e440 add server side tracing 2015-07-27 14:33:17 -07:00
Qi Zhao d4a3879538 Merge pull request #258 from iamqizhao/master
revise contributing.md
2015-07-24 18:23:05 -07:00
iamqizhao 8856beda49 revise contributing.md 2015-07-24 18:16:06 -07:00
Qi Zhao 33cdf51783 Merge pull request #257 from iamqizhao/master
Invert User-Agent order so application-provided string comes first
2015-07-24 18:14:19 -07:00
iamqizhao 7ee8af59ef rename var 2015-07-24 17:38:26 -07:00
iamqizhao 67cc94f56a Merge branch 'master' of https://github.com/grpc/grpc-go 2015-07-24 17:32:21 -07:00
Qi Zhao 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
iamqizhao a95e7d874d allow space-delimited application-provided user agent 2015-07-24 17:29:42 -07:00
iamqizhao b17c171fb3 Merge branch 'master' of https://github.com/grpc/grpc-go 2015-07-24 17:15:56 -07:00
iamqizhao 20034b3877 Invert User-Agent order so application-provided string comes first 2015-07-24 17:14:26 -07:00
Qi Zhao 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
yangzhouhan e79ac3cb4b remove duplicate nil check separate var 2015-07-24 16:36:12 -07:00
Andrew Pritchard 34745e1d39 Treat missing trailers as an internal error rather than success. 2015-07-24 15:47:35 -07:00
yangzhouhan be4cb2a81a relocate response log 2015-07-24 15:39:25 -07:00
Qi Zhao 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
iamqizhao 9fc076dd02 fix a flaky end2end test due to PR#248 2015-07-24 14:31:04 -07:00
yangzhouhan 3b4ecfaa42 Merge branch 'master' of https://github.com/grpc/grpc-go 2015-07-24 13:49:10 -07:00
Qi Zhao 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
iamqizhao c33d1609af refactor a bit 2015-07-24 11:39:27 -07:00
yangzhouhan 6cfd2022af add a bool in payload struct 2015-07-24 11:30:14 -07:00
iamqizhao 8969f785eb fix a comment 2015-07-24 11:29:32 -07:00
iamqizhao 23c960bc01 gofmt -w 2015-07-24 11:26:21 -07:00
iamqizhao 611d960757 support user-agent and allow users attach their own application user agent string 2015-07-24 11:19:08 -07:00
Andrew Pritchard 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
iamqizhao d0141d6577 Merge branch 'master' of https://github.com/grpc/grpc-go 2015-07-23 18:52:14 -07:00
yangzhouhan bd20726bd8 add client streaming response trace 2015-07-23 18:14:52 -07:00
Qi Zhao ac12310e15 Merge pull request #249 from yangzhouhan/master
update the HealthCheck service and corresponding end2end tests
2015-07-23 18:10:28 -07:00
yangzhouhan b022c50ebe modify something 2015-07-23 18:06:59 -07:00
yangzhouhan e6a0e51ad1 modify the status map type 2015-07-23 18:01:20 -07:00
yangzhouhan a09d93d316 fix fatal message 2015-07-23 17:47:32 -07:00
yangzhouhan 89139c920f format 2015-07-23 17:41:57 -07:00
yangzhouhan cdea3603c3 add space 2015-07-23 17:40:49 -07:00
yangzhouhan 8e88badc72 modify the fatal message 2015-07-23 17:35:44 -07:00
yangzhouhan a5348d9bde change error information 2015-07-23 17:14:27 -07:00
yangzhouhan e9dfeb65b7 fix indent 2015-07-23 16:52:40 -07:00
yangzhouhan ec53eba4e7 add derfer to unlock 2015-07-23 16:10:35 -07:00
yangzhouhan 9d4ac0cac5 fix mutex problems and merge multiple servingstatus to one single test 2015-07-23 14:45:27 -07:00
yangzhouhan ee67f58505 fix the indent 2015-07-23 11:01:18 -07:00
yangzhouhan 0252e09f21 add response trace log for client streaming 2015-07-23 10:55:42 -07:00
iamqizhao e734956e37 Merge branch 'master' of https://github.com/grpc/grpc-go 2015-07-22 19:24:59 -07:00
iamqizhao e1fea116b7 revert 2015-07-22 19:24:44 -07:00
Qi Zhao d286668e51 Merge pull request #237 from tamird/add-separate-oauth
Add credentials/oauth
2015-07-22 19:05:35 -07:00
iamqizhao 3104ff998c to be deleted 2015-07-22 18:49:19 -07:00
Tamir Duberstein c1454617ee Add credentials/oauth 2015-07-22 20:54:35 -04:00
yangzhouhan dc36cdbfdd add mutex and create newHealthServer Function 2015-07-22 16:26:16 -07:00
yangzhouhan 901c3e574c remove redundent space 2015-07-22 16:06:15 -07:00
yangzhouhan 34f97a03ae minor changes 2015-07-22 16:04:53 -07:00
Qi Zhao 20f56be9d9 Merge pull request #250 from iamqizhao/master
delete a redundant comment
2015-07-22 11:07:12 -07:00