This repository has been archived by the owner on May 12, 2021. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This updates grpc-go vendor package to v1.11.3 release, to fix server.Stop() handling so that server.Serve() does not wait blindly. Full commit list: d11072e (tag: v1.11.3) Change version to 1.11.3 d06e756 clientconn: add support for unix network in DialContext. (#1883) 452c2a7 Change version to 1.11.3-dev d89cded (tag: v1.11.2) Change version to 1.11.2 98ac976 server: add grpc.Method function for extracting method from context (#1961) 0f5fa28 Change version to 1.11.2-dev 1e2570b (tag: v1.11.1) Change version to 1.11.1 d28faca client: Fix race when using both client-side default CallOptions and per-call CallOptions (#1948) 48b7669 Change version to 1.11.1-dev afc05b9 (tag: v1.11.0) Change version to 1.11.0 f2620c3 resolver: keep full unparsed target string if scheme in parsed target is not registered (#1943) 9d2250f status: rename Status to GRPCStatus to avoid name conflicts (#1944) 2756956 status: Allow external packages to produce status-compatible errors (#1927) 0ff1b76 routeguide: reimplement distance calculation dfbefc6 service reflection can lookup enum, enum val, oneof, and field symbols (#1910) 32d9ffa Documentation: Fix broken link in rpc-errors.md (#1935) d5126f9 Correct Go 1.6 support policy (#1934) 5415d18 Add documentation and example of adding details to errors (#1915) 57640c0 Allow storing alternate transport.ServerStream implementations in context (#1904) 031ee13 Fix Test: Update the deadline since small deadlines are prone to flakes on Travis. (#1932) 2249df6 gzip: Add ability to set compression level (#1891) 8124abf credentials/alts: Remove the enable_untrusted_alts flag (#1931) b96718f metadata: Fix bug where AppendToOutgoingContext could modify another context's metadata (#1930) 738eb6b fix minor typos and remove grpc.Codec related code in TestInterceptorCanAccessCallOptions (#1929) 211a7b7 credentials/alts: Update ALTS "New" APIs (#1921) fa28bef client: export types implementing CallOptions for access by interceptors (#1902) ec9275b travis: add Go 1.10 and run vet there instead of 1.9 (#1913) 13975c0 stream: split per-attempt data from clientStream (#1900) 2c2d834 stats: add BeginTime to stats.End (#1907) 3a9e1ba Reset ping strike counter right before sending out data. (#1905) 90dca43 resolver: always fall back to default resolver when target does not follow URI scheme (#1889) 9aba044 server: Convert all non-status errors to codes.Unknown (#1881) efcc755 credentials/alts: change ALTS protos to match the golden version (#1908) 0843fd0 credentials/alts: fix infinite recursion bug [in custom error type] (#1906) 207e276 Fix test race: Atomically access minConnecTimout in testing environment. (#1897) 3ae2a61 interop: Add use_alts flag to client and server binaries (#1896) 5190b06 ALTS: Simplify "New" APIs (#1895) 7c5299d Fix flaky test: TestCloseConnectionWhenServerPrefaceNotReceived (#1870) f0a1202 examples: Replace context.Background with context.WithTimeout (#1877) a1de3b2 alts: Change ALTS proto package name (#1886) 2e7e633 Add ALTS code (#1865) 583a630 Expunge error codes that shouldn't be returned from library (#1875) 2759199 Small spelling fixes (unknow -> unknown) (#1868) 12da026 clientconn: fix a typo in GetMethodConfig documentation (#1867) dfa1834 Change version to 1.11.0-dev (#1863) 46fd263 benchmarks: add flag to benchmain to use bufconn instead of network (#1837) 3926816 addrConn: Report underlying connection error in RPC error (#1855) 445b728 Fix data race in TestServerGoAwayPendingRPC (#1862) e014063 addrConn: keep retrying even on non-temporary errors (#1856) 484b3eb transport: fix race causing flow control discrepancy when sending messages over server limit (#1859) 6c48c7f interop test: Expect io.EOF from stream.Send() (#1858) 08d6261 metadata: provide AppendToOutgoingContext interface (#1794) d50734d Add status.Convert convenience function (#1848) 365770f streams: Stop cleaning up after orphaned streams (#1854) 7646b53 transport: support stats.Handler in serverHandlerTransport (#1840) 104054a Fix connection drain error message (#1844) d09ec43 Implement unary functionality using streams (#1835) 37346e3 Revert "Add WithResolverUserOptions for custom resolver build options" (#1839) 424e3e9 Stream: do not cancel ctx created with service config timeout (#1838) f9628db Fix lint error and typo (#1843) 0bd008f stats: Fix bug causing trailers-only responses to be reported as headers (#1817) 5769e02 transport: remove unnecessary rstReceived (#1834) 0848a09 transport: remove redundant check of stream state in Write (#1833) c22018a client: send RST_STREAM on client-side errors to prevent server from blocking (#1823) 82e9f61 Use keyed fields for struct initializers (#1829) 5ba054b encoding: Introduce new method for registering and choosing codecs (#1813) 4f7a2c7 compare atomic and mutex performance in case of contention. (#1788) b71aced transport: Fix a data race when headers are received while the stream is being closed (#1814) 46bef23 Write should fail when the stream was done but context wasn't cancelled. (#1792) 10598f3 Explain target format in DialContext's documentation (#1785) 08b7bd3 gzip: add Name const to avoid typos in usage (#1804) 8b02d69 remove .please-update (#1800) 1cd2346 Documentation: update broken wire.html link in metadata package. (#1791) 6913ad5 Document that all errors from RPCs are status errors (#1782) 8a8ac82 update const order (#1770) e975017 Don't set reconnect parameters when the server has already responded. (#1779) 7aea499 credentials: return Unavailable instead of Internal for per-RPC creds errors (#1776) c998149 Avoid copying headers/trailers in unary RPCs unless requested by CallOptions (#1775) 8246210 Update version to 1.10.0-dev (#1777) 17c6e90 compare atomic and mutex performance for incrementing/storing one variable (#1757) 65c901e Fix flakey test. (#1771) 7f2472b grpclb: Remove duplicate init() (#1764) 09fc336 server: fix bug preventing Serve from exiting when Listener is closed (#1765) 035eb47 Fix TestGracefulStop flakiness (#1767) 2720857 server: fix race between GracefulStop and new incoming connections (#1745) 0547980 Notify parent ClientConn to re-resolve in grpclb (#1699) e6549e6 Add dial option to set balancer (#1697) 6610f9a Fix test: Data race while resetting global var. (#1748) f4b5237 status: add Code convenience function (#1754) 47bddd7 vet: run golint on _string files (#1749) 45088c2 examples: fix concurrent map accesses in route_guide server (#1752) 4e393e0 grpc: fix deprecation comments to conform to standard (#1691) 0b24825 Adjust keepalive paramenters in the test such that scheduling delays don't cause false failures too often. (#1730) f9390a7 fix typo (#1746) 6ef45d3 fix stats flaky test (#1740) 98b17f2 relocate check for shutdown in ac.tearDown() (#1723) 5ff10c3 fix flaky TestPickfirstOneAddressRemoval (#1731) 2625f03 bufconn: allow readers to receive data after writers close (#1739) b0e0950 After sending second goaway close conn if idle. (#1736) b8cf13e Make sure all goroutines have ended before restoring global vars. (#1732) 4742c42 client: fix race between server response and stream context cancellation (#1729) 8fba5fc In gracefull stop close server transport only after flushing status of the last stream. (#1734) d1fc8fa Deflake tests that rely on Stop() then Dial() not reconnecting (#1728) dba60db Switch balancer to grpclb when at least one address is grpclb address (#1692) ca1b23b Update CONTRIBUTING.md to CNCF CLA 2941ee1 codes: Add UnmarshalJSON support to Code type (#1720) ec61302 naming: Fix build constraints for go1.6 and go1.7 (#1718) b8191e5 remove stringer and go generate (#1715) ff1be3f Add WithResolverUserOptions for custom resolver build options (#1711) 580defa Fix grpc basics link in route_guide example (#1713) b7dc71e Optimize codes.String() method using a switch instead of a slice of indexes (#1712) 1fc873d Disable ccBalancerWrapper when it is closed (#1698) bf35f1b Refactor roundrobin to support custom picker (#1707) 4308342 Change parseTimeout to not handle non-second durations (#1706) be07790 make load balancing policy name string case-insensitive (#1708) cd563b8 protoCodec: avoid buffer allocations if proto.Marshaler/Unmarshaler (#1689) 61c6740 Add comments to ClientConn/SubConn interfaces to indicate new methods may be added (#1680) ddbb27e client: backoff before reconnecting if an HTTP2 server preface was not received (#1648) a4bf341 use the request context with net/http handler (#1696) c6b4608 transport: fix race sending RPC status that could lead to a panic (#1687) 00383af Fix misleading default resolver scheme comments (#1703) a62701e Eliminate data race in ccBalancerWrapper (#1688) 1e1a47f Re-resolve target when one connection becomes TransientFailure (#1679) 2ef021f New grpclb implementation (#1558) 10873b3 Fix panics on balancer and resolver updates (#1684) 646f701 Change version to 1.9.0-dev (#1682) Fixes: #307 Signed-off-by: Peng Tao <[email protected]>
- Loading branch information