Yash Tibrewal
20aec3b2c1
Set trailing_metadata_available for recv_initial_metadata ops when generating a fake status ( #28827 )
...
* Set trailing_metadata_available for recv_initial_metadata ops when generating a fake status
* Remove log
* Fix
* Revert "Convert filter to a promise (#28815 )"
This reverts commit 361809aabb
.
* Add testing
3 years ago
Craig Tiller
9cb0747ab0
Improve promise-based-filter APIs ( #28839 )
...
* Improve promise-based-filter APIs
* review feedback
* comment
* fix
3 years ago
yihuaz
b458db9246
Eliminate gRPC insecure build ( #25586 )
...
* force submit
* fix test error
* remove is_client from local tsi and its callsites
* fix too_many_pings_test
* add missing dep
3 years ago
scwhittle
14169dd0c5
[issue #28771 ] Fix pick_first policy to clear selected_ when deleting subchannel_list_ ( #28824 )
...
* [issue #28771 ] Fix pick_first policy to clear selected_ when promoting
a pending subchannel list to the active subchannel list when all
subchannels have been attempted and are in an error state.
* address comments
* revert idle_filter
3 years ago
Yousuk Seung
172120f6b4
Move XdsChannelCreds to CoreConfiguration ( #28746 )
...
* Move XdsChannelCreds to CoreConfiguration
* move xDS channel creds files to src/core/lib/security/credentials/xds
* Change back to returning a RefCountedPtr.
* make remove "xds_" from xds_channel_* files.
* Renamed to address comments.
* clang fix
* Fix another clang error
3 years ago
Craig Tiller
4169f24dcc
Revert "Revert "Transport channel arg ( #28802 )" ( #28818 )" ( #28820 )
...
This reverts commit 2532cf5321
.
3 years ago
Craig Tiller
361809aabb
Convert filter to a promise ( #28815 )
...
* Convert filter to a promise
* copy/paste fix
* fix
3 years ago
Craig Tiller
2532cf5321
Revert "Transport channel arg ( #28802 )" ( #28818 )
...
This reverts commit 99e339136d
.
3 years ago
Craig Tiller
f55c7ebeb4
Non-encodable tweaking ( #28733 )
...
* log non-encodables
* add a place to capture errors into trailing metadata without risking encoding it
* bs
3 years ago
Craig Tiller
99e339136d
Transport channel arg ( #28802 )
...
Instead of passing transport optionally as an argument adjacent to channel args, pass it as a channel arg directly.
Doing so does not affect semantics, but does allow a cleaner API for channel creation which will become increasingly important as we move towards promises.
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Esun Kim
84101427d0
Fix CFStreamEndpointTests ( #28812 )
3 years ago
Mark D. Roth
d5fc37f706
rls: add routeLookupChannelServiceConfig field to LB policy config ( #28731 )
...
* rls: add routeLookupChannelServiceConfig field to LB policy config
* fix error refcount bug
3 years ago
Esun Kim
5a4ba15346
Fix build & test errors when `GRPC_ERROR_IS_ABSEIL_STATUS` enabled. ( #28784 )
...
* Fix xds_bootstrap_test
* Fix sanity test
* Fix ev_apple
* Fix debug_location
3 years ago
apolcyn
64082940a5
Fix google c2p resolver shutdown during metadata server queries ( #28519 )
...
* Fix c2p resolver shutdown during metadata server queries
* handle lame channels in XDS client
3 years ago
Yash Tibrewal
9ffd1a7b0a
Fix for a racy WorkSerializer shutdown ( #28769 )
...
* Fix for a racy WorkSerializer shutdown
* Reviewer comments
* Additional test
* Fix test compilation on cmake
3 years ago
krestofur
b8d3a09092
Update CRL test credentials ( #28794 )
...
* remove old files
* update credentials
* fix README
3 years ago
Yash Tibrewal
a8ba47ac55
InsecureCredentials: singleton object ( #28777 )
...
* InsecureCredentials: Allow special case comparison
* Update security connector
* Use a singleton object instead
3 years ago
Esun Kim
342cb4457c
Added a temporary trap to prevent Abseil-Status breakages. ( #28766 )
...
* Added a new trap to prevent build errors with use_abseil_status enabled
* Fix build errors.
3 years ago
Vignesh Babu
9b42785db2
Removing Te metadata key-value pairs sent through initial or trailing metadata ( #28774 )
...
* Removing invalid Te metadata sent through initial or final metadata
* tidying up code to unlaterally remove Te metadata
3 years ago
Wanlin Du
dc9e898310
Allow --qps_server_target_override to replace the original server ( #28686 )
...
This commit makes sure that the client's server target is only
from the --qps_server_target_override, once the flag is in use.
Any prior server targets are cleared away.
3 years ago
Craig Tiller
9bcabbac32
Disable flaky test ( #28776 )
3 years ago
Esun Kim
92738290ab
Upgrade base-builder to the latest for blaze build ( #28768 )
...
* Upgrade base-builder to the latest for blaze build
* Fix warnings.
* Added -Wno-deprecated-copy
3 years ago
Vignesh Babu
9317838084
updating ChooseLbPolicy to revert to pick_first lb_policy if an unsupported lb_policy is passed through channel_args ( #28651 )
...
* updating ChooseLbPolicy to revert to pick_first lb_policy if an unsupported lb_policy is passed through channel_args
* addressing review comments
* updating comment
* adding check to ensure policy_name is not nullptr
* initializing bool variable to avoid ubsan errors
3 years ago
AJ Heller
2b9ffa18e4
Revert "Disable EventEngine smoke tests for ease of import ( #28732 )" ( #28737 )
...
This reverts commit f42b2a7368
.
3 years ago
Craig Tiller
436bd933f3
Rewrite reclaimer queue ( #28698 )
...
* New reclaimer queue
* add test
* Automated change: Fix sanity tests
* faster test
* fix memory ordering
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Mark D. Roth
2c4ae04e06
retry: fix memory leak caused by incorrectly replaying recv_message ops ( #28718 )
3 years ago
Yash Tibrewal
4a9cfa3130
HTTP2: Add GrpcNetworkStreamState metadata ( #28668 )
...
* HTTP2: Add GrpcNetworkStreamState metadata for calls that are not sent on wire and for those that are not seen by server
* Generate projects
* clang-tidy
* Fix test
* clang-tidy
* Add a negative test
* Fix for windows
3 years ago
AJ Heller
f42b2a7368
Disable EventEngine smoke tests for ease of import ( #28732 )
...
This avoids having to do a cherry-pick import, and is harmless since
there are no dependencies yet on the EventEngine. This test will be
re-enabled shortly after both the import and related changes are
finished.
3 years ago
krestofur
1cdcd88fb1
Add experimental API for CRL checking support to gRPC C++ TlsCredentials ( #28407 )
3 years ago
AJ Heller
47bc953a06
Matches the SetDefaultEventEngineFactory definition to its declaration ( #28707 )
...
* Matches the SetDefaultEventEngineFactory definition to its declaration
+`const`
* Add smoke test for SetDefaultEventEngineFactory
* Automated change: Fix sanity tests
* anonymous namespace
Co-authored-by: drfloob <drfloob@users.noreply.github.com>
3 years ago
Ashitha Santhosh
f33c587c2a
Cleanup host getter ( #28547 )
...
* cleanup host getter
* remove test
3 years ago
Tamir Duberstein
3002bd462a
Ensure conformance tests are always linked ( #28708 )
3 years ago
Vignesh Babu
ff0ecd2ff4
sockaddr resolver: skip empty addresses in target URI ( #28695 )
...
* Adding constraints to the number of parsed targets in a specified URI to prevent OOMs
* removing hard limit on number of addresses in target uri
3 years ago
Craig Tiller
d02a68016e
Channel stack builder name needs to be static ( #28711 )
...
* Channel stack builder name needs to be static for stream refcount tracing
* Add test
3 years ago
Craig Tiller
a5be505327
Fix unknown target behavior, add a test ( #28705 )
3 years ago
Jan Tattermusch
997bec7f24
Revert "Fix some clang-tidy issue ( #28679 )" ( #28699 )
...
This reverts commit b762dce244
.
3 years ago
Esun Kim
b762dce244
Fix some clang-tidy issue ( #28679 )
...
* Fix clang-tidy
* Generated projects
3 years ago
Esun Kim
f1e79853ed
Revert "Revert "Buildify Envoy upb ( #28558 )" ( #28648 )" ( #28649 )
...
This reverts commit 01011ab259
.
3 years ago
apolcyn
6bf8e22484
Add http cancel api ( #28354 )
...
Add an API to cancel HTTP1 requests
3 years ago
Craig Tiller
e4107caf26
c++-ize channel stack builder ( #28660 )
...
* c++-ize channel stack builder
* Automated change: Fix sanity tests
* Automated change: Fix sanity tests
* fixes
* comment
* move functions out of line
* Automated change: Fix sanity tests
* review feedback
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Craig Tiller
17c6a486cd
Expose promise-ness to filter proper ( #28658 )
...
* Expose promise-ness to filter proper
* Make transports able to export promises too
* Add make promise op to transport
3 years ago
Craig Tiller
9454ab0912
Non-encodable attributes for metadata map ( #28650 )
...
* Non-encodable attributes for metadata map
* trying to placate msvc14
* better test
* trying to placate msvc14
* placate older compilers
* docs
3 years ago
Craig Tiller
d2042c1c05
Convert client_authority_filter to a promise. ( #28565 )
...
* Initial ideation
* progress
* progress
* x
* Automated change: Fix sanity tests
* erorrs
* better ordering
* working on it
* xx
* comment
* comment
* Get metadata pointer semantics temporarily right
* fix
* fix
* fix
* fix
* fix
* retry: send at most one cancel_stream op on each call attempt
* fixes
* revert earlier change
* split filter defn from impl
* add tests
* fixes
* Automated change: Fix sanity tests
* review feedback
* review feedback
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
Co-authored-by: Mark D. Roth <roth@google.com>
3 years ago
donnadionne
55db347396
LRS changes for federation ( #28504 )
...
* Passing xds server object instead of just a string name
* Adding xds server to policy
* Refactor ToJson
* Using XdsServer for load reporting
* code review comments
* fixing code review comments
* Taking care of lifetime of the XdsServer key
* code review comments
* Fixing channel_state storage and re-run tests (1 assert hit)
* Checking for server in the bootstrap file
* Adding LRS test
* adding a bootstrap file ToJson and parse test
* fixing code review comments
* fixing code review comments.
* fixing test
* break out the federation lrs test
* Fixed last bit of code review comments
* fixing error message to be more precise
3 years ago
Esun Kim
01011ab259
Revert "Buildify Envoy upb ( #28558 )" ( #28648 )
...
This reverts commit 97584d8346
.
3 years ago
Esun Kim
97584d8346
Buildify Envoy upb ( #28558 )
...
* Buildigy xds
* Generate project
* Buildify envoy
* Added new upb files
* Removed unused upb targets
* Fix grpc_cel_engine
* Update envoy-api to the latest
* Regen upb
* Regen projects
* Fix bazel build on MacOS
* More fix on bazel mac
* Disable grpc_tool_test on Mac
* Regen projects
3 years ago
Craig Tiller
0a4bbb9510
Add tests for parsed metadata ( #28622 )
...
* tests for parsed metadata
* more-tests
* more-tests
3 years ago
Mark D. Roth
86c483a678
fix priority policy to cancel failover timer on IDLE and add test ( #28563 )
3 years ago
Craig Tiller
74a2cb6e2b
Revert "Revert "Reland slice changes ( #28601 )" ( #28615 )" ( #28624 )
...
* Revert "Revert "Reland slice changes (#28601 )" (#28615 )"
This reverts commit 939bbfc336
.
* Change random seed back to nanoseconds
3 years ago
Mark D. Roth
9f090a3a32
xds: accept SelfConfigSource for RDS and EDS ConfigSources ( #28618 )
3 years ago