2491 Commits

Author SHA1 Message Date
26a9f96d22 Merge pull request #266 from iamqizhao/master
remove backoff unit test
2015-07-28 12:34:54 -07:00
c7273a81a5 remove backoff unit test 2015-07-28 12:29:37 -07:00
10fc0d0984 Merge pull request #265 from iamqizhao/master
revise reconnect backoff strategy
2015-07-28 11:41:39 -07:00
bce3d5e24b small fix 2015-07-28 11:24:31 -07:00
e35bf02914 revise reconnect backoff strategy 2015-07-28 11:12:07 -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
7555ac5659 Close the header channel if a stream is reset while waiting for headers. 2015-07-26 13:16:03 -07:00
d4a3879538 Merge pull request #258 from iamqizhao/master
revise contributing.md
2015-07-24 18:23:05 -07:00
8856beda49 revise contributing.md 2015-07-24 18:16:06 -07:00
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
7ee8af59ef rename var 2015-07-24 17:38:26 -07:00
67cc94f56a Merge branch 'master' of https://github.com/grpc/grpc-go 2015-07-24 17:32:21 -07:00
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