dfawley
fc6acc5e5e
latency: Listen on localhost:0 instead of :0 in test ( #1640 )
2017-11-01 10:52:07 -07:00
dfawley
fb4b2b29e4
reduce timeout for tests to 5m (7m for testrace) ( #1635 )
2017-10-31 14:07:09 -07:00
Zhouyihai Ding
5db344a40a
Introduce new Compressor/Decompressor API ( #1428 )
2017-10-31 10:21:13 -07:00
mmukhi
246b2f7081
Fix settings ack race ( #1630 )
...
* First commit.
* fixed a bug
* mend
* remove debug residual
* Apply settings in the reader goroutine instead of writer.
* Post-review updates
* Post-review update.
2017-10-31 10:19:55 -07:00
Shual Liu
c91118c8fa
Update examples/README.md ( #1629 )
2017-10-30 10:54:07 -07:00
lyuxuan
a4ff4e29c4
Get method string from stream ( #1588 )
2017-10-26 16:03:44 -07:00
lyuxuan
fe0602d9d8
fix max msg size type issues on different arch ( #1623 )
2017-10-26 13:30:15 -07:00
Menghan Li
3cc21586ac
Deflake roundrobin TestOneServerDown, and fix test error messages ( #1622 )
2017-10-26 13:29:55 -07:00
mmukhi
0d399e6307
Remove self-imposed limit on max concurrent streams if the server doesn't impose any. ( #1624 )
...
* Remove self-imposed limit on max concurrent streams if the server allows it.
* Remove test necessitating buggy behavior.
2017-10-26 10:05:17 -07:00
mmukhi
e9a5821d35
Acquire all stream related quota and cache it locally since no more than one write can happen in parallel on stream ( #1614 )
...
* Acquire all the stream related quotas and cache them locally since only one write can happen on a stream at a time.
* Added new tests.
* Fix flake
* Post-review updates
* Post-review update
2017-10-26 10:04:36 -07:00
dfawley
b5eab4ccac
Make travis 32-bit actually work ( #1621 )
2017-10-25 15:59:19 -07:00
Fabian Holler
33ee217d11
balancer: reduce chattiness ( #1608 )
...
Remove some log messages from balancer_conn_wrappers and
balancer_v1_wrapper which seem to be indented for debugging (one of them
was even logging a pointer address).
They can produce a lot of log messages which don't add value in a normal
scenario.
2017-10-25 11:01:53 -07:00
dfawley
c5f391bd6c
Revert "cap max msg size to min(max_int, max_uint32) ( #1598 )" ( #1619 )
...
This reverts commit 5856538706 .
2017-10-25 10:31:00 -07:00
lyuxuan
5856538706
cap max msg size to min(max_int, max_uint32) ( #1598 )
2017-10-24 10:20:54 -07:00
Menghan Li
0d57c57a68
Fix parseTarget for unix socket address without scheme ( #1611 )
2017-10-23 16:34:03 -07:00
Menghan Li
b3ed81a60b
Fix connectivity state transitions when dialing ( #1596 )
2017-10-23 14:06:33 -07:00
Tom Wilkie
0c2d9db1f9
Update go_package declarations ( #1593 )
2017-10-23 13:43:21 -07:00
Menghan Li
1687ce5770
ClientHandshake should get the dialing endpoint as the authority ( #1607 )
2017-10-23 11:40:43 -07:00
dfawley
a5986a5c88
Add functions to ClientConn so it satisfies an interface for generated code ( #1599 )
2017-10-20 14:21:31 -07:00
dfawley
5c3d956e18
Re-add support for Go1.6 ( #1603 )
2017-10-20 12:05:20 -07:00
Menghan Li
94f1917696
Make passthrouth resolver the default instead of dns ( #1606 )
2017-10-20 12:03:44 -07:00
Menghan Li
de0cff50aa
Fix goroutine leak in grpclb_test ( #1595 )
2017-10-19 15:16:16 -07:00
dfawley
16075983eb
Add go report card ( #1594 )
2017-10-19 14:44:43 -07:00
lyuxuan
6f3b6ff46b
Parse ServiceConfig JSON string ( #1515 )
2017-10-19 12:09:19 -07:00
Menghan Li
a353537ff5
Register and use default balancers and resolvers ( #1551 )
2017-10-19 11:32:06 -07:00
Menghan Li
94687c3b56
fix misspell ( #1592 )
2017-10-19 09:34:07 -07:00
Shangpeng Sun
473b14250d
Serve() should not return error on Stop() or GracefulStop() ( #1485 )
...
* Serve() should not return error on Stop() or GracefulStop()
* Block Serve() until Stop() or GracefulStop() returns
2017-10-18 15:27:24 -07:00
田欧
faebfcb7bf
Remove single-entry var blocks ( #1589 )
2017-10-18 09:59:23 -07:00
dfawley
16c41925b8
update fail fast documentation to remove retry language ( #1586 )
2017-10-17 14:35:11 -07:00
dfawley
2d4b7e005a
Create versioning and release policy document ( #1583 )
2017-10-17 14:02:34 -07:00
Menghan Li
c06db1c7c5
Skip proxy_test in race mode ( #1584 )
2017-10-17 11:26:58 -07:00
dfawley
c209cdff16
transport: minor cleanups (comment and error text) ( #1576 )
2017-10-12 15:51:13 -07:00
Menghan Li
5131c1f096
Use proto3 in interop tests and end2end tests ( #1574 )
2017-10-12 14:05:19 -07:00
Menghan Li
90947a8e84
Change version to 1.8.0-dev ( #1573 )
2017-10-11 11:03:49 -07:00
Menghan Li
3f10311ccf
Make resolver Build() take a target struct ( #1567 )
2017-10-09 16:33:58 -07:00
Menghan Li
06233310cc
Revert "Temporary disable staticcheck" ( #1568 )
2017-10-06 13:17:06 -07:00
dfawley
5279edf262
Update UnknownServiceHandler comment to be clearer about interceptor behavior ( #1566 )
2017-10-05 16:17:40 -07:00
Gyu-Ho Lee
22c3f92f5f
transport: fix racey send to writes channel in WriteStatus ( #1546 )
...
Concurrent 'SendMsg' calls to stream lead to
multiple 'WriteStatus' calls, while closing
'writes' channel is not synchronized.
This patch marks 'streamDone' first before 'ht.do',
so that following 'WriteStatus' does not trigger panic
on 'writes' channel.
Signed-off-by: Gyu-Ho Lee <gyuhox@gmail.com>
2017-10-04 14:44:57 -07:00
Menghan Li
cf79c84979
fix stats test race ( #1560 )
...
* fix stats test race
* and try fix TestMapAddressEnv race
2017-10-04 14:30:12 -07:00
Menghan Li
7103997bd8
Run tests without -v ( #1562 )
2017-10-04 14:23:20 -07:00
dfawley
c8405557a4
Remove Go1.6 support ( #1492 )
2017-10-04 13:57:10 -07:00
Menghan Li
dc413bbc22
Temporary disable staticcheck ( #1561 )
2017-10-04 13:56:37 -07:00
Menghan Li
3bf110cd0c
fix TestServerCredsDispatch and stats test race ( #1554 )
2017-10-03 17:07:39 -07:00
Menghan Li
4b49faaf06
Make interop client dial blocking ( #1559 )
...
This should not be necessary once the new balancer API is done.
Currently interop clients don't use balancer. With a non-blocking dial, the first failfast RPC will fail because there's no connection available.
This is a known bug, and will be fixed by the new balancer APIs.
This is a temp fix to make interop tests pass.
2017-10-03 16:57:48 -07:00
dfawley
8230f98ef7
benchmark: add type assertion benchmarks ( #1556 )
2017-10-03 13:03:49 -07:00
lyuxuan
83acb05607
fix typo and lint ( #1553 )
2017-10-02 17:29:22 -07:00
dfawley
5a82377e69
transport: refactor of error/cancellation paths ( #1533 )
...
- The transport is now responsible for closing its own connection when an error
occurs or when the context given to it in NewClientTransport() is canceled.
- Remove client/server shutdown channels -- add cancel function to allow
self-cancellation.
- Plumb the clientConn's context into the client transport to allow for the
transport to be canceled even after it has been removed from the ac (due to
graceful close) when the ClientConn is closed.
2017-10-02 11:56:31 -07:00
Menghan Li
4bbdf230d7
New implementation of roundrobin and pickfirst ( #1506 )
2017-10-02 09:22:57 -07:00
dfawley
8443e311d3
Update format string to match type ( #1548 )
2017-09-29 10:12:01 -07:00
lyuxuan
8843b88fac
add comment to dns package ( #1545 )
2017-09-28 15:34:53 -07:00