Commit Graph

5023 Commits

Author SHA1 Message Date
Doug Fawley 7935c4f759
resolver_wrapper: remove serializerScheduleLocked; the lock is unnecessary (#6803) 2023-11-15 15:20:36 -08:00
Doug Fawley 914ca65947
client: further streamlining of Dial (#6802) 2023-11-15 14:52:11 -08:00
Doug Fawley 232054a883
client: remove deprecated WithServiceConfig DialOption (#6800) 2023-11-15 11:17:10 -08:00
Doug Fawley 42fdcc4c06
client: rename balancer and resolver wrapper files to be consistent (#6801) 2023-11-15 11:08:43 -08: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 ce3b538586
client: simplify initialization and cleanup a bit (#6798) 2023-11-15 10:47:19 -08:00
Doug Fawley b98104ec5a
buffer & grpcsync: various cleanups and improvements (#6785) 2023-11-15 09:31:57 -08:00
Doug Fawley 424db25679
credentials: if not set, restrict to TLS v1.2+ and CipherSuites per RFC7540 (#6776) 2023-11-15 07:10:20 -08:00
Arvind Bright 40c279a85d
deps: update dependencies for all modules (#6795) 2023-11-14 12:58:37 -08:00
Joshua Humphries 3cbbe2947f
reflection: don't serialize placeholders (#6771) 2023-11-14 12:13:44 -08:00
Arvind Bright 4a84ce61ec
Change version to 1.61.0-dev (#6794) 2023-11-14 10:55:08 -08:00
Doug Fawley 8645f95509
resolver: remove ClientConn.NewServiceConfig (#6784) 2023-11-13 14:10:32 -08:00
Doug Fawley 8b17a4dbc3
vet: various cleanups (#6780) 2023-11-10 13:01:59 -08:00
Carlos Ruiz 591c48187c
internal/transport: Add LocalAddr to http2Client.getPeer() (#6779) 2023-11-10 08:49:14 -08:00
Pedro Kaj Kjellerup Nacht eb46b7d427
github: set top-level read-only workflow permissions (#6775) 2023-11-09 15:59:21 -08:00
erm-g be1d1c10a9
security/advancedtls: FileWatcher CRL provider initialization enhancement (#6760)
* Add initial scan as a part of FWCP creation

* Add comment about default value for RefreshDuration

* Promote Close() to the interface level

* Revert "Promote Close() to the interface level"

This reverts commit 465ebacc5c.
2023-11-08 14:10:14 -05:00
Terry Wilson 482de22249
interop/stress: Remove wait-for-ready (#6773) 2023-11-07 15:15:49 -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
Arvind Bright 338d8f1ada
github: modify codecov.yml (#6720) 2023-11-07 13:31:04 -08:00
Henrique Vicente 3fe1123b79
resolver: manual resolver crashes if grpc.Dial isn't called before some methods (#6754) 2023-11-07 13:09:43 -08:00
Terry Wilson cf9ae52e1c
stress: Move package under interop (#6769) 2023-11-06 15:41:28 -08:00
Terry Wilson b8d1c76ba7
stress: make the client log the total number of calls made (#6762) 2023-11-06 11:35:11 -08:00
Doug Fawley a5a7ef20f6
xds/resolver: extend test to re-add listener (#6768) 2023-11-06 11:28:28 -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
erm-g b82468a346
crl provider: Static and FileWatcher provider implementations (#6670)
* rename certificateListExt to CRL

* CRLProvider file

* Add CRLProvider to RevocationConfig

* Beginning refactor of CRL handling

* Shell of StaticCRLProvider

* basic static crl provider test

* use loadCRL helper

* refactor of CRL loading

* Table tests

* Table tests

* Add tests with Static CRL provider

* New certs to be used for CRL tests. Added test for passing and failing connections based on CRL check outcomes

* Main functionality of File Watcher (Directory) CRL provider

* Refactor async go routine, validate() func, add unit tests

* Custom error callback, related unit tests

* Error callback test improvement

* Comments for StaticCRLProvider

* Comments for public API

* go mod tidy

* Comments for tests

* Fix vet errors

* Change Static provider behavior to match C Core, address other PR comments

* Data race fix

* Test helper fn change

* Address PR comments

* Address PR comments (part 2)

* Migration from context to channel for controlling crl reloading goroutine

* Align in-memory CRL updates during directory scan to C++ behavior

* Improve comments for ScanCRLDirectory

* Base test case for Scan CRL Directory file manipulations

* full set of cases for CRL directory content manipulation

* Add comment for table test structure

* Fix for go.mod and go.sum

* Empty directoru workaround

* Delete deprecated crl functionality

* Restoring deprecated crl files

* Fit to grpctest.Tester pattern

* Update readme for crl provider tests

* Address PR comments

* Revert "Restoring deprecated crl files"

This reverts commit 56437603a4.

* Revert "Resolve conflicts with upstream - deletion of deprecated crl"

This reverts commit e0130640c46efd9a43649bf409c6e762ae66e225, reversing
changes made to 21f430135c.

Revert deletion

* Update link for gRFC proposal

* Address PR comments

* Address PR comments part 1

* Address PR comments part 2

* Address PR comments part 3

* Fix for go.mod and go.sum

* Fix comment typo

* Fix for gRFC tag

* Add more details to CRL api  godoc comments.

* Address PR comments

* Address PR comments

* Delete crl_deprecated.go and crl_deprecated_test.go

* Delete testdate/crl/provider/filewatcher directory and .gitignore under it

* Race test fix

* Address PR comments

* Address PR comments

* Refactor directory reloader test from checking size of crl map to querying individual entries approach

* Add extra case for RefreshDuration config test

* Update cpmment for table test structure

* Unexport scan scanCRLDirectory, drop related mutex, update the comments

* Update API comments, clear tmp dir after the tests

---------

Co-authored-by: Gregory Cooke <gregorycooke@google.com>
2023-10-30 20:41:22 -04:00
Evan Jones d7ea67b9f3
metadata: Use strings.EqualFold for ValueFromIncomingContext (#6743) 2023-10-30 09:51:19 -07: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
Matthew Stevenson 6e14274d00
Revert "alts: Reduce ALTS counter overflow length from 5 to 4. (#6699)" (#6746)
This reverts commit 7b8d0fde07.
2023-10-24 15:13:54 -07:00
Matthew Stevenson 7b8d0fde07
alts: Reduce ALTS counter overflow length from 5 to 4. (#6699) 2023-10-24 14:39:35 -07:00
Aditya Sood e88e8498c6
internal: Exposes underlying channel in testutils.Channel{} (#6742) 2023-10-19 10:49:47 -07:00
Zach Reyes b046ccaf08
balancer/rls: Fix RLS failure mode by treating response with no targets as an error (#6735) 2023-10-18 17:26:06 -04:00
Zach Reyes e14d5831b5
resolver: Add an endpoint map type (#6679) 2023-10-16 16:18:10 -04:00
erm-g cb430bed4d
Delete deprecated CRL functionality (#6721) 2023-10-16 11:47:44 -04:00
Easwar Swaminathan 6e9c88b0ac
xds/internal/resolver: final bit of test cleanup (#6725) 2023-10-13 15:27:42 -07:00
Easwar Swaminathan 6fe60858ee
xds/internal/server: switch to generic xDS API for LDS/RDS (#6726) 2023-10-13 14:30:59 -07:00
Easwar Swaminathan df8fc99c30
encoding: move codec tests out of top-level test package (#6728) 2023-10-13 13:54:26 -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 2cf5619c4d
grpc: add a warning for unsupported codec (#6658) 2023-10-12 18:22:24 -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 c76442cdaf
xds/resolver: move service watching tests to resolver_test package (#6682) 2023-10-12 12:21:25 -07:00
Easwar Swaminathan 5a6773c42d
xds/resolver: move cluster specifier plugin tests to test only package (#6681) 2023-10-12 10:51:28 -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
Blake Ramsdell 32e3ef1ed1
credentials/tls: Use Go cipher suites to find TLS suite string name (#6709) 2023-10-10 15:21:50 -07:00
Doug Fawley cb3ae760e1
codes: update docstring to indicate expected usage (#6701) 2023-10-10 13:06:23 -07:00
Doug Fawley f2180b4d54
server: prohibit more than MaxConcurrentStreams handlers from running at once (#6703) 2023-10-10 10:51:45 -07:00
Mike Maloney 313861efe5
Explicitly specify the `dns` schema for the ALTS hand-shaker. (#6686)
Before this change applications that override the default resolver may
not be able to talk to the metadata server to start the ALTS Handshake,
resulting in DirectPath not being used.
2023-10-10 09:30:27 -07:00
Arvind Bright 59f57b160e
randomWRR: remove lock for accessing WRR.items (#6666) 2023-10-06 17:43:21 -07:00