2183 Commits

Author SHA1 Message Date
c257e93ee2 small fix 2015-04-03 16:27:08 -07:00
62db7e596e add some comments 2015-04-03 16:05:11 -07:00
4320b5b158 support inbound flow control checking to protect against misbehaved peers 2015-04-03 15:25:00 -07:00
7650e91329 Merge pull request #146 from iamqizhao/proto
Allow custom codec when creating grpc.ClientConn and grpc.Server
2015-04-01 14:29:00 -07:00
c7b9fa27dc addressed some comments 2015-04-01 14:22:53 -07:00
bec42c09aa gofmt 2015-04-01 14:05:38 -07:00
9a5de0e954 make Codec configurable when creating grpc.ClientConn and grpc.Server 2015-04-01 14:02:26 -07:00
5f68b5963b Merge pull request #145 from iamqizhao/flow
send settingsAck when receiving a settings frame following http2 spec
2015-03-31 19:08:43 -07:00
828af96d42 send settingsAck when receiving a settings frame following http2 spec 2015-03-31 19:05:09 -07:00
035401cf33 Merge pull request #144 from iamqizhao/flow
send an empty settings frame instead of a default when there is no setting needed.
2015-03-31 18:21:43 -07:00
0e42bae0a0 send an empty settings frame instead of a default 2015-03-31 18:15:37 -07:00
29a23b348e Merge pull request #143 from iamqizhao/flow
send settings/window_update frames when the initial window size is not equal to the default.
2015-03-31 17:06:17 -07:00
bc3c662d9e modify some comments 2015-03-31 16:56:21 -07:00
4214baa3c1 gofmt 2015-03-31 16:46:41 -07:00
7987579ac3 send settings/window update frames if the initial window size is not equal to http2 default. 2015-03-31 16:41:26 -07:00
9dc9ac617c Merge pull request #142 from iamqizhao/creds
refactor the NewStream a bit
2015-03-31 11:02:54 -07:00
43a92f3fe6 small fix 2015-03-31 10:47:30 -07:00
157f9a16b0 refactor a bit 2015-03-31 10:41:12 -07:00
18fa27e440 Merge pull request #141 from iamqizhao/creds
Fix an ordering issue of creds
2015-03-30 18:27:20 -07:00
945fb3f301 address some comments 2015-03-30 18:25:29 -07:00
6bd3958840 another change 2015-03-30 18:14:56 -07:00
63de54e02b fix a bug 2015-03-30 18:00:11 -07:00
732b88e4ec update the generated code for hello world proto 2015-03-28 15:56:47 -07:00
8ce50750fe Merge pull request #140 from iamqizhao/non-proto
revert the change of flow control window size
2015-03-25 21:21:24 -07:00
310d8c389b revert the change of flow control window size 2015-03-25 21:17:14 -07:00
700108e423 Merge pull request #139 from iamqizhao/non-proto
close the ClientConn when a test case is done.
2015-03-25 18:43:39 -07:00
319a8b74a7 close the ClientConn when a test case is done. 2015-03-25 18:39:17 -07:00
d9a0c52bb9 Merge pull request #138 from iamqizhao/non-proto
add a missing unlock
2015-03-25 18:00:26 -07:00
f9c69c27a6 fix a bug 2015-03-25 17:54:50 -07:00
7d04e71591 Merge pull request #137 from iamqizhao/non-proto
add separate variables for connection window update for fine tunning the...
2015-03-25 16:39:50 -07:00
16b34adb64 add separate variables for connection window update for fine tunning the performance of flow control; set initial connection window size to 1MB which is used in Java and C also 2015-03-25 16:27:29 -07:00
af5768a49c Merge pull request #134 from maxhawkins/master
Run stringer on codes.Code
2015-03-25 15:42:38 -07:00
f8cb2ac6cf Merge pull request #136 from iamqizhao/non-proto
Interface change to accommodate the support of non-protobuf data formats
2015-03-25 15:41:37 -07:00
2d13f82261 fix a typo 2015-03-25 15:29:01 -07:00
8b08b2d7b2 Interface change to accommodate the support of non-protobuf data formats 2015-03-25 15:18:07 -07:00
0bcb969b1c Merge pull request #135 from iamqizhao/travis
switch to travis container based infra
2015-03-24 15:21:19 -07:00
5279aca249 switch to travis container based infra 2015-03-24 15:00:19 -07:00
972dbd2cb2 Run stringer on codes.Code
This makes error codes easier to read:
fmt.Sprint(codes.OK) == "OK" instead of "0"
2015-03-24 10:15:18 -07:00
9b8c7db0f9 Update gotutorial.md
Fixed broken link
2015-03-24 14:36:43 +00:00
0670e9feec Update gotutorial.md
Fixed small typo
2015-03-24 14:33:20 +00:00
fd70cd320a Merge pull request #132 from iamqizhao/err-fix
fix a malformed error status
2015-03-23 12:49:38 -07:00
591c1176bc modify a comment 2015-03-23 12:36:08 -07:00
9c6754e004 fix a malformed error status 2015-03-23 11:47:27 -07:00
03b4c620e9 Merge pull request #128 from iamqizhao/tp-test-fix
deflak a transport test
2015-03-22 14:02:24 -07:00
c71f1d16c1 deflak a transport test 2015-03-22 13:57:37 -07:00
fbd3f79d38 Merge pull request #123 from iamqizhao/master
Performance Optimization part 1
2015-03-17 17:40:13 -07:00
80ae01071c add some comments 2015-03-17 16:49:43 -07:00
902316edc6 io batching on writing path 2015-03-17 16:05:09 -07:00
2cbafce9ba Merge pull request #122 from iamqizhao/master
initial benchmark commit. Mostly ported from interop test and Google int...
2015-03-17 14:58:03 -07:00
666e0a407b initial benchmark commit. Mostly ported from interop test and Google interal rpc microbenchmarks. 2015-03-17 14:27:34 -07:00