425 Commits

Author SHA1 Message Date
c91396d4e1 pickfirst: do not return initial subconn while connecting (#5825)
Fixes https://github.com/grpc/grpc-go/issues/5293
2022-11-30 08:57:17 -08:00
0d6481fb85 target: replace parsedTarget.Scheme to parsedTarget.URL.Scheme (#5750) 2022-11-01 11:08:00 -07:00
9127159caf client: synchronously verify server preface in newClientTransport (#5731) 2022-10-20 09:29:17 -07:00
79ccdd8f8e clientconn: go idle if conn closed after preface received (#5714) 2022-10-18 09:01:08 -07:00
778860e606 testing: update Go to 1.19 (#5717) 2022-10-17 15:04:34 -07:00
a077b94683 Switched unlock to defer in newAddrConn (#5556) 2022-08-02 15:58:50 -04:00
13b378bc45 internal: add global DialOptions and ServerOptions for all clients and servers (#5352) 2022-06-02 16:17:01 -07:00
081c688437 client: fix hctx leakage in addrConn.createTransport (#5337) 2022-05-23 09:23:54 -07:00
30b9d59a76 client/SubConn: do not recreate addrConn if UpdateAddresses is called with the same addresses (#5373) 2022-05-20 15:17:29 -07:00
799605c228 client: fix potential panic during RPC retries (#5323) 2022-05-04 10:06:12 -07:00
0066bf69de grpc: perform graceful switching of LB policies in the ClientConn by default (#5285) 2022-04-01 13:14:35 -07:00
42cadc171d test: cleanup balancer switching tests (#5271) 2022-03-30 12:58:41 -07:00
597e5d1b1a don't apply defaultSC upon receipt of invalid service config (#5257) 2022-03-22 08:50:50 -07:00
c4cabf78f4 grpc: handle invalid service configs by applying the default if available (#5238) 2022-03-16 12:02:56 -07:00
eead9a824c grpc: delete deprecated API WithBalancerName() (#5232) 2022-03-10 13:15:11 -08:00
cf6d4d5ab7 grpc: document ClientConn fields (#5227) 2022-03-09 07:51:20 -08:00
a73725f42d channelz: include channelz identifier in logs (#5192) 2022-02-23 07:30:06 -08:00
c44f627fd1 cleanup: replace grpc.WithInsecure with insecure.NewCredentials (#5177) 2022-02-09 11:17:46 -08:00
cf8b64e2c5 internal: add log when service config is disabled (#4973) 2021-11-12 12:58:35 -08:00
82d8af8bf0 balancer: add Authority field to balancer.BuildOptions (#4969) 2021-11-11 10:59:18 -08:00
dd767416a6 grpc: implement WithInsecure() using the insecure package (#4718) 2021-11-09 15:42:07 -08:00
2a312458e6 client: don't force passthrough as default resolver (#4890) 2021-10-20 14:01:46 -07:00
aaff9e7ab9 grpc: better RFC 3986 compliant target parsing (#4817) 2021-10-14 14:54:02 -07:00
5bfc05fb0c grpc: clarify the use of transport.ErrConnClosing from createTransport() (#4757) 2021-09-13 11:50:52 -07:00
d25e31e741 client: fix case where GOAWAY would leak connections and memory (#4755) 2021-09-10 14:12:13 -07:00
7f560ef4c5 grpc: close underlying transport when subConn is closed when in connecting state (#4751) 2021-09-10 14:08:26 -07:00
8ab16ef276 balancer: add ExitIdle optional interface (#4673) 2021-08-18 15:04:35 -07:00
997ce619eb clientconn: do not automatically reconnect addrConns; go idle instead (#4613) 2021-08-10 13:22:34 -07:00
dd589923e1 clientconn: stop automatically connecting to idle subchannels returned by picker (#4579) 2021-07-02 16:21:46 -07:00
45549242f7 internal: fix deadlock during switch_balancer and NewSubConn() (#4536) 2021-06-11 13:14:09 -07:00
b1f7648a9f client: ensure LB policy is closed before closing resolver (#4478) 2021-05-21 15:15:58 -07:00
c15291b0f5 client: initialize safe config selector when creating ClientConn (#4398) 2021-05-07 15:24:10 -07:00
7276af6dd7 client: fix leaked addrConn struct when addresses are updated (#4347) 2021-04-22 10:45:24 -07:00
c229922995 client: propagate connection error causes to RPC statuses (#4311) 2021-04-13 13:06:05 -07:00
39a500abb9 support unix-abstract schema (#4079) 2020-12-22 08:56:49 -08:00
750abe8f95 resolver: allow config selector to return an RPC error (#4082) 2020-12-08 13:32:37 -08:00
b88744b832 xds: add ConfigSelector to support RouteAction timeouts (#3991) 2020-11-17 13:22:28 -08:00
90f1b3ee83 client: use "localhost:port" as authority if target is ":port" (#4017) 2020-11-12 13:52:55 -08:00
d6f8e6fbaf grpclb: send custom user-agent (#4011) 2020-11-09 14:08:58 -08:00
4be647f7f6 internal/resolver/unix: Implemented unix resolver. (#3890) 2020-10-16 11:52:54 -07:00
7464f756ae channelz: remove redundant case from AddTraceEvent and remove caps from severities (#3925)
Rename UNKNOWN and INFO severities removing caps to match that of Warning and Error severities.
Remove redundant case from AddTraceEvent switch-case.
2020-10-07 08:50:23 -07:00
d9063e7af3 standardized experimental warnings (#3917) 2020-10-02 09:11:08 -07:00
a5a36bd3f0 client: set auth header to localhost for unix target (#3730) 2020-07-21 14:07:03 -07:00
a86c873a73 cleanup: fix mention of healthcheck to health (#3731) 2020-07-09 13:09:50 -07:00
4258d12073 service config: add default method config support (#3684) 2020-07-06 17:56:02 -07:00
506b773066 Implemented component logging (#3617) 2020-06-26 12:04:47 -07:00
4eb418e5b2 balancer: move Balancer and Picker to V2; delete legacy API (#3431) 2020-04-28 14:52:49 -07:00
4c4cafbab7 internal/transport: Get rid of TargetInfo struct. (#3527) 2020-04-14 14:43:14 -07:00
b02de00073 client: option to surface connection errors to callers (#3430)
This commit allows blocking clients to receive a more informative error
message than "context deadline exceeded", which is especially helpful in
tracking down persistent client misconfiguration (such as an invalid TLS
certificate, an invalid server that's refusing connections, etc.)
2020-04-09 13:45:13 -07:00
e965f2a60b client: add a WithNoProxy dialoption (#3411) 2020-03-26 15:29:40 -07:00