Commit Graph

632 Commits

Author SHA1 Message Date
Zach Reyes eb5828bae7
protoc: Change protoc to include generated call option (#6960) 2024-03-21 17:34:19 -04:00
Doug Fawley faf9964afe
gracefulswitch: add ParseConfig and make UpdateClientConnState call SwitchTo if needed (#7035) 2024-03-19 11:35:17 -07:00
Doug Fawley dadbbfa286
channelz: re-add target and state (#7042) 2024-03-18 15:31:19 -07:00
Doug Fawley 55cd7a68b3
channelz: major cleanup / reorganization (#6969) 2024-03-15 11:13:53 -07:00
Matt Straathof c8083227ee
chore: expose `NewClient` method to end users (#7010) 2024-03-07 13:52:41 -08:00
Hong Truong f7c5e6a762
DNS resolving with timeout (#6917) 2024-03-05 15:49:11 -08:00
Arvind Bright 90fc697165
xdsclient: use dataplane authority for virtualhost lookup (#6997) 2024-02-28 11:08:09 -08:00
Clément Jean 51f9cc0f35
deps: move from github.com/golang/protobuf to google.golang.org/protobuf/proto (#6961) 2024-02-28 09:58:48 -08:00
Sercan Değirmenci 76a23bf37a
fix enabling compression by trimming whitespaces in accept encoding header (#6952) 2024-02-20 15:12:22 -08:00
Anand Inguva 7525e9885f
test: add test for invalid streamID (#6940) 2024-02-20 11:15:18 -08:00
Joshua Humphries 40d6adb0cc
transport: Make error-handling for bad HTTP method consistent between HTTP/2 server transport and handler server transport (#6989) 2024-02-16 14:33:12 -05:00
Raghav Jhavar 3c2a44dca3
transport: when using write buffer pooling, use input size instead of size*2 (#6983) 2024-02-15 18:07:19 -05:00
Doug Fawley 28d78d4baf
*: forbid the use of time.After (#6985) 2024-02-15 09:18:03 -08:00
Doug Fawley 05db80f118
server: wait to close connection until incoming socket is drained (with timeout) (#6977) 2024-02-12 08:38:58 -08:00
Zach Reyes f135e982e6
xds/internal/xdsclient: Add comments for exported types (#6972) 2024-02-08 19:03:30 -05:00
Kamyar Mirzavaziri 6f63f05a5b
internal/grpcrand: use Go top-level random functions for go1.21+ (#6925) 2024-02-01 15:11:59 -08:00
Clément Jean 02858ee506
deps: move from github.com/golang/protobuf to google.golang.org/protobuf/proto (#6919)
Co-authored-by: Arvind Bright <arvind.bright100@gmail.com>
Co-authored-by: Doug Fawley <dfawley@google.com>
2024-01-30 10:59:10 -08:00
Cheng Fang 8d735f01ad
internal/transport: Remove redundant if conditional in http2_server (#6946) 2024-01-29 17:37:15 -05:00
Zach Reyes 5051eeae53
grpc: Update go mod (#6939) 2024-01-24 19:10:36 -05:00
Vladimir Varankin 67e50be526
transport: Remove redundant if in handleGoAway (#6930) 2024-01-22 19:31:00 -05:00
Aditya Sood 987df13092
metadata: move FromOutgoingContextRaw() to internal (#6765)
Co-authored-by: Arvind Bright <arvind.bright100@gmail.com>
2024-01-18 09:55:32 -08:00
Zach Reyes ddd377f198
xds/server: fix RDS handling for non-inline route configs (#6915) 2024-01-16 19:03:18 -05:00
mustafasen81 6ce73bfbf9
internal/transport: convert `ConnectionError` to `Unavailable` status when writing headers (#6891) 2024-01-10 15:21:24 -08:00
Antoine Tollenaere 6bc19068a7
xds: add support for mTLS Credentials in xDS bootstrap (#6757) 2024-01-04 12:34:53 -08:00
Mile Druzijanic 4f03f3ff32
removing deprecated http closenotifier function (#6886) 2023-12-21 14:54:26 -08:00
Easwar Swaminathan bb0d32f078
xds: don't fail channel/server startup when xds creds is specified, but bootstrap is missing certificate providers (#6848) 2023-12-19 16:30:43 -08:00
Michal Matczuk 33a60a8581
internal: use OS defaults for TCP keepalive params in Windows (#6863) 2023-12-19 10:42:49 -08:00
Easwar Swaminathan 52baf161f3
internal: use OS defaults for TCP keepalive params only on unix (#6841) 2023-12-08 14:38:03 -08:00
Easwar Swaminathan a03c7f1faa
client: always enable TCP keepalives with OS defaults (#6834) 2023-12-07 14:04:31 -08:00
Aditya Sood 0866ce06ba
grpc: optional interface to provide channel authority (#6752) 2023-12-05 12:10:02 -08:00
Doug Fawley 5d7453e661
client: rework resolver and balancer wrappers to avoid deadlock (#6804) 2023-12-05 10:56:48 -08:00
Zach Reyes 1b05500d80
internal/credentials/xds: Add exported comment for HandshakeInfo (#6823) 2023-11-30 13:47:27 -05:00
Zach Reyes 59c0aec9dc
xDS: Atomically read and write xDS security configuration client side (#6796) 2023-11-15 13:54:29 -05:00
Doug Fawley b98104ec5a
buffer & grpcsync: various cleanups and improvements (#6785) 2023-11-15 09:31:57 -08:00
Carlos Ruiz 591c48187c
internal/transport: Add LocalAddr to http2Client.getPeer() (#6779) 2023-11-10 08:49:14 -08:00
Jayden Teoh f1a1fcd042
grpc: disable and document overrides of OS default TCP keepalive by Go (#6672)
Co-authored-by: Arvind Bright <arvind.bright100@gmail.com>
2023-11-07 13:49:01 -08:00
Doug Fawley 6bed35367c
envconfig: re-add AdvertiseCompressors temporarily (#6764) 2023-11-06 07:49:48 -08:00
Fabian Holler 70f1a4045d
grpc: Wait until resources finish cleaning up in Stop() and GracefulStop() (#6489) 2023-10-31 13:12:43 -04:00
Zach Reyes 8cb98464e5
grpc: Add a pointer of server to ctx passed into stats handler (#6750) 2023-10-26 16:30:26 -04:00
Doug Fawley 8190d883e0
envconfig: remove env vars for on-by-default features (#6749) 2023-10-26 13:08:20 -07:00
Zach Reyes c76d75f4f9
grpc: Move some stats handler calls to gRPC layer, and add local address to peer.Peer (#6716) 2023-10-25 18:01:05 -04:00
Aditya Sood e88e8498c6
internal: Exposes underlying channel in testutils.Channel{} (#6742) 2023-10-19 10:49:47 -07:00
Easwar Swaminathan ddb026e8a8
experimental: add package and move recv buffer pool APIs into it (#6692) 2023-10-12 18:29:29 -07:00
Easwar Swaminathan 3e9b85c6a9
xds/internal/server: stop using a fake xDS client in listenerWrapper tests (#6700) 2023-10-12 18:00:12 -07:00
Easwar Swaminathan dd4c0adafb
internal/testutils: add a new test type that implements resolver.ClientConn (#6668) 2023-10-12 10:09:38 -07:00
Doug Fawley f2180b4d54
server: prohibit more than MaxConcurrentStreams handlers from running at once (#6703) 2023-10-10 10:51:45 -07:00
Arvind Bright 59f57b160e
randomWRR: remove lock for accessing WRR.items (#6666) 2023-10-06 17:43:21 -07:00
Peter Štibraný be7919c3dc
transport: Pass Header metadata to tap handle. (#6652) 2023-10-05 14:08:13 -04:00
Doug Fawley e3f1514cdb
Reapply "status: fix/improve status handling (#6662)" (#6673) (#6688) 2023-10-05 08:20:01 -07:00
Doug Fawley 9e1fc3e9c0
Revert "status: fix/improve status handling (#6662)" (#6673) 2023-10-02 12:52:25 -07:00