Commit Graph

4361 Commits

Author SHA1 Message Date
Lidi Zheng a3ae8e00a2
Revert "Allow to specify user provided audience in google default credentials and JWT credentials (#26392)" (#26440)
This reverts commit 304262e135.
2021-06-07 15:24:54 -07:00
Aaron Jacobs b3b036ca17
async_unary_call: add a Destroy method, called by std::default_delete. (#26389)
This implements gRFC L80:

    https://github.com/grpc/proposal/blob/a3a0e23b/L80-cpp-async-response-reader-destruction.md
2021-06-07 09:02:08 +02:00
Ashitha Santhosh b9a643a817
Static policy provider implementation. (#26134) 2021-06-03 23:18:08 -07:00
yihuaz 304262e135
Allow to specify user provided audience in google default credentials and JWT credentials (#26392)
* support user provided audience in gdc and jwt

* fix 1st round of comments

* fix ruby and php to use new GDC API

* fix python clang issue

* address 2nd round of comments

* fix string_view issue

* remove length param in string_view constructor
2021-06-03 16:02:19 -07:00
Vijay Pai e66943b006
Delete unneeded parts of generic_stub callback header (#26403) 2021-06-02 12:24:45 -07:00
Ashitha Santhosh 9bbdb70cdc
Add uri sans (#26362)
* Add uri sans
2021-06-01 16:43:27 -07:00
Vijay Pai 8aff94558c
De-experimentalize C++ callback API (#25728)
* De-experimentalize callback API

* Make FromServerContext based on ServerContextBase

* Fix lambda

* Fix headers

* De-experimentalize tests

* clang-format

* Fix consistency checks

* wip

* Fix const-ness of callback client read RPC requests

* Fix golden file

* Give full route_guide callback client example with Hold etc

* Complete example route-guide server

* De-experimentalize test services

* Omit unneeded using

* Remove some uses of non-experimental macro from test

* clang-format examples

* De-experimentalize async stub calls

* Remove experimental namespace use in qps, ubms

* De-experimentalize alarms, generic stubs, and context allocator

* De-experimentalize SetContextAllocator

* clang-format

* Fix conflicts

* Leave obsolete API in place until users can be migrated
2021-05-27 14:55:25 -07:00
Esun Kim a99ead4bf4
Added new method to ByteBuffer & Slice (#26014) 2021-05-27 11:18:18 -07:00
Hung Dang e6782daf95
Fix an unused parameter warning in grpcpp/impl/codegen/service_type.h (#26346)
* Initial commit

* Address @veblush comment.
2021-05-27 11:08:30 -07:00
Vijay Pai 153bc67f45
Revert "Revert "Revert "Revert "Expose trailers-only response status through C++ callback API"" (#26365)" (#26375)" (#26379)
This reverts commit 259a74c0e6.
2021-05-27 09:16:05 -07:00
Yash Tibrewal 259a74c0e6
Revert "Revert "Revert "Expose trailers-only response status through C++ callback API"" (#26365)" (#26375)
This reverts commit 66253c521a.
2021-05-26 22:20:23 -07:00
shangwu-google 8b3f4fca25
Client context test peer (#25610)
* Create client_context_test_peer.h

mock-up class for ClientContext

* Add ClientContextTestPeer as a friend for test

* Update client_context_test_peer.h

* Update client_context_test_peer.h

* unit test for client_context_test_peer.h

* unit test for client_context_test_peer.h

* fix for tools/buildgen/generate_projects.sh

* Revert "fix for tools/buildgen/generate_projects.sh"

This reverts commit b007aa8c2b.

* re-fix for tools/buildgen/generate_projects.sh

* Remove an empty line

Co-authored-by: Vijay Pai <vpai@google.com>
2021-05-25 18:51:34 -07:00
Vijay Pai 66253c521a
Revert "Revert "Expose trailers-only response status through C++ callback API"" (#26365)
* Revert "Revert "Expose trailers-only response status through C++ callback API (#26249)" (#26363)"

This reverts commit 05c3b30ea0.

* Move the trailers_only check from ClientContext to ClientReactor

* Remove unneeded change in client_context.cc
2021-05-25 17:43:21 -07:00
Yash Tibrewal 05c3b30ea0
Revert "Expose trailers-only response status through C++ callback API (#26249)" (#26363)
This reverts commit 393bae7e88.
2021-05-25 13:44:10 -07:00
Vijay Pai 393bae7e88
Expose trailers-only response status through C++ callback API (#26249)
* Expose trailers-only response status through callback API

* Fix change-detector test

* Address reviewer comment about trailers_only headers

* Add TODO requested by markdroth

* Move variable in struct to improve space efficiency

* Don't instantiate ExecCtx in channel_args destructor unless needed
2021-05-21 14:42:41 -07:00
Alexander Gutkin c672bf94c1
Updated documentation for `addr_uri` argument in `AddListeningPort`: Removed extraneous bracket and random (?) slash. (#26263) 2021-05-21 09:34:20 -07:00
Vijay Pai 0f80378a21
Resolve race between OnReadDone(ok=false) and IsCancelled (#26245)
* Resolve and test race between OnReadDone(ok=false) and IsCancelled

* Fix retry case

* Fix health check case

* Address reviewer comments.

* ADD TODO requested by markdroth
2021-05-19 14:05:46 -07:00
AJ Heller 5b035265ce
Describe status codes on the EventEngine API (#26180)
This continues the work of ironing out EventEngine API details.
2021-05-07 12:22:48 -07:00
Vijay Pai edf500fb82
Add useful status error message when server threadpool is exhausted (#26146) 2021-05-03 12:16:12 -07:00
Esun Kim e372a63cf7
Revert "Enabled GPR_ABSEIL_SYNC on Apple (#25841)" (#26115)
This reverts commit cb9889d35d.
2021-04-28 17:35:31 -07:00
Esun Kim f27a41db43
Added GRPC_ERROR_IS_ABSEIL_STATUS (#26078)
Added GRPC_ERROR_IS_ABSEIL_STATUS
2021-04-28 15:32:35 -07:00
Vijay Pai dc6948cf35
Use atomics to remove locks in Channel/Server::CallbackCQ() (#26091) 2021-04-27 14:54:07 -07:00
mkruskal-google 2bf75aa68a
Add optional suffix to client-side stub objects (#25996)
* Adding suffix for stats handling to gRPC

* Fixing typo

* Fixing codegen, adding tests

* Fixing test failures

* Adding nullptr default in StubOptions

* Updating golden test file

* Replacing std::make_unique with absl::make_unique for pre-C++14 compatibility

* Fixing clang format  errors

* Reuse stub options for generic stubs

* Cleaning up compiler warnings in GenericStub
2021-04-26 17:19:43 -07:00
Yash Tibrewal 4768210ec8
s/OnServingStatusChange/OnServingStatusUpdate (#26010)
* s/OnServingStatusChange/OnServingStatusUpdate

* Update python files
2021-04-26 15:36:35 -07:00
Mark D. Roth feff79abc7
add test-only channel arg to set per-channel xDS bootstrap config (#25936)
* pass XdsClient to LB policies via channel args

* add channel arg for overriding bootstrap config on a per-channel basis

* change tests to use new channel arg approach -- currently failing for server-side tests

* use the same channel args approach on the server side

* clang-format

* fix CircuitBreakingMultipleChannelsShareCallCounter test

* fix XdsEnabledServerTest test

* add TODO

* clang-format

* generate_projects

* fix clang-tidy

* fix build

* attempt to fix python
2021-04-21 10:16:33 -07:00
AJ Heller d3677e569a
Return port number from EventEngine::Listener::Bind (#26004)
* Return port number from EventEngine::Listener::Bind

This is an integer, unlike the DNSResolver, since the underlying
bind syscall deals in integers.

* Add return type documentation
2021-04-19 16:01:22 -07:00
AJ Heller e25637ebea
Fix EventEngine factory method return types: unique_ptr for lifetime management (#25971) 2021-04-16 18:22:22 -07:00
Ashitha Santhosh 0570bd9205
Plumbs SAN fields to tsi_peer. (#25874) 2021-04-16 09:12:38 -07:00
ZhenLian f6b69a659b
Add Comments For Getting Peer Cert Full Chain (#25942) 2021-04-09 16:37:43 -07:00
Esun Kim cb9889d35d
Enabled GPR_ABSEIL_SYNC on Apple (#25841) 2021-04-08 12:38:55 -07:00
AJ Heller 03adef1d3c
Move platform-specific sockaddr logic out of port_platform for EventEngine (#25886) 2021-04-05 21:03:04 -07:00
AJ Heller 4d4ee609c1
gRPC EventEngine Interface (#25795) 2021-04-05 09:26:16 -07:00
Esun Kim 10b17f3739
Added mock_stream_test (#25103) 2021-03-25 14:04:39 -07:00
Lidi Zheng b457f43227
Implement C++ Admin Interface API (#25753)
* Implement C++ Admin Interface API

* Address reviewer's requests

* Remove static asserts for raw pointers

* Make sanity tests happy

* Windows: pacify conflict between ifndef and macros

* Disable admin services test on iOS

* Make iOS happy by:

* Letting grpcpp_admin conditionally depend on grpcpp_csds

* Fix an unexpected side-effect of dependency update
2021-03-23 09:53:12 -07:00
Lidi Zheng 1040fbdb9f
Re-introduce "CSDS Implementation" (#25762)
* Revert "Revert "CSDS Implementation (#25038)" (#25745)"

This reverts commit 98fd4e1e36.

* Add xDS special Bazel build rules

* Add 2 todos to remove the added rules
2021-03-22 13:14:19 -07:00
Lidi Zheng 98fd4e1e36
Revert "CSDS Implementation (#25038)" (#25745)
This reverts commit 27de24a38e.
2021-03-17 13:38:47 -07:00
Lidi Zheng 27de24a38e
CSDS Implementation (#25038)
* Implement the xDS Config Dump as CSDS in Core

* Revemp the logic of caching and constructing the CSDS response
* Unref created error
* Fix the clang tidy complains
* Resolve comments about symbol preload and Json ctor
* Improve readability
* Merge with new ADS logic && support latest CSDS
  * Refactor the version/client_status logic
  * Add support for error_state
  * Add support for does_not_exist
  * Add node information
* Fix the ProtoBuf segfault
* More test cases
* Refactor to use bytes as cache instead of JSON

* Apply clang_tidy's suggestion

* Resolve reviewer's requests

* Tiny stylish fixes && make sanity test happy

* WIP: still working on the matchers

* Update a bunch of matchers

* Improve readability a bit

* Resolve reviewer's suggestions

* Resolve reviewer's comments

* Make Unpack fail fast
2021-03-16 18:17:37 -07:00
Yash Tibrewal 7021b72d1f
Revert Revert Xds Status Notifier (#25718)
* Revert "Revert "xDS status notifier (#25321)" (#25702)"

This reverts commit 3c9f3972e3.

* Remove connection from map when OnClose is not registered

* Reviewer comments
2021-03-15 14:29:06 -07:00
Yash Tibrewal 3c9f3972e3
Revert "xDS status notifier (#25321)" (#25702)
This reverts commit 81e90432e1.
2021-03-12 08:54:34 -08:00
Vijay Pai 0937cb1249
Add usage note about immediately-Set alarms (#25678) 2021-03-10 16:45:47 -08:00
Esun Kim 2dc8df9ef6
Fix bugprone unhandled self assignment (#25667)
* Add bugprone-unhandled-self-assignment

* Fix bugprone-unhandled-self-assignment
2021-03-10 13:38:23 -08:00
Vijay Pai b36d3f7e33
Annotate C++ server (#25605)
* Make annotations real in server header

* More annotations

* clang-fmt

* Annotate shutdown state variables

* Fix annotation of CV predicate

* Fix param list
2021-03-10 10:52:26 -08:00
Esun Kim a41a206b8c
Fix readability-const-return-type,readability-delete-null-pointer,readability-simplify-boolean-expr (#25628) 2021-03-09 21:30:35 -08:00
Yash Tibrewal 81e90432e1
xDS status notifier (#25321)
* Serving status notification for xds enabled servers
2021-03-08 21:47:13 -08:00
Vijay Pai dae5624e47
Thread annotations for C++ callback API headers (#25571)
* Annotate headers

* clang-format
2021-03-04 10:15:21 -08:00
Esun Kim f862a2259f
Add abseil thread annotations to grpcpp/sync (#25560)
* Add abseil annotation to grpcpp/sync
* Bump alpine linux to 3.11 from 3.9
2021-03-03 08:39:20 -08:00
Vijay Pai 26e4c14b1e
Add virtual destructor to ClientReactor base class (#25599)
* Add virtual destructor

* Remove subclass empty destructors
2021-03-02 21:08:07 -08:00
WANG Lei f99a08fe46
Remove unused parameter from UnaryDeserializeHelper (#25332)
* fix -Wunused-parameter warning

* clang-fmt

* clang-format

Co-authored-by: Vijay Pai <vpai@google.com>
2021-03-02 17:51:36 -08:00
Vijay Pai 909cac3866
Document reaction concurrency and reactor lifetime (#25481) 2021-02-24 09:18:15 -08:00
AJ Heller 2ca08a023e
Document ownership transfer in ChannelArguments::SetPointerWithVtable (#25527) 2021-02-23 13:18:59 -08:00
Vijay Pai ce84795c11
Explain include/grpc++ vs include/grpcpp 2021-02-17 12:08:59 -08:00
Esun Kim 2368ede693
Merge pull request #25448 from aidanwolter3/fx-cert-path
[Fuchsia] Fix root SSL cert path
2021-02-17 09:49:18 -08:00
Esun Kim fa75d67470
Merge pull request #25447 from aidanwolter3/fx-disable-cares
[Fuchsia] Disable C-ARES resolver
2021-02-17 09:48:53 -08:00
Vijay Pai dba8bb59a0 Implement callback CQ at C++ layer using shared thread pool if non-background iomgr 2021-02-16 16:02:23 -08:00
Aidan Wolter 1538078745 [Fuchsia] Fix root SSL cert path
Fuchsia stores the root SSL cert in a different location than Linux.
This commit corrects this, so that SSL connections work.
2021-02-16 14:07:44 -08:00
Aidan Wolter 1ead3c0c7b [Fuchsia] Disable C-ARES resolver
C-ARES does not work on Fuchsia, and is causing DNS solution failures.
We are disabling C-ARES so that we fall back to the native resolver.

Issue: #25446
2021-02-12 18:19:49 -08:00
Esun Kim 6468d8a69d Make grpcpp/mutex compatible absl/mutex 2021-02-11 15:02:42 -08:00
Bassam Ojeil 701d3cdf9a Move third party identity C++ api out of experimental namespace
This PR is a continuation of:
https://github.com/grpc/grpc/pull/25304
2021-02-08 13:54:15 -08:00
mkruskal-google 0416696848
Update auth_context.h 2021-01-28 16:27:48 -05:00
Yash Tibrewal 73978ad047
Merge pull request #25240 from yashykt/initonservercreds
Initialize gRPC on ServerCredentials
2021-01-28 01:00:09 -08:00
Yash Tibrewal 0ca1774d0f Initialize gRPC on ServerCredentials 2021-01-27 17:51:14 -08:00
Esun Kim a1ae48db20
Merge pull request #25196 from devjgm/error-details-template
refactor!: change error_details functions to templates
2021-01-21 11:26:33 -08:00
Greg Miller 7d4d516511 wip: change error_details functions to templates 2021-01-20 09:48:22 -05:00
ZhouyihaiDing a584bc4f02 Support ServerContext for callback API 2021-01-19 22:00:10 -08:00
AJ Heller ec9451e856 Fix typo in documentation 2021-01-13 11:23:50 -08:00
Vijay Pai 91bb4e178c Check for nullptr (deser failure) before destructing included request 2021-01-13 01:33:13 -08:00
ZhenLian e745f8cb55
Merge pull request #25018 from ZhenLian/zhen_dynamic_file_reloading_9
Support Default Root Certs in Tls Credentials
2021-01-07 09:40:31 -08:00
ZhenLian c48e39d5c2 Support Default Root Certs in Tls Credentials 2021-01-06 23:02:52 -08:00
Yang Gao f735728a39
Merge pull request #25055 from acozzette/parse-json
Updated parse_json.cc to rely on config_protobuf.h for protobuf types
2021-01-06 14:48:47 -08:00
Chuan Ren 06cc42eb85 Add support of implicit and explicit flows for external account creds 2021-01-05 13:20:42 -08:00
Adam Cozzette 63ee5b62c2 Updated parse_json.cc to rely on config_protobuf.h for protobuf types
Google's internal version of the gRPC codebase uses a version of
protobuf with a different namespace and include paths. This commit makes
parse_json.cc rely on config_protobuf.h for protobuf types so that it
will work properly in that environment. I also replaced a call to
Status::error_code() with a call to Status::code() instead. This way the
code will work with absl::Status, which has a somewhat different API
compared to google::protobuf::util::Status.
2020-12-23 15:55:17 -08:00
Yash Tibrewal 4105d2ce20 XdsServerBuilder, config fetching per resolved address and delaying bind/listen till fetch is complete 2020-12-16 12:15:52 -08:00
Yash Tibrewal c9e99945ec Add SANs matching for xDS credentials 2020-12-08 15:15:39 -08:00
Esun Kim 20509e823d Fix google-explicit-constructor 2020-12-03 19:22:22 -08:00
Esun Kim decc199ca8 Fix by clang-tidy 2020-12-03 16:24:19 -08:00
Yash Tibrewal 096b2324e1 Experimental API for XdsServerCredentials 2020-12-01 12:47:52 -08:00
Esun Kim 770e67249f Update by review 2020-11-30 15:09:27 -08:00
Esun Kim ac080fd17a Fix readability-inconsistent-declaration-parameter-name manually 2020-11-30 14:22:40 -08:00
Esun Kim e7b9404dc0 Added grpc_stacktrace_minloglevel 2020-11-25 17:16:50 -08:00
ZhenLian d74e43da95 Add File Watcher Certificate Provider API 2020-11-19 13:36:13 -08:00
Esun Kim 09df3a6823 Revert "Enable GPR_ABSEIL_SYNC on Apple"
This reverts commit 2197855c8048f5981070faea8f327eb451701db8.
2020-11-16 22:33:41 -08:00
Esun Kim 55ccc1f4b3 Enable GPR_ABSEIL_SYNC on Apple 2020-11-03 13:35:46 -08:00
Vijay Pai 3a68f3dc6e Remove internal use of deprecated ClientAsyncResponseReaderFactory 2020-11-02 10:56:43 -08:00
Vijay Pai afe4d1d086 Reduce templating for async client unary call codegen 2020-10-30 14:26:47 -07:00
Esun Kim 24d115db36
Merge pull request #24572 from veblush/ios-tests
Prep for Mojave test
2020-10-30 10:15:35 -07:00
Vijay Pai 3ecb008aa0
Merge pull request #24494 from vjpai/server_code_size
Reduce template use in sync server unary calls
2020-10-29 22:56:51 -07:00
ZhenLian d5d35650b0 add API to get last modification time of a file 2020-10-29 10:43:29 -07:00
Esun Kim 94c6766bf1 Conditional GPR_STDCPP_TLS on Apple 2020-10-27 23:19:58 -07:00
ZhenLian 4d80f376a3
Merge pull request #24227 from ZhenLian/zhen_dynamic_file_reloading_3
C-core changes for TLS credentials
2020-10-26 13:38:39 -07:00
Esun Kim 9936d7785c
Merge pull request #24198 from chrisse74/protoUtilsStaticCast
proto_utils.h: suppress conversion warning
2020-10-25 09:26:05 -07:00
Yash Tibrewal a7c18d041b
Merge pull request #24518 from grpc/revert-24255-revert-24063-deprecateminsentarg
Revert "Revert "Deprecate GRPC_ARG_HTTP2_MIN_SENT_PING_INTERVAL_WITHOUT_DATA_MS""
2020-10-23 13:36:19 -07:00
Esun Kim 43333b4232
Merge pull request #24535 from veblush/clean-up-WriteOptions
Clean up WriteOptions cctor
2020-10-23 10:52:58 -07:00
Vijay Pai 96503e3c72 Reduce code paths 2020-10-22 22:29:22 -07:00
ZhenLian 518ed1303c Add Credential Loading From Static Providers For TLS Credentials 2020-10-22 13:55:31 -07:00
Esun Kim 119228e7bb Clean up WriteOptions cctor 2020-10-22 11:11:09 -07:00
Esun Kim d812b0cf38 Fix errors in doxygen param descriptions 2020-10-22 10:42:59 -07:00
Yash Tibrewal 1edc2e78cc
Merge pull request #24362 from yashykt/fdinterceptor
Experimental support and tests for CreateCustomInsecureChannelWithInterceptorsFromFd
2020-10-21 15:53:35 -07:00
Yash Tibrewal b555343dd3
Revert "Revert "Deprecate GRPC_ARG_HTTP2_MIN_SENT_PING_INTERVAL_WITHOUT_DATA_MS"" 2020-10-21 15:29:52 -07:00
Yash Tibrewal 02ca015b13 Experimental support and tests for CreateCustomInsecureChannelWithInterceptorsFromFd 2020-10-21 13:34:26 -07:00
Vijay Pai 6f7a98916b Reduce template use in server 2020-10-21 13:33:16 -07:00
Vijay Pai 476743786b Also reduce templating for ClientUnaryReactor 2020-10-20 04:12:40 -07:00
Vijay Pai 97924fcfb2
Merge pull request #24420 from vjpai/sync_client_code_size_v2
Reduce sync client templating for protobuf without protobuf dependence
2020-10-20 00:08:17 -07:00
Vijay Pai 8f9233ca30
Merge pull request #24423 from vjpai/callback_client_code_size_v2
Reduce templating for unary callback client RPC without protobuf dependence
2020-10-20 00:07:51 -07:00
Esun Kim a62a70207c
Merge pull request #24448 from veblush/clang-format-8
Upgrade clang-format 8
2020-10-19 09:29:35 -07:00
Esun Kim 34789b2d83 Fix by clang-format-8. 2020-10-16 11:37:18 -07:00
Esun Kim f644046981
Revert "Disable C++ TLS on iOS temporarily" 2020-10-16 09:35:05 -07:00
Vijay Pai ef212a908e Reduce sync client templating for protobuf 2020-10-15 04:48:20 -07:00
Vijay Pai 7e72bba162 Reduce templating for unary callback client RPC 2020-10-15 04:47:39 -07:00
Esun Kim 1b356ad6e8 Disable C++ TLS on iOS temporarily 2020-10-10 17:05:27 -07:00
Yash Tibrewal 4013fd9dc9
Merge pull request #24313 from yashykt/xdscredscpp
C++ API to create Xds channel credentials
2020-10-08 22:27:21 -07:00
Yash Tibrewal c52cb09f47 Add experimental XdsCredentials with support for insecure channel_credentials and security_connector 2020-10-08 20:37:47 -07:00
Karthik Ravi Shankar 30ed4a50aa
Merge pull request #24355 from karthikravis/cleanup
Move channel plugin from grpc_impl to grpc
2020-10-08 17:20:08 -07:00
Esun Kim afd0526f4c
Merge pull request #24247 from veblush/tls
Replacing all TLS variants with the C++11 thread_local
2020-10-08 16:24:36 -07:00
Esun Kim 44f138e0b2 Use STDCPP_TLS for major platforms 2020-10-08 13:05:53 -07:00
Esun Kim 1ee0c88817 Add GPR_STDCPP_TLS 2020-10-08 13:05:49 -07:00
Esun Kim 8e9e895ffc Replace grpc_shutdown_blocking with grpc_shutdown 2020-10-08 10:57:05 -07:00
Esun Kim b64d0bf1cb
Merge pull request #24283 from veblush/ndk-bump
Removing TLS workaround for Android NDK r12b
2020-10-07 16:12:24 -07:00
Esun Kim be23ad0ed1
Merge pull request #24282 from veblush/ios-bump
Bump iOS and OSX version
2020-10-07 16:12:16 -07:00
Karthik Ravi Shankar 4f6e13519c Move channel plugin from grpc_impl to grpc
Reverts: https://github.com/grpc/grpc/pull/18375
2020-10-07 12:08:14 -07:00
Yang Gao b02a310857
Merge pull request #24346 from yang-g/creds
Change parameter name to be the same as .cc file
2020-10-07 08:56:06 -07:00
Karthik Ravi Shankar 56b2671e8e
Merge pull request #24338 from karthikravis/cleanup
Move remaining classes to grpc from grpc_impl
2020-10-06 17:12:22 -07:00
yang-g 99684df25b Change parameter name to be the same as .cc file 2020-10-06 16:29:02 -07:00
Karthik Ravi Shankar e549843885 Move remaining classes to grpc from grpc_impl 2020-10-06 13:15:51 -07:00
Yash Tibrewal 48ec53971a gRPC Core API to create Xds channel credentials 2020-10-05 14:52:08 -07:00
Esun Kim 5878808677 Removing TLS workaround for Android NDK r12b. 2020-10-01 09:13:13 -07:00
Esun Kim ccf3cbc6b7 Bump iOS and OSX version 2020-09-30 14:58:30 -07:00
Yash Tibrewal a9fd34a81d
Revert "Deprecate GRPC_ARG_HTTP2_MIN_SENT_PING_INTERVAL_WITHOUT_DATA_MS" 2020-09-28 12:51:15 -07:00
Yash Tibrewal 0122f03961
Merge pull request #24063 from yashykt/deprecateminsentarg
Deprecate GRPC_ARG_HTTP2_MIN_SENT_PING_INTERVAL_WITHOUT_DATA_MS
2020-09-25 10:39:24 -07:00
Yash Tibrewal e0c4475db0 Deprecate GRPC_ARG_HTTP2_MIN_SENT_PING_INTERVAL_WITHOUT_DATA_MS and make it non-effective 2020-09-24 13:52:46 -07:00
Mark D. Roth 7baf55e473 Stop propagating parent channel args into xDS channel. 2020-09-23 15:09:07 -07:00
Vijay Pai 0809fd8b17
Merge pull request #24177 from vjpai/server_call_startup
Fix server backlog processing to not set stream until backlog cleared
2020-09-23 09:34:29 -07:00
Vijay Pai f8b046e819 Eliminate ServerContextBase::Clear/Setup and fix unref process for core call 2020-09-22 00:37:25 -07:00
Christian Maurer d48e350d58 Remove conversion warning by static casting 2020-09-21 16:34:05 +02:00
Vijay Pai 346a00eb31 Cleanup generic server contexts 2020-09-19 12:29:32 -07:00
Karthik Ravi Shankar 0839200623 Fix the method_handler_impl public header
This header is pointing to a deleted file. This commit points it to the
file containing the public class.
2020-09-18 11:45:38 -07:00
Karthik Ravi Shankar c713a11982 Delete some files from previous PR
Some files were left off from https://github.com/grpc/grpc/pull/24082
This PR completes the cleanup.
2020-09-18 11:34:39 -07:00
Vijay Pai b427807f3b Fix server backlog processing to not set stream until backlog cleared 2020-09-17 15:38:06 -07:00
Karthik Ravi Shankar 30ed2f513f
Merge pull request #24082 from karthikravis/sync-stream
Move async, callback and sync implementation from grpc_impl to grpc namespace
2020-09-17 10:47:59 -07:00
Vijay Pai 6bbe905e27
Remove invalid forward declaration 2020-09-10 16:56:41 -07:00
Karthik Ravi Shankar 9450596bc1 Fix end2end tests 2020-09-08 16:09:12 -07:00
Karthik Ravi Shankar 375d92be8d Merge branch 'master' into sync-stream 2020-09-08 15:14:48 -07:00
Yash Tibrewal 139895d2c8
Merge pull request #23894 from yashykt/removegrpcchannelping
Remove grpc_channel_ping from surface API
2020-09-08 11:33:29 -07:00
Karthik Ravi Shankar 70e043a53a Fix opencensus
Fix the ServerContext namespace in opencensus
2020-09-03 08:20:31 -07:00
Karthik Ravi Shankar 67667eb7b6 Revert ... 2020-09-03 08:16:10 -07:00
Karthik Ravi Shankar b657c8d79c
Revert "Revert "Move ServerContext from ::grpc_impl to ::grpc"" 2020-09-02 10:17:00 -07:00
Karthik Ravi Shankar f1abdd1725
Revert "Move ServerContext from ::grpc_impl to ::grpc" 2020-09-01 22:54:54 -07:00
Karthik Ravi Shankar 9afbf02198 Merge branch 'master' into server-context 2020-08-31 17:37:37 -07:00
Yash Tibrewal 4a03ce5a14 Remove grpc_channel_ping from surface API 2020-08-20 17:07:04 -07:00
Karthik Ravi Shankar 967c0a2a32 Move Server from ::grpc_impl to ::grpc
Reverts: https://github.com/grpc/grpc/pull/18458
2020-08-20 14:53:17 -07:00
Karthik Ravi Shankar c6f2c3206a Merge branch 'master' into server-context 2020-08-20 14:23:07 -07:00
Karthik Ravi Shankar a23578444c Fix and format build after rebase 2020-08-20 14:17:49 -07:00
Vijay Pai e3f0262413
Remove incorrect forward reference 2020-08-20 00:04:34 -07:00
Karthik Ravi Shankar dc3e1097e9 Merge branch 'master' into server-context 2020-08-19 14:18:27 -07:00
ZhenLian 0369675656
Merge pull request #23848 from grpc/zhen_alts_peer_attr_plumbing
ALTS peer attributes plumbing
2020-08-19 11:59:46 -07:00
Vijay Pai d4766cef2d
Merge pull request #23859 from grpc/vjpai-patch-1
Document purpose of `grpc/impl/codegen`
2020-08-17 13:44:36 -07:00
Karthik Ravi Shankar d6ad6d16d2
Merge pull request #23795 from karthikravis/client-context
Move ClientContext from ::grpc_impl to ::grpc
2020-08-17 12:17:48 -07:00
Vijay Pai 8a3c0a8c95 Justify existence of this directory 2020-08-17 11:42:36 -07:00
ZhenLian 0cdc36f64f ALTS peer attributes plumbing 2020-08-14 17:27:57 -07:00
Vijay Pai 355c7b26d4
Update README.md 2020-08-14 11:34:48 -07:00
Vijay Pai 7dd4e786cd
Justify this directory's existence 2020-08-14 11:28:03 -07:00
Karthik Ravi Shankar 56d7d9e804 Move ServerContext from ::grpc_impl to ::grpc 2020-08-13 14:24:29 -07:00
Karthik Ravi Shankar 751b9c105f Move ClientContext from ::grpc_impl to ::grpc
Reverts: https://github.com/grpc/grpc/pull/19261
2020-08-11 16:28:50 -07:00
Karthik Ravi Shankar 15cce00f52
Revert "Revert "Fold Channel and CompletionQueue from grpc_impl to grpc"" 2020-08-06 20:42:54 -07:00
Karthik Ravi Shankar f3f9e8941a
Revert "Fold Channel and CompletionQueue from grpc_impl to grpc" 2020-08-06 15:56:09 -07:00
Karthik Ravi Shankar d3e7670c84 Fix formatting 2020-08-05 23:14:42 -07:00
Karthik Ravi Shankar 1d22e8fc81 Make fixes to ChannelArguments namespace 2020-08-05 15:46:26 -07:00
Karthik Ravi Shankar 53ef962e8c Fix year modified for completion_queue.h 2020-08-05 15:24:39 -07:00
Karthik Ravi Shankar bc58a29a5f Merge branch 'master' into channel 2020-08-05 15:21:01 -07:00
Karthik Ravi Shankar b73f7acb34
Merge pull request #23691 from karthikravis/channel-arguments
Move ChannelArguments from ::grpc_impl to ::grpc
2020-08-05 14:28:29 -07:00
Karthik Ravi Shankar ab775de1a2 Build and formatting fixes 2020-08-04 13:31:42 -07:00
Karthik Ravi Shankar 390132c87f Merge branch 'master' into channel 2020-08-04 11:48:10 -07:00
Karthik Ravi Shankar 75469d7ec0 Merge branch 'master' into channel-arguments 2020-08-04 11:39:11 -07:00
Karthik Ravi Shankar e7197614ba Merge branch 'master' into server-builder 2020-08-04 11:36:35 -07:00
Karthik Ravi Shankar 5d73e3af27 Remove error_details_impl.h
https://github.com/grpc/grpc/pull/23601 should have removed
error_details_impl.h, but it did not.

This PR fixes this oversight.
2020-08-03 11:26:38 -07:00
Karthik Ravi Shankar 9d81adf3ce
Merge pull request #23600 from karthikravis/server-credentials
Move ServerCredentials from ::grpc_impl to ::grpc
2020-07-31 10:50:32 -07:00
Esun Kim 7948a5c690 Disable GPR_ABSEIL_SYNC on Apple platforms 2020-07-30 23:14:47 -07:00
Karthik Ravi Shankar 6de44304fa Fix namespace in different files. 2020-07-30 17:02:10 -07:00
Esun Kim 4f2c74450f
Merge pull request #23687 from veblush/no-absl-lock-on-mac
Disable GPR_ABSEIL_SYNC on Apple platforms
2020-07-30 17:00:22 -07:00
Karthik Ravi Shankar 3c2f4b40e3 Fold Channel and CompletionQueue from grpc_impl to grpc
Reverts: https://github.com/grpc/grpc/pull/19067
2020-07-30 16:45:28 -07:00
Karthik Ravi Shankar 30f7710d4a Move ChannelArguments from ::grpc_impl to ::grpc
Reverts: https://github.com/grpc/grpc/pull/18454
2020-07-30 14:59:53 -07:00
Karthik Ravi Shankar 8da057cc95 Fix formatting 2020-07-30 14:52:30 -07:00
Karthik Ravi Shankar b187b4e3d0 Fix namespace in server_builder.h 2020-07-30 14:51:47 -07:00
Karthik Ravi Shankar 041954ac06 Move ServerBuilder from ::grpc_impl to ::grpc
Revert https://github.com/grpc/grpc/pull/18510
2020-07-30 14:38:09 -07:00
Esun Kim 218c18d15d Disable GPR_ABSEIL_SYNC on Apple platforms 2020-07-30 13:43:55 -07:00
Karthik Ravi Shankar 555d34ea7c Make fixes in server_builder_impl.h 2020-07-30 12:26:36 -07:00
Karthik Ravi Shankar 2a2232275b Merge branch 'master' into fold-errors 2020-07-29 09:59:35 -07:00
Karthik Ravi Shankar 26fadb15c4 Fix header guards 2020-07-29 09:59:20 -07:00
Karthik Ravi Shankar be7bab5cb8 Merge branch 'master' into server-credentials 2020-07-28 16:30:07 -07:00
Esun Kim 68a1222f48
Merge pull request #23372 from veblush/on-GPR_ABSEIL_SYNC
Enabled GPR_ABSEIL_SYNC
2020-07-28 12:26:15 -07:00
Esun Kim 3ac116f1cb Enabled GPR_ABSEIL_SYNC 2020-07-27 20:00:26 -07:00
Karthik Ravi Shankar dbec2415bf More local fixes 2020-07-27 11:37:19 -07:00
Karthik Ravi Shankar 1de0bfd9e2
Revert "Revert "Move create_channel and credentials from ::grpc_impl to ::grpc"" 2020-07-24 12:47:33 -07:00
Karthik Ravi Shankar f1bc43edf6
Revert "Move create_channel and credentials from ::grpc_impl to ::grpc" 2020-07-24 11:08:54 -07:00
Karthik Ravi Shankar db3cd51b2f Move ErrorDetails from ::grpc_impl to ::grpc
Reverts: https://github.com/grpc/grpc/pull/18455
2020-07-23 16:58:51 -07:00
Karthik Ravi Shankar 2fc4cfadcf Move ServerCredentials from ::grpc_impl to ::grpc
Reverts: https://github.com/grpc/grpc/pull/18452
2020-07-23 16:18:23 -07:00
Karthik Ravi Shankar e0252b1362 Make fixes to cronet_credentials.h 2020-07-23 15:45:32 -07:00
Karthik Ravi Shankar 9ad399384a Merge branch 'master' into create-channel 2020-07-23 00:47:36 -07:00
Richard Belleville 089d90933a
Merge pull request #23203 from gnossen/python_google_default_creds
Implement compute_engine_channel_credentials in Python
2020-07-22 13:14:54 -07:00
Karthik Ravi Shankar 3253bb32e7
Merge pull request #23471 from karthikravis/proto-server
Move ProtoServerReflectionPlugin from grpc_impl to grpc namespace
2020-07-16 14:14:41 -07:00
Karthik Ravi Shankar 30faf1e880
Merge pull request #23470 from karthikravis/load-reporting
Move LoadReportingServiceServerBuilderOption from ::grpc_impl to ::grpc
2020-07-16 13:35:42 -07:00
Karthik Ravi Shankar 3a9e1ef1b7 Make more fixes for moving GenericStub from ::grpc_impl to ::grpc 2020-07-16 12:13:47 -07:00
Karthik Ravi Shankar 53a5ad34c0
Merge pull request #23469 from karthikravis/generic-stub
Move GenericStub from ::grpc_impl to ::grpc
2020-07-16 11:45:06 -07:00
Richard Belleville 2953af1b70 Call out unexpected behavior 2020-07-14 02:09:55 +00:00
Karthik Ravi Shankar 011840d398 Fix formatting 2020-07-13 15:52:39 -07:00
Karthik Ravi Shankar c0ade4d05a Fix tests 2020-07-13 15:31:30 -07:00
Karthik Ravi Shankar f9fac8a6b7 Move ProtoServerReflectionPlugin from grpc_impl to grpc namespace
Reverts: https://github.com/grpc/grpc/pull/18600
2020-07-13 14:57:01 -07:00
Karthik Ravi Shankar 69f8d308cb Move LoadReportingServiceServerBuilderOption from ::grpc_impl to ::grpc
Reverts: https://github.com/grpc/grpc/pull/18419/files
2020-07-13 14:50:33 -07:00
Karthik Ravi Shankar f71801ffd6 Move GenericStub from ::grpc_impl to ::grpc
Reverts: https://github.com/grpc/grpc/pull/18434
2020-07-13 14:45:33 -07:00
Karthik Ravi Shankar c29ffe6494 Move AuthMetaDataProcessor from ::grpc_impl to ::grpc
Reverts: https://github.com/grpc/grpc/pull/18436/files
2020-07-13 14:34:50 -07:00
Karthik Ravi Shankar 3b2d26daac Fix formatting 2020-07-13 13:19:18 -07:00
Karthik Ravi Shankar e6a6fdb313 Fix secure test 2020-07-13 13:05:42 -07:00
Richard Belleville 2b4b484e1f Typo 2020-07-13 19:11:56 +00:00
Richard Belleville 36a78115ea Reorganize header 2020-07-13 18:43:30 +00:00
Karthik Ravi Shankar decb53ccc0 Fix build error 2020-07-13 11:07:16 -07:00
Karthik Ravi Shankar 1999b20c7d Merge branch 'master' into create-channel 2020-07-13 10:58:31 -07:00
Richard Belleville 56ed8f3be4 Merge remote-tracking branch 'origin/master' into python_google_default_creds 2020-07-10 01:09:58 +00:00
Richard Belleville e9a90ab30a Clean up 2020-07-10 00:44:59 +00:00
Richard Belleville ff5f4bb6fc Add test 2020-07-10 00:31:23 +00:00
Yash Tibrewal e2bd6d9f29
Merge pull request #23415 from yashykt/genericfailsend
Fix FailHijackedRecvMessage for generic async APIs
2020-07-08 19:11:05 -07:00
Vijay Pai 7842ef6035
Merge pull request #23258 from tweej/I_is_reserved
I is a reserved identifier
2020-07-08 13:50:51 -07:00
Richard Belleville a03e8efdf5 Make warning more dire 2020-07-08 19:41:38 +00:00
Yash Tibrewal a80bb13fd0 Fix FailHijackedRecvMessage for generic async APIs 2020-07-07 12:32:52 -07:00
Vijay Pai 2b0f14d54d
Don't drop message on WriteAndFinish with non-ok status 2020-07-07 01:38:44 -07:00
Richard Belleville c8a8a6aea4 Get new core API design building 2020-07-07 00:18:42 +00:00
Karthik Ravi Shankar 331519496e Merge branch 'master' into create-channel 2020-07-01 15:15:39 -07:00
Esun Kim 9e5bec9e4a
Merge pull request #23371 from veblush/del-GRPC_USE_ABSL
Removed GRPC_USE_ABSL
2020-07-01 10:18:17 -07:00
matthewstevenson88 c1e07d8308
Merge pull request #23165 from matthewstevenson88/matt-tls13
Enable TLS 1.3 in the C-core and all wrapped languages.
2020-07-01 07:56:18 -07:00
Esun Kim 2c179f5b13 Removed GRPC_USE_ABSL 2020-06-30 21:56:30 -07:00
Karthik Ravi Shankar 44f721eeb0 Merge branch 'master' into create-channel 2020-06-30 15:52:24 -07:00
Esun Kim 165ee5007a Replaced grpc::string with std::string 2020-06-29 17:56:36 -07:00
Karthik Ravi Shankar adcc46abeb
Merge pull request #23345 from karthikravis/revert-23294-revert-23182-server-builder
Revert "Revert "Move ServerBuilder back to ::grpc from ::grpc_impl""
2020-06-29 16:22:53 -07:00
Karthik Ravi Shankar 4e86fa660b
Merge pull request #23305 from karthikravis/channel-posix
Move create_channel_posix from ::grpc_impl to ::grpc
2020-06-29 15:27:17 -07:00
Karthik Ravi Shankar ae4444b072
Merge pull request #23304 from karthikravis/server-posix
Move server posix from ::grpc_impl to ::grpc
2020-06-29 14:55:30 -07:00
Karthik Ravi Shankar 98ae9851d8 Merge branch 'master' into create-channel 2020-06-29 12:12:10 -07:00
Karthik Ravi Shankar 7aadac509c Merge branch 'master' into revert-23294-revert-23182-server-builder 2020-06-29 11:07:17 -07:00
Jan Tattermusch 9480fa2db4
Merge pull request #23221 from chalin/chalin-grpc-io-link-fixes-200616
Update links to grpc.io guides in header files
2020-06-29 13:56:40 +02:00
Richard Belleville 236a089ca6 Mark core API as experimental 2020-06-26 22:52:07 +00:00
Alexander Polcyn b88c0a22c7 Fix use-after-free in ruby call creds 2020-06-26 13:26:54 -07:00
Richard Belleville 69aa887e4f Expose gce tenancy as a function 2020-06-26 02:09:46 +00:00
Richard Belleville 4fefc6235f Let the wrapped language create the composite credential 2020-06-25 23:39:27 +00:00
Richard Belleville 3bdc5bb4d1 Change name to compute_engine_channel_credentials 2020-06-25 21:36:36 +00:00
Richard Belleville 257fd6953e Format 2020-06-25 06:06:45 +00:00
Richard Belleville 05ace24a7c Implement gce_channel_credentials in core 2020-06-25 04:37:25 +00:00
Karthik Ravi Shankar 18cc2f6f34 Formatting fixes 2020-06-24 21:25:33 -07:00
Karthik Ravi Shankar a94d8a1919 Make build and formatting fixes 2020-06-24 17:42:22 -07:00
Karthik Ravi Shankar 7f2eaaabac Move create_channel and credentials from ::grpc_impl to ::grpc
Reverts: https://github.com/grpc/grpc/pull/18374 and
https://github.com/grpc/grpc/pull/18444

Credentials and create_channel are very closely intertwined, so it is
easier to migrate them together.
2020-06-24 17:34:06 -07:00
Matthew Stevenson 6822dd1d1e Merge remote-tracking branch 'upstream/master' into matt-tls13 2020-06-24 13:29:45 -07:00
Karthik Ravi Shankar ecbbc03c3d Move create_channel_posix from ::grpc_impl to ::grpc
Revert https://github.com/grpc/grpc/pull/18373
2020-06-24 13:00:25 -07:00
Karthik Ravi Shankar 0a13321f15 Merge branch 'master' into server-posix 2020-06-24 12:47:58 -07:00
Karthik Ravi Shankar 9db914a0cc
Revert "Revert "Move ServerBuilder back to ::grpc from ::grpc_impl"" 2020-06-24 12:28:27 -07:00
Karthik Ravi Shankar 0f64d1f96b
Revert "Move ServerBuilder back to ::grpc from ::grpc_impl" 2020-06-23 18:42:35 -07:00
Karthik Ravi Shankar 6a430fdb80
Merge pull request #23182 from karthikravis/server-builder
Move ServerBuilder back to ::grpc from ::grpc_impl
2020-06-23 16:02:21 -07:00
Karthik Ravi Shankar 3c90c762b3 Move ServerPosix from ::grpc_impl to ::grpc
Revert https://github.com/grpc/grpc/pull/18372/files
2020-06-23 13:56:08 -07:00
Karthik Ravi Shankar f27c30ef60 Fix formatting 2020-06-23 12:49:36 -07:00
Karthik Ravi Shankar 133f38a885 Make changes for ResourceQuota and friend namespaces. 2020-06-23 12:24:14 -07:00
Karthik Ravi Shankar 7166d0124d Merge branch 'master' into server-builder 2020-06-23 12:09:08 -07:00
Karthik Ravi Shankar 8e5d8e64d3 Fix formatting 2020-06-23 12:07:17 -07:00
Karthik Ravi Shankar 4a930208e7 Merge branch 'master' into healthcheck 2020-06-23 12:04:32 -07:00
Karthik Ravi Shankar 70465c92ec
Merge pull request #23180 from karthikravis/opencensus
Move OpenCensus back to ::grpc from ::grpc_impl
2020-06-23 11:31:43 -07:00
Karthik Ravi Shankar 1bf54724f4 Merge branch 'master' into healthcheck 2020-06-22 17:24:40 -07:00
Karthik Ravi Shankar f0d2aff3c7 Merge branch 'master' into opencensus 2020-06-22 17:24:05 -07:00
Karthik Ravi Shankar 6657ea64eb Merge branch 'master' into resource-quota 2020-06-22 17:22:53 -07:00
Karthik Ravi Shankar 0ac5d5e111 Fix build error 2020-06-22 14:00:22 -07:00
Karthik Ravi Shankar 31e6b69c8e Merge branch 'master' into server-builder 2020-06-22 13:59:33 -07:00
Patrice Chalin a5c9b22cc9 Fix the grpcpp.h formatting. 2020-06-22 11:39:03 -04:00
Patrice Chalin 5be0b22dc0 Update links to grpc.io guides in header files 2020-06-22 11:32:59 -04:00
T.J. Mercier d8c9ab1645 I is a reserved identifier 2020-06-19 20:54:26 -07:00
Matthew Stevenson 32c0846d45 Add TLS 1.2 testing. 2020-06-18 20:25:50 -07:00
Vijay Pai 5ef722a2c9 Privatize MaybeFinish 2020-06-17 12:06:55 -07:00
Vijay Pai 7eebba3781 Fixes needed to make roll-forward of StartCall and corking work 2020-06-16 13:06:16 -07:00
Vijay Pai 278671072f
Revert "Revert "Fix StartCall: make corking work and allow concurrent Start*"" 2020-06-16 12:20:19 -07:00
Esun Kim 23e1d30327 Removes manylinux1-specific instructions 2020-06-15 21:17:56 -07:00
Vijay Pai b269fdbf8b Don't mark server RPC canceled if finished with non-OK status 2020-06-11 10:15:05 -07:00
Karthik Ravi Shankar ac68bf72b6 Move HealthCheckInterface from ::grpc_impl to ::grpc
Revert #18371
2020-06-10 23:01:54 -07:00
Karthik Ravi Shankar 934cf3e3df Move ServerBuilder back to ::grpc from ::grpc_impl
Revert #18510
2020-06-10 22:47:29 -07:00
Karthik Ravi Shankar 7fa6826134 Merge branch 'master' into opencensus 2020-06-10 17:47:16 -07:00
Karthik Ravi Shankar e55267a6fd Resolve conflicts 2020-06-10 17:41:45 -07:00
Karthik Ravi Shankar 89763a96fd Move OpenCensus back to ::grpc from ::grpc_impl
Revert - Revert "Revert "Fold opencensus into grpc_impl namespace"" #18396
2020-06-10 17:36:58 -07:00
Karthik Ravi Shankar f795f604c8 Add build changes to move ResourceQuota from grpc_impl to grpc 2020-06-10 17:27:22 -07:00
Karthik Ravi Shankar 451436e154 Revert https://github.com/grpc/grpc/pull/18345
Move ResourceQuota to grpc.
2020-06-10 17:24:33 -07:00
Yash Tibrewal ae4687af4a Remove window update frames from the pings doc 2020-06-05 14:30:56 -07:00
Yash Tibrewal 082f1ae887 Update pings channel args documentation 2020-06-05 12:01:43 -07:00
Karthik Ravi Shankar 11c54ada0d
Revert "Fix StartCall: make corking work and allow concurrent Start*" 2020-06-02 11:11:06 -07:00
Yash Tibrewal 62e4d25534
Merge pull request #23021 from Dlougach/patch-1
Include <memory> for std::unique_ptr
2020-06-01 13:00:23 -07:00
Karthik Ravi Shankar a826ee43a7
Merge pull request #21876 from 3vilM33pl3/master
Move windows.h to before check for minimum version instead of after
2020-05-27 10:10:05 -07:00
Jacob Dlougach 35ab5bc616
Include <memory> for std::unique_ptr
Currently `#include <grpcpp/support/interceptor.h>` in some compilers (gcc 8, for example) will fail due to missing `<memory>` include. This PR fixes this issue.
2020-05-21 14:17:45 +01:00
Vijay Pai 899cbcab96 Fix StartCall: make corking work and allow concurrent Start* 2020-05-20 10:02:22 -07:00
Mark D. Roth 2ba3f8e7f9 Trigger xds routing support via env var instead of channel arg. 2020-05-15 09:11:34 -07:00
Esun Kim 2b329d4c0c
Merge pull request #22325 from veblush/sanitizer-option
Added GRPC_TSAN_SUPPRESSED and GRPC_ASAN_SUPPRESSED
2020-05-13 16:48:42 -07:00
jiangtaoli2016 12a6435557 TlsCredentialsOption API optimization 2020-05-11 22:46:11 -07:00
Yang Gao 37a1630d37
Merge pull request #22383 from yang-g/server_comment
Add comment for error case
2020-05-11 10:33:46 -07:00
ZhenLian 2252895011
Merge pull request #22863 from ZhenLian/zhen_tmp_branch
Expose Peer SPIFFE Identity
2020-05-08 09:24:00 -07:00
Yash Tibrewal 8051d956af
Merge pull request #22429 from pavelsimo/patch-1
Fix typo in CallOpSet comments
2020-05-08 06:35:33 -07:00
Yash Tibrewal 32a2310516
Merge pull request #20866 from klfreeman/master
Add GRPC_ARG_HTTP_PROXY channel argument.
2020-05-08 06:27:16 -07:00
ZhenLian 9f92365657 Expose Peer SPIFFE Identity 2020-05-05 10:57:54 -07:00
Yash Tibrewal 6a6481cb83 Reviewer comments 2020-04-30 15:44:48 -07:00
Yash Tibrewal e714d0fcb8 Reviewer comments 2020-04-28 13:24:23 -07:00
Yash Tibrewal edbae5d8e6 Fix interceptor batch method FailHijackedRecvMessage for async APIs 2020-04-22 23:05:57 -07:00
Vijay Pai b797dbec3e Allocating request matcher to support C++ callback API 2020-04-22 10:53:08 -07:00
donnadionne baa442e6e4
Merge pull request #22280 from donnadionne/route_response
Xds Routing LB Policy
2020-04-17 12:45:39 -07:00
Yash Tibrewal b7941bedf3
Merge pull request #22575 from yashykt/newfilter
Move decompression into gRPC Core
2020-04-16 15:21:01 -07:00
Yash Tibrewal 67779b1b18 Reviewer comments 2020-04-16 11:37:53 -07:00
Donna Dionne a70abab157 Merge remote-tracking branch 'upstream/master' into route_response 2020-04-14 12:53:18 -07:00
Yash Tibrewal 633719d104 Revert API changes to byte buffer reader 2020-04-14 11:39:40 -07:00
Yash Tibrewal d24387ae4f Removing compression from grpc_byte_buffer_reader, removing ManualConstructor in decompress filter and fixing tests 2020-04-13 17:29:27 -07:00
Mark D. Roth dc976d2a77 xds: Remove fallback code and support for old xds LB configs. 2020-04-13 11:09:36 -07:00
Donna Dionne 1ae804c8c0 Fixing code review comments:
- Fixing for comments in all except for test file
- Multi-purpose test_service_impl.h as oppose
to creating new files.
2020-04-11 21:39:40 -07:00
Yash Tibrewal aca1145bb6 Fix C Core tests 2020-04-10 16:43:29 -07:00
Yash Tibrewal 3c34eae97e Move decompression into gRPC Core 2020-04-10 16:43:29 -07:00
Donna Dionne 8a8ca5436b Added grpc arg to enable xds routing and restore old tests. 2020-04-10 01:26:05 -07:00
Mark D. Roth f8f6034d1a Refactor xds LB policy 2020-04-07 14:03:01 -07:00
Vijay Pai 397b3ee72e
Do a debug-check of API use 2020-03-31 16:03:44 -07:00
Vijay Pai 03fffe0fcb
Document that AddMultipleHolds argument must be positive 2020-03-31 13:42:32 -07:00
Vijay Pai ee3952f72b
Merge pull request #22483 from vjpai/lambdify
Remove all std::mem_fn and std::bind from service definitions and setup
2020-03-26 23:52:06 -07:00
Kislay Kishore bf3954c8cc
Fix typo
clinet -> client
2020-03-26 09:45:11 +05:30
Vijay Pai c86cfc305c Remove all std::mem_fn and std::bind from service definitions and setup 2020-03-25 16:48:36 -07:00
Pavel Simó b91d433ba4
Fix typo 2020-03-20 14:13:51 +01:00
Vijay Pai 2b01d07ded
Merge pull request #22386 from vjpai/docs
Add useful comments
2020-03-19 13:57:06 -07:00
ZhenLian c97492faf0
Merge pull request #22370 from grpc/zhen_error_details_fix
[ImproveTLS] add a wrapper to error_detail in C core args
2020-03-18 14:58:07 -07:00
ZhenLian 738272f3a8 [ImproveTLS] add a wrapper to error_detail in C core args 2020-03-18 09:35:39 -07:00
Vijay Pai 33f4b8336e Add useful comments 2020-03-17 14:29:34 -07:00
yang-g b0ae82fe42 Add comment for error case 2020-03-17 10:55:48 -07:00
Esun Kim c17d1932fd Added GRPC_TSAN_SUPPRESSED and GRPC_ASAN_SUPPRESSED 2020-03-12 10:14:47 -07:00
Karthik Ravi Shankar 7c2b70d04a Fix clang format issue 2020-03-11 12:04:33 -07:00
Karthik Ravi Shankar 3e631d0e97 Fix build error 2020-03-05 19:07:52 -08:00
Karthik Ravi Shankar 162d3d76cb Fix build error due to remaining ::grpc_impl references 2020-03-05 18:55:14 -08:00
Karthik Ravi Shankar 4c75b5c06b Revert "Revert "Revert "Fold opencensus into grpc_impl namespace"""
This reverts commit f66b654795.
2020-03-05 18:22:03 -08:00
Zhen Lian cbc977204b [ImproveTLS] fix memory leak issue from users' perspective 2020-03-04 17:04:06 -08:00
Esun Kim 415d41f9e8 Rerun clang-formatter-7 2020-03-03 10:46:55 -08:00
Vijay Pai e859aa8169
Update server_callback_impl.h 2020-02-27 14:16:25 -08:00
Moiz Haidry 1d47046807 Merge from HEAD 2020-02-27 11:00:28 -08:00
Vijay Pai fe72304e54 Switch registered calls to a map and check the map before inserting 2020-02-27 09:13:42 -08:00
Moiz Haidry 0c5545a894 Merge from HEAD after build.yam autogenration 2020-02-27 08:15:00 -08:00
Moiz Haidry 88b0d84905 Addressed Vijay's comments, fixed string headers 2020-02-26 18:06:26 -08:00
Jan Tattermusch 3bb4d312df regenerate projects 2020-02-26 19:58:42 -05:00
Moiz Haidry 4c5ee108da Addressed Yang's comments, I have removed usage of const throughout for consistency 2020-02-26 14:14:33 -08:00
Moiz Haidry ede2ffc1a8 Addressed Mark's comments 2020-02-26 12:51:35 -08:00
Moiz Haidry 67565b767d CallCredentials debug string API 2020-02-25 16:09:03 -08:00
matthewstevenson88 ee020be62c
Merge pull request #21932 from matthewstevenson88/tls-credentials-1
Updates to TLS credentials, version 4
2020-02-20 09:16:45 -08:00
Vijay Pai 3620abf059 Properly follow precise conditions for callback inlining 2020-02-20 01:34:30 +00:00
Yash Tibrewal 820ee53030
Merge pull request #22000 from yashykt/unusedparams
Remove some unused parameter warnings
2020-02-13 16:23:19 -08:00
Esun Kim aa666f4b76
Merge pull request #21996 from veblush/deadline-catch
Delete default TimePoint constructor to detect error at compile time
2020-02-13 12:34:15 -08:00
Esun Kim cf618b1b8c Removed unused sync_[no]_cxx11 files 2020-02-13 09:26:51 -08:00
Esun Kim fd72a70e7d Update by review 2020-02-13 09:11:51 -08:00
Yash Tibrewal 4a02ff7747 Remove some unused parameter warnings 2020-02-12 17:56:34 -08:00
Esun Kim 89908faede Delete default TimePoint constructor to detect error at compile time 2020-02-12 12:20:36 -08:00
Esun Kim 9b5e418ed0
Merge pull request #21986 from veblush/absl-lock-pre
Added abseil-based sync
2020-02-11 17:12:17 -08:00
Esun Kim 0b26a2ff56 Added abseil-based sync 2020-02-11 14:44:25 -08:00
Vijay Pai 06ca713df0 Instantiate tracking members regardless of NDEBUG 2020-02-11 13:54:25 -08:00
Vijay Pai 6b2aeec9f3 Revert "Revert "Revert "Revert "Log an error (in dbg mode) if CQ is Shutdown before its Server(s)"""" 2020-02-11 13:50:53 -08:00
Vijay Pai ac0db94cb1 Allow separate templatizing of request and response types 2020-02-07 00:46:29 -08:00
Vijay Pai 0dda2e45b7 Templatize generic stub 2020-02-06 22:53:00 -08:00
Vijay Pai 7aaacb4bd9 Remove some grpc_impl:: 2020-02-06 22:50:02 -08:00
Matthew Stevenson 924aace7dc Version 4. 2020-02-06 08:51:41 -08:00
matthewstevenson88 ee7ae056e5
Revert "Updates to TLS credentials, version 3" 2020-02-05 13:52:46 -08:00
Vijay Pai 152f46b5f6 Move generic stub implementation to header (prepare for templates) 2020-02-04 23:42:22 -08:00
3vilM33pl3 5ae942e6cc
Move windows.h to before check for minimum version instead of after
This tests the value of _WIN32_WINNT before including windows.h. This is the wrong thing to do. If you want to require a minimum version you firts include windows,h and then check _WIN32_WINNT.

As described in this issue: https://github.com/microsoft/vcpkg/issues/7281
2020-02-03 17:23:17 +00:00
Matthew Stevenson f557437b51 Add back changes. 2020-01-30 15:26:51 -08:00
matthewstevenson88 b94490bc74
Merge pull request #21828 from grpc/revert-21804-tls-credentials-1
Revert "Updates to TLS credentials, version 2"
2020-01-29 13:51:42 -08:00
matthewstevenson88 9e0b87f523
Revert "Updates to TLS credentials, version 2" 2020-01-29 12:24:21 -08:00
Nicolas Noble de76cf8522
Stop using ByteSize as it's deprecated.
Fixes #21603
2020-01-29 10:46:19 -08:00
matthewstevenson88 deb59ef6c0
Merge pull request #21804 from matthewstevenson88/tls-credentials-1
Updates to TLS credentials, version 2
2020-01-28 09:40:56 -08:00
Lidi Zheng 312b31c264
Merge pull request #21806 from grpc/revert-21767-revert-21725-revert-21680-cq_ordering
Revert "Revert "Revert "Log an error (in dbg mode) if CQ is Shutdown before its Server(s)"""
2020-01-27 16:34:45 -08:00
Mark D. Roth 404d235153
Merge pull request #21775 from markdroth/xds_timeout
Support xds request timeouts.
2020-01-27 15:50:46 -08:00
Vijay Pai 15d808abae
Merge pull request #21774 from vjpai/lazy_default_reactor
Construct DefaultReactor lazily since not always needed
2020-01-27 14:23:42 -08:00
Lidi Zheng cd086cb3e4
Revert "Revert "Revert "Log an error (in dbg mode) if CQ is Shutdown before its Server(s)""" 2020-01-27 14:10:44 -08:00
Matthew Stevenson e18defc303 Fix attempt #2. 2020-01-27 12:47:32 -08:00
Mark D. Roth d7a91d59bb Support xds request timeouts. 2020-01-27 11:27:44 -08:00
Vijay Pai a801ccbdc8 Reinterpret_cast after in-place new... 2020-01-24 12:25:51 -08:00
matthewstevenson88 26d50f726a
Revert "Collect TLS-specific changes from PR 20568." 2020-01-23 12:34:43 -08:00
Vijay Pai 1f0cdd5aad Construct DefaultReactor lazily since not always needed 2020-01-23 08:52:21 -08:00
Vijay Pai 16f2250585 Revert "Revert "Log an error (in dbg mode) if CQ is Shutdown before its Server(s)"" 2020-01-22 21:58:35 -08:00
Vijay Pai a50e265f1b
Merge pull request #21741 from vjpai/clarify_comments
Clarify ownership in comments
2020-01-22 21:54:19 -08:00
Matthew Stevenson 5cfff04ce9 Collect TLS-specific changes from PR 2-568. 2020-01-22 13:06:22 -08:00
Vijay Pai 64281e8c79 Clarify ownership in comments 2020-01-21 10:45:04 -08:00
Jan Tattermusch e7d5ca0b46
Revert "Log an error (in dbg mode) if CQ is Shutdown before its Server(s)" 2020-01-20 14:42:29 +01:00
Vijay Pai 6466c7f166 Log an error (in dbg mode) if CQ is Shutdown before its Server(s) 2020-01-16 11:51:44 -08:00
Yihua Zhang c8c284ed3a merge with upstream/master 2020-01-07 15:33:26 -08:00
yihuaz e9665070b9
Merge pull request #21423 from akshayku/full-chain-callback-experimental
Add Support for Full Chain Callbacks - experimental namespace
2020-01-07 14:57:13 -08:00
Yihua Zhang 62005e4290 Merge remote-tracking branch 'upstream/master' into grpc_security_level_negotiation 2020-01-07 13:10:08 -08:00
Akshay Kumar 02371b7569 FullChainExperimental-01-200106-ssl_transport_security_test-4 2020-01-07 11:22:00 -08:00
Yang Gao b07d7f1485
Merge pull request #21597 from yang-g/max_message_size
Allow plugin/global_callback to override max_recv_message_size
2020-01-07 08:42:32 -08:00
Arjun Roy 48f026d90e gRPC TCP Transmit-side Zerocopy.
Implements TCP Tx-side zerocopy. Must be explicitly enabled to use.

For large RPCs (>= 16KiB) it reduces the amount of CPU time spent
since it avoids a userspace to kernel data buffer copy. However, there
is a tradeoff - the application must process a callback on the socket
error queue placed by the kernel, informing the application that the
data buffer can be freed since the kernel is done. The cost of
processing the error queue means that we do not have an advantage for
small RPCs.
2020-01-06 18:00:14 -08:00
yang-g f50c5a025c Revert "Merge pull request #21494 from grpc/revert-21478-max_message_size"
This reverts commit 2e4ebd7478, reversing
changes made to 1bd6fcc338.
2020-01-06 16:33:08 -08:00
Yihua Zhang e10d90ba27 add security level negotiation between call creds and channel. 2020-01-06 11:40:27 -08:00
Vijay Pai 2f0362ee3a
Remove unused (and defective) constructor 2020-01-05 16:27:30 -08:00
Akshay Kumar db11b94f25 FullChainExperimental-01-200103 2020-01-03 22:37:18 -08:00
Esun Kim 5207eba9ff Add abseil 2020-01-03 19:29:55 -08:00
Zhen Lian 618771dc6a [Exposing ALTS Context 2/2] Utility Wrapper Class
This PR contains:

1. An ALTS context exposed for users to use, and a GetAltsContextFromAuthContext() function to get ALTS context from an AuthContext. Functionality-wise this part is similar with a previous PR https://github.com/grpc/grpc/pull/21536, but in this PR, we adjusted the code structure and made some minor changes to better suit function clientAuthzCheck()
2. A clientAuthzCheck() function for users to check if the server is authorized
2020-01-03 09:30:46 -08:00
Vijay Pai 4062025312 Check for negative on NextMessageSize 2019-12-18 22:20:31 -08:00
klfreeman bc2997d054
Merge branch 'master' into master 2019-12-17 09:29:50 -08:00
Yang Gao 5a938a7012
Revert "Allow plugin/option/global_callback to override max_recv_message_size" 2019-12-16 17:58:02 -08:00
Guantao Liu 126248c7c1
Merge pull request #21492 from grpc/revert-21456-zhen_alts_context_new
Revert "[Exposing ALTS Context 2/2] Utility Wrapper Class"
2019-12-16 17:09:59 -08:00
Vijay Pai c512dd1aac
Merge pull request #21490 from vjpai/fix_cancellation
Fix cancellation callback data race
2019-12-16 17:07:02 -08:00
Yang Gao f8ebc20d3c
Merge pull request #21478 from yang-g/max_message_size
Allow plugin/option/global_callback to override max_recv_message_size
2019-12-16 15:33:25 -08:00
Guantao Liu b341ddf72b
Revert "[Exposing ALTS Context 2/2] Utility Wrapper Class" 2019-12-16 15:29:27 -08:00
Vijay Pai c758bf9571 clang-fmt 2019-12-16 13:43:55 -08:00
Vijay Pai bffc5701e6 Fix cancellation 2019-12-16 13:39:21 -08:00
yang-g 2db942a875 Allow plugin/option/global_callback to override max_recv_message_size 2019-12-13 16:32:37 -08:00
Zhen Lian 98391c8f76 [Exposing ALTS Context 2/2] Utility Wrapper Class 2019-12-13 13:31:38 -08:00