Turfa Auliarachman
18ee309ab1
grpcsync: use context.AfterFunc to close buffer after context canceled in CallbackSerializer ( #8489 )
...
[The current minimum supported Go version is now
1.23](62ec29fd9b/go.mod (L3)
).
`context.AfterFunc` is available for all of grpc-go's latest version
users. Thus we can do this pending TODO.
`context.AfterFunc` would invoke the given function for both _immediate_
context cancelation and timer-based context cancelation (`WithTimeout`,
`WithDeadline`). So I think this change is safe.
RELEASE NOTES: N/A
2025-08-12 15:27:23 -07:00
cjqzhao
9fa3267859
xds: remove xds client fallback environment variable ( #8482 )
2025-08-05 09:04:11 -07:00
Arjan Singh Bal
f69eaf05c3
testutils/roundrobin: Improve validation of WRR distribution ( #8459 )
2025-07-21 11:33:36 +05:30
eshitachandwani
0a12fb0d84
Revert "credentials: allow audience to be configured ( #8421 ) ( #8442 )" ( #8450 )
...
This reverts commit 7208cdc423
.
2025-07-16 15:19:22 +05:30
Arjan Singh Bal
52d9f91b2d
transport: release mutex before returning on expired deadlines in server streams ( #8451 )
2025-07-16 10:46:15 +05:30
Chris Staite
7208cdc423
credentials: allow audience to be configured ( #8421 ) ( #8442 )
...
There are competing specifications around whether a method should be included in a JWT audience or not. For example #4713 specifically excluded the method referencing https://google.aip.dev/auth/4111 whereas GCE IAP requires the full URI https://cloud.google.com/iap/docs/authentication-howto .
In order to facilitate both methods, we introduce a new environment variable, namely GRPC_AUDIENCE_IS_FULL_PATH, to allow the method stripping to be disabled. This defaults to the existing behaviour of stripping the method, but can be set to avoid this.
2025-07-14 13:52:09 -04:00
Doug Fawley
12f9d9c0da
server: allow 0s grpc-timeout header values, as java is known to be able to send them ( #8439 )
2025-07-09 07:35:47 -07:00
Ashesh Vidyut
64a6b623ba
grpctest: minor improvements to the test logger implementation ( #8370 )
2025-07-07 11:55:00 +05:30
Easwar Swaminathan
aa57e6af6c
xds: cleanup internal testing functions for env vars that have long been removed ( #8413 )
2025-07-02 17:54:14 +05:30
Doug Fawley
8acde50e5b
dns: add environment variable to disable TXT lookups in DNS resolver ( #8377 )
2025-07-01 14:33:13 -07:00
Arjan Singh Bal
de72c21442
xds: Avoid error logs when setting fallback bootstrap config ( #8419 )
2025-07-02 02:38:29 +05:30
vinothkumarr227
bbaca7a088
stub: Add child balancer in stub.BalancerData ( #8393 )
2025-06-19 10:48:14 +05:30
Purnesh Dixit
082a9275c7
xds: Roll forward xdsclient migration ( #8391 )
2025-06-17 00:09:58 +05:30
Arjan Singh Bal
d2e836604b
xds: revert #8310 : migration of xdsclient to use generic client and dedicated LRS client
...
This reverts commit 996aabeb3f
.
2025-06-09 21:46:02 +05:30
Purnesh Dixit
996aabeb3f
xds: migrate internal xdsclient to use generic client and dedicated LRS client ( #8310 )
2025-06-06 11:15:42 +05:30
Antoine Tollenaere
ec91b2e05e
xds: Remove temporary environment variable for least request ( #8248 )
2025-06-05 22:10:48 +05:30
Mikhail Mazurskiy
9319d72162
cmd/protoc-gen-go-grpc: use `Error()` since no formatting is performed ( #8378 )
2025-06-05 09:10:58 +05:30
Gregory Cooke
f6bf86cc7e
Add flag guarding SPIFFE Bundle provider ( #8343 )
...
* Add flag guarding SPIFFE Bundle provider
* remove the log
* vet
* address PR comments
* add comment
* fix typo
* rename flag
* add test
* vet
* add other flag check
* remove check from watcher
* add tests for new section where the spiffe bundle map file is set to empty string
* vet
2025-06-04 13:31:41 -04:00
Arjan Singh Bal
6dfe07c8c3
balancer: Make ExitIdle compulsory for Balancers ( #8367 )
2025-06-03 09:15:35 +05:30
Arjan Singh Bal
8d1e6e2335
deps: update dependencies for all modules and fix revive findings ( #8372 )
2025-06-03 08:59:34 +05:30
vinothkumarr227
9b7bd34139
grpc: introduce new Dial and Server Options to set static window size ( #8283 )
2025-06-02 12:42:34 -07:00
Arjan Singh Bal
4275c5bdd8
transport: Re-use slice buffer reader for a stream ( #8360 )
2025-05-30 00:09:14 +05:30
Arjan Singh Bal
fb223f78b8
transport: Optimize heap allocations ( #8361 )
2025-05-28 15:21:53 +05:30
Elric.Lim
4cab0e6dc6
balacergroup: cleanup exitIdle() ( #8347 )
2025-05-26 21:20:28 +05:30
eshitachandwani
443caad4d7
delegatingresolver: avoid proxy for resolved addresses in NO_PROXY env ( #8329 )
2025-05-23 21:02:11 +05:30
Arjan Singh Bal
6995ef2ab6
internal/transport: Wait for server goroutines to exit during shutdown in test ( #8306 )
2025-05-21 09:24:41 +05:30
Arjan Singh Bal
e3f13e75a6
transport: Prevent sending negative timeouts ( #8312 )
2025-05-14 09:15:09 +05:30
Pranjali-2501
b89909b7bd
leakcheck: Fix flaky test TestCheck ( #8309 )
2025-05-13 15:23:49 +05:30
Arjan Singh Bal
709023de87
grpcsync/event: Simplify synchronization ( #8308 )
2025-05-13 00:01:48 +05:30
Arjan Singh Bal
d36b02efcc
transport: Propagate status code on receiving RST_STREAM during message read ( #8289 )
2025-05-12 23:23:14 +05:30
eshitachandwani
ee7f0b65fd
resolver/delegatingresolver: wait for proxy resolver build before update in tests ( #8304 )
2025-05-12 22:24:17 +05:30
Evan Jones
96e31dbc85
transport: Reject non-positive timeout values in server ( #8290 )
2025-05-12 09:23:29 -07:00
janardhanvissa
d3d2702d29
cleanup: replace dial with newclient ( #8196 )
2025-05-12 10:57:47 +05:30
eshitachandwani
d00f4acc38
resolver/delegatingresolver: wait for proxy resolver to be built in test ( #8302 )
2025-05-08 14:55:43 +05:30
Evan Jones
c7aec4defb
transport: skip Status.Proto() without details in writeStatus ( #8282 )
2025-05-07 23:50:46 +05:30
Luwei Ge
41095aeec6
[alts] add keepalive params to the alts handshaker client dial option ( #8293 )
...
* add keepalive params to the alts handshaker client dial option
* no need to permit without stream
* address comment
* add env var protection
* go vet
2025-05-07 09:48:59 -07:00
eshitachandwani
ee8a53a220
internal/delegatingresolver: avoid proxy if networktype of target address is not tcp ( #8215 )
2025-05-07 10:25:16 +05:30
eshitachandwani
080f9563df
credentials, transport, grpc : add a call option to override the :authority header on a per-RPC basis ( #8068 )
2025-04-30 14:41:28 +05:30
Gregory Cooke
58d1a72b99
[Security] Add verification logic using SPIFFE Bundle Maps in XDS ( #8229 )
...
Add verification logic using SPIFFE Bundle Maps in XDS
2025-04-22 13:43:29 -04:00
Vadim Shtayura
f7d488de75
credentials: expose NewContextWithRequestInfo publicly ( #8198 )
2025-04-21 16:30:52 -07:00
Antoine Tollenaere
54e7e26a1f
balancer/ringhash: move LB policy from xds/internal to exported path ( #8249 )
2025-04-18 10:23:10 -07:00
Antoine Tollenaere
cb1613cf09
xds: make least request available by default ( #8253 )
2025-04-16 13:51:02 -07:00
Gregory Cooke
560ca642f8
xds: fix data file name in test ( #8254 )
2025-04-16 21:45:42 +05:30
Purnesh Dixit
68205d5d0a
xdsclient: update watcher API as per gRFC A88 ( #7977 )
2025-04-14 11:12:28 +05:30
Antoine Tollenaere
25c750934e
ringhash: implement gRFC A76 ( #8159 )
2025-04-08 15:50:54 +05:30
Gregory Cooke
4b5505d301
[Security] Add support for SPIFFE Bundle Maps in XDS bundles ( #8180 )
...
This adds support for configuring SPIFFE Bundle Maps inside of credentials via xds bundles.
See the gRFC for more detail grpc/proposal#462
2025-04-04 13:12:53 -04:00
vinothkumarr227
ce35fd41c5
stats/opentelemetry: add trace event for name resolution delay ( #8074 )
2025-04-04 09:55:45 +05:30
eshitachandwani
52c643eb74
deps: update dependencies for all modules ( #8221 )
...
* update deps
* protos update
2025-04-04 09:54:18 +05:30
Arjan Singh Bal
6819ed796f
delegatingresolver: Stop calls into delegates once the parent resolver is closed ( #8195 )
2025-03-26 22:30:16 +05:30
Gregory Cooke
1f6b0cff02
[Security] Add support for SPIFFE Bundle Maps in certificate providers ( #8167 )
2025-03-17 14:39:04 -04:00