b313fc0ad5
Revert "fix some bugs"
2016-07-30 02:06:47 -07:00
1aa8ce6467
Merge pull request #800 from menghanl/refactor_ac_new_and_teardown
...
Replace cc.newAddrConn with cc.resetAddrConn
2016-07-29 17:35:23 -07:00
cbae5b1f01
Replace cc.newAddrConn with cc.resetAddrConn
...
When goaway is received by client, a new ac should replace the old ac.
Without this change, ac is removed first and a new one is added later,
ac.tearDown() and cc.newAddrConn are two functions called consecutively,
So there's a small chance that getTransport is called in between and
misses the new ac. After this change, the value in map conns is replaced
directly, and this issue should be resolved.
2016-07-29 16:03:53 -07:00
53b060655d
Merge pull request #799 from menghanl/some_fix
...
fix some bugs
2016-07-29 12:45:19 -07:00
e8e6719e49
Add server.stop() to one transport test
2016-07-29 11:28:31 -07:00
5bf353f41b
Prioritize ctx.Done() in wait()
2016-07-29 11:28:31 -07:00
9e57a405e3
Merge pull request #791 from menghanl/all_EOF_in_write
...
io.EOF should be an expected result of Write
2016-07-29 11:20:51 -07:00
45649cd32d
Merge pull request #797 from iamqizhao/race-fix
...
refactor GracefulStop a bit
2016-07-29 11:20:30 -07:00
3f4822b67e
Merge pull request #787 from cube2222/master
...
Fixing #786
2016-07-29 11:13:17 -07:00
0f3fc4355d
refactor GracefulStop a bit
2016-07-29 10:59:24 -07:00
7967c49560
io.EOF should be an expected result of Write
2016-07-29 10:42:28 -07:00
5a547ed72c
Merge pull request #795 from tamird/graceful-deadlock
...
Fix deadlock when GracefulStop()ing multiple times
2016-07-29 10:00:30 -07:00
7c6103d142
Merge pull request #794 from smallfish/master
...
fix examples/gotutorial.md error link
2016-07-29 09:39:47 -07:00
069ed42115
Fix deadlock when GracefulStop()ing multiple times
...
Fixes #793 .
2016-07-29 12:26:26 -04:00
9102dd4691
fix gotutorial.md error link
...
fix route_guide proto link
2016-07-29 11:29:02 +08:00
f5118cfac7
Merge pull request #792 from iamqizhao/race-fix
...
fix another data race along with goaway
2016-07-28 19:56:29 -07:00
a09c6888cc
fix another data race along with goaway
2016-07-28 19:47:38 -07:00
ae7de36fbd
Merge pull request #790 from iamqizhao/race-fix
...
Fix some goaway related test flakiness
2016-07-28 19:18:16 -07:00
5876dcba5e
a minor fix
2016-07-28 18:57:53 -07:00
d4acbe9e3c
a minor fix
2016-07-28 18:42:25 -07:00
32df3a68d0
more fix
2016-07-28 18:32:51 -07:00
80572b2739
fix the streaming rpc case
2016-07-28 16:45:48 -07:00
b2f30e082e
fix some goaway related test flakiness
2016-07-28 16:32:18 -07:00
f255f72742
Merge pull request #784 from iamqizhao/race-fix
...
Fix a couple of races when goaway lives with connection shutdown.
2016-07-28 15:40:27 -07:00
f886659e0a
Merge pull request #789 from tamird/cancel-backwards-compat
...
WithDialer doesn't support cancellation
2016-07-28 15:01:24 -07:00
096e703537
WithDialer doesn't support cancellation
...
This maintains cancellation for the default dialer, but external users
will have to opt in via a future API.
2016-07-28 17:00:23 -04:00
b128e7465a
merge the conflict
2016-07-28 13:17:23 -07:00
8aabd7f28f
Merge pull request #783 from menghanl/comma_in_metadata
...
Allow comma in metadata Binary-Header value
2016-07-28 12:59:36 -07:00
38383692ba
Merge pull request #778 from tamird/golint-govet
...
*: enforce various linters
2016-07-28 11:22:02 -07:00
0ce67dbc06
Merge pull request #751 from tamird/dialer-cancel
...
cancel outgoing net.Dial when ClientConn is closed
2016-07-28 11:19:15 -07:00
cd4ca4d808
Tune transport Monitor, modify the test and add more comments
2016-07-28 11:07:42 -07:00
9b2081cd39
Handling EOF when reading frame.
2016-07-28 17:01:34 +02:00
8ab0d24ed3
Update travis config
2016-07-27 23:55:59 -04:00
ac90a026b6
*: go vet
2016-07-27 23:39:19 -04:00
220b464e81
*: golint
2016-07-27 23:38:59 -04:00
9aa8038716
*: gofmt/goimports simplify
2016-07-27 23:38:28 -04:00
1faf2ca61b
fix the race on t.state
2016-07-27 19:46:34 -07:00
711a24cde2
Merge pull request #782 from tamird/missing-log-line
...
transport: add missing log line
2016-07-27 17:51:01 -07:00
0e0265f78b
Merge pull request #772 from menghanl/percent_encoding
...
grpc-message status desc encoding fixes
2016-07-27 17:49:30 -07:00
63fcabeec5
some polish
2016-07-27 17:41:43 -07:00
110450d45e
fix races introduce by goaway
2016-07-27 17:27:10 -07:00
22c41c77e6
Change function names
2016-07-27 15:46:40 -07:00
5502cde528
Reconstruct grpc encoding tests
2016-07-27 15:46:40 -07:00
d87c63e172
Move grpcMessageDecode() to http_util
2016-07-27 15:46:40 -07:00
32d3a3587c
Change comments and test error message for grpcMessageEncode
2016-07-27 15:46:40 -07:00
fe4145af27
Allow comma in metadata Binary-Header value
2016-07-27 14:42:29 -07:00
61f3f61ef0
cancel outgoing net.Dial when ClientConn is closed
2016-07-27 17:34:40 -04:00
2342e38669
test,transport: simplify
2016-07-27 17:20:55 -04:00
2a05360aa8
transport: add missing log line
...
This error is just being swallowed currently.
2016-07-27 16:29:04 -04:00
f921887ab5
Tune some clean up code
2016-07-27 11:36:22 -07:00