1687ce5770
ClientHandshake should get the dialing endpoint as the authority ( #1607 )
2017-10-23 11:40:43 -07:00
a5986a5c88
Add functions to ClientConn so it satisfies an interface for generated code ( #1599 )
2017-10-20 14:21:31 -07:00
5c3d956e18
Re-add support for Go1.6 ( #1603 )
2017-10-20 12:05:20 -07:00
94f1917696
Make passthrouth resolver the default instead of dns ( #1606 )
2017-10-20 12:03:44 -07:00
de0cff50aa
Fix goroutine leak in grpclb_test ( #1595 )
2017-10-19 15:16:16 -07:00
16075983eb
Add go report card ( #1594 )
2017-10-19 14:44:43 -07:00
6f3b6ff46b
Parse ServiceConfig JSON string ( #1515 )
2017-10-19 12:09:19 -07:00
a353537ff5
Register and use default balancers and resolvers ( #1551 )
2017-10-19 11:32:06 -07:00
94687c3b56
fix misspell ( #1592 )
2017-10-19 09:34:07 -07:00
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
16c41925b8
update fail fast documentation to remove retry language ( #1586 )
2017-10-17 14:35:11 -07:00
2d4b7e005a
Create versioning and release policy document ( #1583 )
2017-10-17 14:02:34 -07:00
c06db1c7c5
Skip proxy_test in race mode ( #1584 )
2017-10-17 11:26:58 -07:00
c209cdff16
transport: minor cleanups (comment and error text) ( #1576 )
2017-10-12 15:51:13 -07:00
5131c1f096
Use proto3 in interop tests and end2end tests ( #1574 )
2017-10-12 14:05:19 -07:00
90947a8e84
Change version to 1.8.0-dev ( #1573 )
2017-10-11 11:03:49 -07:00
3f10311ccf
Make resolver Build() take a target struct ( #1567 )
2017-10-09 16:33:58 -07:00
06233310cc
Revert "Temporary disable staticcheck" ( #1568 )
2017-10-06 13:17:06 -07:00
5279edf262
Update UnknownServiceHandler comment to be clearer about interceptor behavior ( #1566 )
2017-10-05 16:17:40 -07:00
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
cf79c84979
fix stats test race ( #1560 )
...
* fix stats test race
* and try fix TestMapAddressEnv race
2017-10-04 14:30:12 -07:00
7103997bd8
Run tests without -v ( #1562 )
2017-10-04 14:23:20 -07:00
c8405557a4
Remove Go1.6 support ( #1492 )
2017-10-04 13:57:10 -07:00
dc413bbc22
Temporary disable staticcheck ( #1561 )
2017-10-04 13:56:37 -07:00
3bf110cd0c
fix TestServerCredsDispatch and stats test race ( #1554 )
2017-10-03 17:07:39 -07:00
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
8230f98ef7
benchmark: add type assertion benchmarks ( #1556 )
2017-10-03 13:03:49 -07:00
83acb05607
fix typo and lint ( #1553 )
2017-10-02 17:29:22 -07:00
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
4bbdf230d7
New implementation of roundrobin and pickfirst ( #1506 )
2017-10-02 09:22:57 -07:00
8443e311d3
Update format string to match type ( #1548 )
2017-09-29 10:12:01 -07:00
8843b88fac
add comment to dns package ( #1545 )
2017-09-28 15:34:53 -07:00
8214c28a62
Make IO Buffer size configurable. ( #1544 )
...
* Make IO Buffer size configurable.
* Fixing typo
2017-09-28 14:11:14 -07:00
6014154b60
Use the same hpack encoder on a transport and share it between RPCs. ( #1536 )
2017-09-28 13:37:13 -07:00
eaf555a871
DNS with new API ( #1513 )
...
dns resolver conforms to new resolver API
2017-09-28 10:58:51 -07:00
4e1a1ebe3a
update markdown render ( #1542 )
2017-09-28 10:12:44 -07:00
a68137c927
Revert "Added localhost to net.Listen() calls to avoid macOS firewall dialog." ( #1541 )
...
This reverts commit c67cd636f91e849f8677733bcdd60ea8c15d4aa6.
2017-09-27 00:01:17 -07:00
c67cd636f9
Added localhost to net.Listen() calls to avoid macOS firewall dialog. ( #1539 )
2017-09-26 10:19:45 -07:00
d555c82380
transport: remove some defers ( #1538 )
2017-09-25 15:21:26 -07:00
956d689a24
Use Type() method for OAuth tokens instead of accessing TokenType field. ( #1537 )
...
This covers the case where the TokenType field is empty, and thus
calling the Type() method will return "Bearer".
2017-09-25 11:38:05 -07:00
d4b75ebd4f
benchmark: add primivites benchmark for Unlocking via defer vs. inline ( #1534 )
2017-09-21 12:46:03 -07:00
1253dac14b
benchmain: format output of benchmark to a table ( #1493 )
2017-09-20 15:06:19 -07:00
59cb69e66d
Fix misspells ( #1531 )
2017-09-20 14:55:57 -07:00
8afb9cb8f3
vet.sh: set PATH to force downloaded binaries to be run ( #1529 )
2017-09-20 11:19:09 -07:00
4768575235
Fix format error on travis ( #1527 )
2017-09-20 09:30:13 -07:00
dce316936b
Move primitives benchmarks to package primitives_test ( #1522 )
2017-09-19 16:43:00 -07:00
a7dba25a82
Speed up end to end tests by removing an unnecessary sleep ( #1521 )
2017-09-18 11:48:03 -07:00
bb78878767
Change quota version to uint32 instead on uint64 ( #1517 )
2017-09-14 17:40:38 -07:00
35170916ff
Fix deadline error on grpclb streams ( #1511 )
2017-09-14 15:03:22 -07:00