Commit Graph

494 Commits

Author SHA1 Message Date
Zach Reyes ceb3f07190
client: Revert dialWithGlobalOption (#6012) 2023-02-08 17:02:17 -05:00
大可 d655f404da
internal/transport: fix severity of log when receiving a GOAWAY with error code ENHANCE_YOUR_CALM (#5935) 2023-02-08 16:36:09 -05:00
horpto b81e8b62c9
metadata: slightly improve operateHeaders (#6008) 2023-02-08 13:27:02 -08:00
Arvind Bright e9d9bd0436
tests: reduce the degree of stress testing in long running tests (#6003) 2023-02-08 13:03:14 -08:00
Zach Reyes f69e9ad8d4
stats/opencensus: Add OpenCensus metrics support (#5923) 2023-02-06 20:00:14 -05:00
Borja Lazaro Toralles 3151e834fa
cmd/protoc-gen-go-grpc: export consts for full method names (#5886) 2023-02-01 13:20:35 -08:00
Ronak Jain 0954097276
server: expose API to set send compressor (#5744)
Fixes https://github.com/grpc/grpc-go/issues/5792
2023-01-31 13:27:34 -08:00
Zach Reyes 6a707eb1bb
client: add an option to disable global dial options (#5990) 2023-01-27 17:06:29 -05:00
Doug Fawley 2a1e9348ff
server: after GracefulStop, ensure connections are closed when final RPC completes (#5968)
Fixes https://github.com/grpc/grpc-go/issues/5930
2023-01-25 16:28:29 -08:00
Easwar Swaminathan bf8fc46fa6
xds/resolver: cleanup tests to use real xDS client 5/n (#5955) 2023-01-24 15:09:06 -08:00
Kyle J. Burda 3930549b38
resolver: replace resolver.Target.Endpoint field with Endpoint() method (#5852)
Fixes https://github.com/grpc/grpc-go/issues/5796
2023-01-24 12:03:56 -08:00
Doug Fawley 894816c487
grpclb: rename `grpclbstate` package back to `state` (#5962)
Fixes https://github.com/grpc/grpc-go/issues/5928
2023-01-24 10:19:54 -08:00
Easwar Swaminathan bc9728f98b
xds/resolver: cleanup tests to use real xDS client 4/n (#5954) 2023-01-19 16:16:47 -08:00
Joshua Humphries 9b9b381270
server: fix a few issues where grpc server uses RST_STREAM for non-HTTP/2 errors (#5893)
Fixes https://github.com/grpc/grpc-go/issues/5892
2023-01-18 12:59:58 -08:00
Easwar Swaminathan ace808232f
xdsclient: close func refactor (#5926)
Fixes https://github.com/grpc/grpc-go/issues/5895
2023-01-18 11:32:40 -08:00
Arvind Bright 9326362a37
transport: fix maxStreamID to align with http2 spec (#5948) 2023-01-18 10:05:46 -08:00
Mikhail Mazurskiy 379a2f676c
*: add missing colon to errorf messages to improve readability (#5911) 2023-01-17 16:11:47 -08:00
Easwar Swaminathan be06d526c0
binarylog: consistently rename imports for binarylog proto (#5931) 2023-01-12 16:00:34 -08:00
Arvind Bright 6de8f50f91
transport: drain client transport when streamID approaches maxStreamID (#5889)
Fixes https://github.com/grpc/grpc-go/issues/5600
2023-01-11 12:58:00 -08:00
Theodore Salvo f2fbb0e07e
Deprecate use of `ioutil` package (#5906)
Resolves https://github.com/grpc/grpc-go/issues/5897
2023-01-03 11:20:20 -08:00
Doug Fawley 0e5421c1e5
internal/envconfig: add convenience boolFromEnv to improve readability (#5887) 2022-12-22 15:02:43 -08:00
Doug Fawley 4565dd70ae
ringhash: allow overriding max ringhash size via environment variable (#5884) 2022-12-22 08:31:38 -08:00
Easwar Swaminathan 94a65dca40
rls: deflake tests (#5877)
Fixes https://github.com/grpc/grpc-go/issues/5845
2022-12-21 15:11:59 -08:00
Arvind Bright 07ac97c355
transport: simplify httpClient by moving onGoAway func to onClose (#5885) 2022-12-21 15:44:31 -06:00
Zach Reyes 54b7d03e0f
grpc: Add join Dial Option (#5861) 2022-12-16 20:02:04 -05:00
Zach Reyes 9373e5cb26
transport: Fix closing a closed channel panic in handlePing (#5854) 2022-12-13 15:44:03 -05:00
Sean Barag 2f413c4548
transport/http2: use HTTP 400 for bad requests instead of 500 (#5804) 2022-12-13 11:31:23 -08:00
Easwar Swaminathan 5003029eb6
testutils: do a better job of verifying pick_first in tests (#5850) 2022-12-13 10:01:03 -08:00
Zach Reyes 3e27f89917
binarylog: Account for key in metadata truncation (#5851) 2022-12-09 16:58:12 -05:00
Zach Reyes a9709c3f8c
Added logs for reasons causing connection and transport close (#5840) 2022-12-08 19:44:23 -05:00
Easwar Swaminathan aba03e1ab1
xds: pass options by value to helper routines which setup the management server in tests (#5833) 2022-12-08 16:26:21 -08:00
Easwar Swaminathan ef51864f48
grpclb: improve grpclb tests (#5826)
Fixes https://github.com/grpc/grpc-go/issues/4392
2022-12-01 10:52:58 -08:00
Doug Fawley 99ba98231e
transport/server: flush GOAWAY before closing conn due to max age (#5821)
Fixes https://github.com/grpc/grpc-go/issues/4859
2022-12-01 09:02:41 -08:00
Doug Fawley 20c937eebe
transport: limit AccountCheck tests to fewer streams and iterations to avoid flakes (#5828)
Fixes https://github.com/grpc/grpc-go/issues/5283
2022-11-30 17:07:48 -08:00
Easwar Swaminathan dd123b7f86
testutils/pickfirst: move helper function to testutils (#5822) 2022-11-29 12:03:36 -08:00
Doug Fawley 3011eaf70e
test/tools: update staticcheck version to latest (#5806) 2022-11-18 13:51:43 -08:00
Doug Fawley fefb3ec0c0
test/tools: update everything to latest versions except staticcheck (#5805) 2022-11-18 11:26:37 -08:00
wby 0238b6e1ce
transport: new stream with actual server name (#5748) 2022-11-18 08:57:37 -08:00
Huang Chong 817c1e8c41
passthrough: return error if endpoint is empty and opt.Dialer is nil when building resolver (#5732) 2022-11-16 10:02:07 -08:00
littlejian 689d061d46
Cleanup usages of resolver.Target's Scheme and Authority (#5761) 2022-11-09 23:06:01 -08:00
Easwar Swaminathan 7f23df0222
xdsclient: switch xdsclient watch deadlock test to e2e style (#5697) 2022-11-04 15:13:52 -07:00
Doug Fawley e41e8940c0
orca: create ORCA producer for LB policies to use to receive OOB load reports (#5669) 2022-11-03 10:27:40 -07:00
Zach Reyes 36d14dbf66
Fix binary logging bug which logs a server header on a trailers only response (#5763) 2022-11-02 19:46:50 -04:00
Easwar Swaminathan fdcc01b8c1
transport/test: implement staticcheck suggestion (#5752) 2022-10-31 16:50:41 -07:00
Arvind Bright 3c09650e05
balancer/weightedtarget: use ConnectivityStateEvaluator (#5734) 2022-10-26 11:33:49 -07:00
Doug Fawley 9127159caf
client: synchronously verify server preface in newClientTransport (#5731) 2022-10-20 09:29:17 -07:00
Arvind Bright 7c16802641
tests: refactor tests to use testutils helper functions (#5728) 2022-10-19 12:29:23 -07:00
Doug Fawley 778860e606
testing: update Go to 1.19 (#5717) 2022-10-17 15:04:34 -07:00
Easwar Swaminathan 912765f749
xds: move bootstrap config generating utility package to testutils (#5713) 2022-10-17 09:34:01 -07:00
Zach Reyes 8b3b10bd04
gcp/observability: implement public preview config syntax, logging schema, and exposed metrics (#5704) 2022-10-12 15:18:49 -04:00