Commit Graph

2271 Commits

Author SHA1 Message Date
Vijay Pai ea4b68e7a1
Drop experimental tags from core callback API (#26535) 2021-06-24 17:20:43 -07:00
yihuaz 932dbed49d
Revert "Allow to specify user provided audience in google default credentials and JWT credentials (#26456)" (#26531)
This reverts commit 5a91a513fd.
2021-06-22 16:30:30 -07:00
Vijay Pai cf1ebf7387
Remove experimental tag from uses of the C++ callback API (#26495) 2021-06-20 00:47:07 -07:00
ZhenLian 5a91a513fd
Allow to specify user provided audience in google default credentials and JWT credentials (#26456)
* support user provided audience in gdc and jwt
2021-06-11 09:44:46 -07:00
Yan Reznikov 39d007e83b
Updated instructions for vcpkg install on Windows (#26373)
* Updated instructions for vcpkg install on Windows

bootstrap-vcpkg.sh script doesn't work out of the box on Windows
Rest of the commands are OS-neutral

* Update README.md
2021-06-11 11:21:49 +02:00
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
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
Thomas Köppe 57c1c91525
Add missing header inclusions. (#26424) 2021-06-03 15:44:05 -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
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
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
Vijay Pai 3eb96489f4
Don't instantiate ExecCtx in channel_args destructor unless needed (#26332) 2021-05-21 11:14:44 -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
Alisha Nanda cbcb0253a0
Additional logging for proto deserialization (#26159)
* Fix build failures in xds_end2end_test

* Change Status::OK to StatusCode::OK

* Added additional logging for proto deserialization failure

* Added additional logging for serialization failure

* Revert "Added additional logging for serialization failure"

This reverts commit 2dbbbed9d4.

* Revert "Added additional logging for proto deserialization failure"

This reverts commit 31f4e6e3c8.

* Move error logging for proto deserialization to server.cc

* Updated from GPR_ERROR to GPR_DEBUG
2021-05-11 15:36:39 -07:00
Yash Tibrewal a989179ace
Bump master to v1.39.0 (#26207)
* Bump version to v1.39.0

* Regenerate projects

* Buildifier format
2021-05-11 06:49:10 -07:00
Vijay Pai edf500fb82
Add useful status error message when server threadpool is exhausted (#26146) 2021-05-03 12:16:12 -07:00
Yash Tibrewal 81276fff2e
Update protobuf version to 3.15.8 (#26105)
* Update protobuf version to 3.15.8

* Run tools/distrib/python/make_grpcio_tools.py
2021-04-30 11:03:23 -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
Esun Kim 460898f11c
Migrated from grpc_error_string to grpc_error_std_string (#26068)
* Added grpc_error_std_string
* Migrated to grpc_error_std_string
2021-04-23 16:31:54 -07:00
Esun Kim ca945a58e9
Introduced grpc_error_handle (#25902)
- Define grpc_error_handle
- Replace grpc_error* with grpc_error_handle
2021-04-22 12:00:28 -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
Lidi Zheng 2210819f85
Remove _xds suffix Bazel rules completely (#25980)
* Reduce the usage of _xds Bazel rules

* Inject DISABLED_XDS_PROTO_IN_CC to admin_services_end2end_test

* Remove _xds suffix Bazel rules completely

* Remove the _xds rules from imports

* Simplify the ifndef usage in admin_services_end2end_test
2021-04-15 12:50:00 -07:00
easy 57859e3c9d
Remove duplicate code for grpc encoding, and extra class. (#22334)
* Remove duplicate code for grpc encoding, and extra class.

Originally from #18359 by @bogdandrutu.

* Autoformat.
2021-04-08 11:42:56 +02:00
Richard Belleville 9964ae875b
Bump master version to 1.38 (#25838)
* Bump version to 1.38

* Regenerate projects
2021-03-30 13:57:13 -07:00
Vijay Pai d3d15395e1
Mark that callback generic service is frequently-polled (#25798) 2021-03-24 09:31:01 -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
Esun Kim fb5543c7c6
Add g_gli_initializer to server_context (#25759) 2021-03-18 16:06:49 -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
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
Esun Kim 377fe6095a
Upgrade clang-tidy and clang-format to 11 (#25590)
* Upgrade clang-tidy and clang-format to 11
* Reformat code
* Fix abseil-string-find-str-contains
* Fix modernize-make-unique
2021-03-04 11:54:30 -08:00
Vijay Pai 37bd0a0cbd
Fix race at server shutdown between actual shutdown and MatchOrQueue (#25541)
* Fix race at server shutdown between actual shutdown and MatchOrQueue

* Address reviewer comments

* Add thread safety annotations

* Address reviewer comments
2021-03-01 12:16:53 -08:00
Vijay Pai 2a656ce68b
Don't dynamically allocate default server context (#25576) 2021-02-26 14:21:35 -08:00
Karthik Ravi Shankar 2fd9f5ead9
Update third_party/protobuf to v3.15.2 (#25565)
* Update protobuf to v3.15.2

* revert boringssl podspec changes

Co-authored-by: Jan Tattermusch <jtattermusch@google.com>
2021-02-26 13:32:25 -08:00
donnadionne 1835f00ef1
Revert "Revert "Made grpc_core::Mutex compatible to absl::Mutex" (#25537)" (#25549)
This reverts commit 8e268dcec8.
2021-02-24 16:49:34 -08:00
donnadionne 8e268dcec8
Revert "Made grpc_core::Mutex compatible to absl::Mutex" (#25537)
* Revert "Made grpc_core::Mutex compatible to absl::Mutex"

This reverts commit 0b53341328.

* Revert "Added thread annotation (#25486)"

This reverts commit 9d897cb1a5.

* Revert "Fix a race in resolve_address and resolve_address_posix tests"

This reverts commit 6d8e7d3819.

* Restore 25398

* restore 25398
2021-02-24 10:32:49 -08:00
Esun Kim 9d897cb1a5
Added thread annotation (#25486) 2021-02-22 09:23:37 -08:00
Vijay Pai 1f91c57f6b
Remove an incorrect debug assertion 2021-02-18 09:06:25 -08:00
Vijay Pai 12750820cd
Fix unused param warning 2021-02-17 13:16:51 -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
Adam J Heller 9b1df5bdc3
Merge pull request #25438 from drfloob/fix-unused-var-pr25401
Fix unused variable error from PR #25401
2021-02-12 14:00:08 -08:00
Esun Kim 8b2bd69ef3
Merge pull request #25387 from veblush/mutex-cpp
Made grpc::internal::Mutex compatible to absl::Mutex
2021-02-12 11:55:44 -08:00
AJ Heller 8261d9de15 Fix unused variable error from PR #25401 2021-02-12 11:17:26 -08:00
Esun Kim 6468d8a69d Make grpcpp/mutex compatible absl/mutex 2021-02-11 15:02:42 -08:00
Vijay Pai 9cceb28b2e Use AllocatingRequestMatcher for sync C++ server and simplify 2021-02-11 14:58:55 -08:00
Esun Kim 8efa9f9142
Merge pull request #25404 from veblush/mutex-api2
Fix-forward: Made grpc_core::Mutex compatible to absl::Mutex
2021-02-11 10:19:33 -08:00
Yash Tibrewal 7c8defd5c9
Merge pull request #25377 from yashykt/removedisrespecfulterm2
Replace disrespectful term
2021-02-10 15:20:27 -08:00
Esun Kim 0b53341328 Made grpc_core::Mutex compatible to absl::Mutex 2021-02-10 09:56:55 -08:00
Esun Kim 6dc1748f6c
Revert "Made grpc_core::Mutex compatible to absl::Mutex" 2021-02-10 07:53:02 -08:00
Lidi Zheng 51659eb06e Regenerate projects 2021-02-09 11:45:06 -08:00
Mark D. Roth df062598c0
Merge pull request #25379 from bojeil-google/master
Move third party identity C++ api out of experimental namespace
2021-02-09 06:53:29 -08:00
Esun Kim 6a1518bd22 Made grpc_core::Mutex compatible to absl::Mutex 2021-02-08 16:15:53 -08:00
Yash Tibrewal f4e55b85bc Replace disrespectful term 2021-02-08 15:29:53 -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
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 ca92d3465a Fix format warnings 2021-01-27 11:16:57 -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
Esun Kim 9eae29f8e9
Merge pull request #25134 from veblush/fix-unused-parameter
Fix unused parameter warnings
2021-01-21 10:08:09 -08:00
Zhouyihai Ding 6f6bdd03e6
Merge pull request #25175 from ZhouyihaiDing/callback_add_context
Support ServerContext for callback API
2021-01-20 11:52:02 -08:00
Esun Kim 0db0ab052d Update by review 2021-01-20 10:44:14 -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
Esun Kim 9bd7c4917a Fix unused-parameter warning 2021-01-19 18:18:09 -08:00
Jan Tattermusch 60a7ce664a Merge remote-tracking branch 'upstream/v1.35.x' into HEAD 2021-01-18 09:35:36 +01:00
Jan Tattermusch 9bb2aefd02 upgrade ruby, C# python and ObC to protobuf 3.14 2021-01-11 10:04:27 +01: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
Stanley Cheung fe2e96f9f3 Regenerate projects 2021-01-06 19:52:32 -08:00
Stanley Cheung 5564ac0cce Regenerate projects 2021-01-06 19:40:00 -08:00
Chuan Ren 06cc42eb85 Add support of implicit and explicit flows for external account creds 2021-01-05 13:20:42 -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
Nicolas Noble 1eddcd1ec1
Merge pull request #24823 from cpsauer/patch-1
Add grpc_extra_deps() to C++ README
2020-12-11 10:07:33 -08:00
Esun Kim 53ab235fb8 Fix google-explicit-constructor 2020-12-03 15:03:39 -08:00
Esun Kim 6c440e820b
Merge pull request #24841 from veblush/tidy-google-readability-casting
[Clang-Tidy] google-readability-casting
2020-12-03 14:49:45 -08:00
Yash Tibrewal a6d9e49f27
Merge pull request #24843 from yashykt/insecureservercreds
Experimental API for xDS server credentials
2020-12-03 03:05:34 -08:00
Yash Tibrewal 096b2324e1 Experimental API for XdsServerCredentials 2020-12-01 12:47:52 -08:00
Vijay Pai 83eab334a3 Delay ServerContextBase unref until lock freed since it could delete 2020-12-01 09:39:12 -08:00
Esun Kim 2ff84ed8c2 C++ cast for void* 2020-11-30 17:29:15 -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 75e3e660fd Fix google-readability-todo 2020-11-25 10:09:42 -08:00
cpsauer 777eda00e4
Add grpc_extra_deps() to C++ README
From the discussion in https://github.com/grpc/grpc/issues/20511, the comments in 695f6daf14/bazel/grpc_extra_deps.bzl, and my experience spinning up in gRPC C++, I think the C++ instructions are missing the grpc_extra_deps() call. 

Figured I'd just spin up a quick PR, rather than file an issue. Feel free to do whatever you'd like to the change, ofc. 
Thanks! :)
2020-11-23 18:09:38 -08:00
Yash Tibrewal 33b4911a50 xDS client security integration 2020-11-20 17:37:27 -08:00
ZhenLian d74e43da95 Add File Watcher Certificate Provider API 2020-11-19 13:36:13 -08:00
yulin-liang 2ffa791ae6 Regenerate projects 2020-11-17 13:10:08 -08:00
Mark D. Roth 27e1c1c56d clang-tidy: enable google-readability-braces-around-statements 2020-11-06 13:41:44 -08:00
ZhenLian 518ed1303c Add Credential Loading From Static Providers For TLS Credentials 2020-10-22 13:55:31 -07:00
Yash Tibrewal b62f33cd39 Fix --define=grpc_no_xds=true build 2020-10-21 15:06:32 -07:00
Esun Kim aae4f4cf18 Fix by misc-unused-using-decls 2020-10-19 18:12:11 -07:00
Esun Kim bba8facb4a
Merge pull request #24456 from veblush/tidy-readability-redundant-smartptr-get
[Clang-Tidy] readability-redundant-smartptr-get
2020-10-19 09:54:15 -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 84df61b31a
Merge pull request #24453 from veblush/tidy-modernize-make-unique
[Clang-Tidy] Enable modernize-make-unique
2020-10-16 16:35:08 -07:00
Esun Kim 3fef4e7435 Fix by readability-redundant-smartptr-get 2020-10-16 14:16:42 -07:00
Esun Kim e7434d385e Fix by tidy-modernize-use-override 2020-10-16 14:01:06 -07:00
Esun Kim 6ae8463500 Fix by modernize-make-unique 2020-10-16 13:30:56 -07:00
Esun Kim 34789b2d83 Fix by clang-format-8. 2020-10-16 11:37:18 -07:00
Esun Kim ece76ee1e8 Fix code by readability-container-size-empty 2020-10-16 09:48:20 -07:00
Esun Kim c08f33c437 Fix clang-tidy errors 2020-10-15 16:07:25 -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 be23ad0ed1
Merge pull request #24282 from veblush/ios-bump
Bump iOS and OSX version
2020-10-07 16:12:16 -07:00
Donna Dionne aafe657978 Bump version to v1.34.x: regenerate projects 2020-10-07 12:51:27 -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
Karthik Ravi Shankar e549843885 Move remaining classes to grpc from grpc_impl 2020-10-06 13:15:51 -07:00
Esun Kim ccf3cbc6b7 Bump iOS and OSX version 2020-09-30 14:58:30 -07:00
Mark D. Roth b62d5c7eaa Allow channel args to modify service config parsing behavior. 2020-09-29 13:13:26 -07:00
Vijay Pai da7f82fa9c
Properly synchronize thread creation failure case 2020-09-23 10:12:16 -07:00
Vijay Pai f8b046e819 Eliminate ServerContextBase::Clear/Setup and fix unref process for core call 2020-09-22 00:37:25 -07:00
Vijay Pai d0bf9cedcc CallbackRequest is no longer reused, so remove relics to support reuse 2020-09-18 14:12:04 -07:00
Karthik Ravi Shankar 375d92be8d Merge branch 'master' into sync-stream 2020-09-08 15:14:48 -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
Karthik Ravi Shankar 694bb50648
Merge pull request #23917 from karthikravis/server
Move Server from ::grpc_impl to ::grpc
2020-08-31 10:33:15 -07:00
Mark D. Roth 30e4170dc3 Update version of master to 1.33-dev ("geeky"). 2020-08-28 09:20:30 -07:00
Karthik Ravi Shankar 4903d62843 Merge branch 'master' into server-context 2020-08-25 11:47:31 -07:00
Karthik Ravi Shankar a68996fdd5 Merge branch 'master' into server 2020-08-25 11:46:42 -07:00
Jan Tattermusch cd90574c80 update ObjC to protobuf v3.13.0 2020-08-25 12:57:21 +02: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 a23578444c Fix and format build after rebase 2020-08-20 14:17:49 -07:00
Vijay Pai b3b304c3ba Remove unneeded data members already present in the base class 2020-08-20 00:45:21 -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
Jan Tattermusch c037f833e4
Merge pull request #23884 from markdroth/server_c++_fix
Destroy health check service before destroying C server.
2020-08-19 08:52:57 +02:00
donnadionne 6b80f4d7f2
Merge pull request #23569 from sammyKhan/master
Return blank span if no call is active.
2020-08-18 13:35:01 -07:00
Mark D. Roth 9a0435e83e Destroy health check service before destroying C server. 2020-08-18 10:33:26 -07:00
ZhenLian 0cdc36f64f ALTS peer attributes plumbing 2020-08-14 17:27:57 -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 bc58a29a5f Merge branch 'master' into channel 2020-08-05 15:21:01 -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
Mark D. Roth 0b61aea1c5 Convert grpc_server to idiomatic C++. 2020-08-03 12:56:29 -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
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 2a2232275b Merge branch 'master' into fold-errors 2020-07-29 09:59:35 -07:00
Karthik Ravi Shankar be7bab5cb8 Merge branch 'master' into server-credentials 2020-07-28 16:30:07 -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
Sam Khan 9dc71643fa Return blank span if no call is active.
Otherwise unit tests of gRPC servers that call GetSpanFromServerContext
segfault.
2020-07-23 11:46:37 +02:00
Karthik Ravi Shankar 9ad399384a Merge branch 'master' into create-channel 2020-07-23 00:47:36 -07:00
Jan Tattermusch aa0193db42
Merge pull request #23576 from jtattermusch/bump_master_1_32
update master version to 1.32.0-dev
2020-07-23 07:48:24 +02: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
Jan Tattermusch 80daba44d9 regenerate projects 2020-07-22 17:38:48 +02: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 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 e6a6fdb313 Fix secure test 2020-07-13 13:05:42 -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 ff5f4bb6fc Add test 2020-07-10 00:31:23 +00:00
Richard Belleville d067b63d48 WIP 2020-07-08 23:09:57 +00:00
Esun Kim 8d0e703393
Merge pull request #22813 from mehrdada/fix-static-initialization-crap
Fix channelz plugin initializer
2020-07-06 11:19:05 -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
Yash Tibrewal a438ef58f1
Merge pull request #23293 from yashykt/retrychecksize
Add message-size check before message decompression with ordering change
2020-06-26 10:43:52 -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
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
Yash Tibrewal fc059ded05 Make the same change for max send message size 2020-06-24 11:13:17 -07:00
Yash Tibrewal 557e2ef5b1 Prefer SetMax*MessageSize value over ServerBuilderOption 2020-06-24 10:24:17 -07:00
Mark D. Roth 5c87a42d50
Merge pull request #21905 from markdroth/upb_upgrade
Upgrade upb
2020-06-24 10:06:14 -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 31e6b69c8e Merge branch 'master' into server-builder 2020-06-22 13:59:33 -07:00
Jan Tattermusch 89be9c27f1
Merge pull request #23220 from chalin/chalin-docs-fix-grpc-io-links-200616
Docs: fix links to grpc.io quick start, tutorial and other pages
2020-06-22 14:11:53 +01: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 1dd7a01bc7
Avoid a use of ReleasableMutexLock 2020-06-16 08:25:12 -07:00
Patrice Chalin 5ac3aa789f Docs: fix links to grpc.io tutorial pages 2020-06-16 08:47:24 -04:00
Mark D. Roth 11d50d9592 Merge remote-tracking branch 'upstream/master' into upb_upgrade 2020-06-15 15:24:10 -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 451436e154 Revert https://github.com/grpc/grpc/pull/18345
Move ResourceQuota to grpc.
2020-06-10 17:24:33 -07:00
Srini Polavarapu 057091fe1f Regenerate projects 2020-06-05 13:54:32 -07:00
Mark D. Roth cc6414893c update bazel build dep, regenerate upb files, and add missing includes 2020-06-02 14:48:50 -07:00
Stanley Cheung 6f72faa74b Update to protobuf 3.12.2 2020-05-29 13:50:27 -07:00
Stanley Cheung eccbac3443 Update grpc protoc plugins to support proto3 optional 2020-05-29 13:50:18 -07:00
Karthik Ravi Shankar 063704ebad
Revert "Update grpc protoc plugin to be compliant of proto3 field presence" 2020-05-29 11:21:24 -07:00
Stanley Cheung f70ebf85a6 Update to protobuf 3.12.2 2020-05-27 18:30:12 -07:00
Stanley Cheung dc9b100865 Update grpc protoc plugins to support proto3 optional 2020-05-27 18:30:12 -07:00
jiangtaoli2016 12a6435557 TlsCredentialsOption API optimization 2020-05-11 22:46:11 -07:00
Jan Tattermusch 8fa1b33c26
Merge pull request #22252 from zackgalbreath/clarify_docs
Documentation improvements
2020-05-07 19:06:27 +02:00
Nicolas "Pixel" Noble 791729d09f Bumping version. 2020-04-30 08:12:29 +02:00
Mehrdad Afshari 99367a7f98 Fix plugin initializers
Previous code not threadsafe nor idiomatic
2020-04-28 20:16:39 -07:00
Jan Tattermusch 7f2af36ddc update ObjC podspecs to protobuf 3.11.4 2020-04-27 04:51:38 -04:00
Mark D. Roth 09b42371e7 Remove grpc_core::InlinedVector<> and grpc_core::Optional<>. 2020-04-23 11:24:41 -07:00
Vijay Pai b797dbec3e Allocating request matcher to support C++ callback API 2020-04-22 10:53:08 -07:00
Vijay Pai 69eb582448 Register CQ at the right place 2020-03-23 13:47:14 -07:00
Srini Polavarapu 9ceb9e2970
Merge pull request #22349 from chalin/patch-1
C++ README: fix link to tutorial
2020-03-18 15:09:55 -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
Jan Tattermusch d99b541656
fix a nit in the cmake instructions 2020-03-17 10:53:37 +01:00
Zack Galbreath 79f1a07cc1 Improve FetchContent example in docs
* Provide a complete copy/pasteable CMakeLists.txt file
* Add link to install-prereqs docs
2020-03-16 09:27:42 -04:00
Patrice Chalin b8514eab47
C++ README: fix link to tutorial
Supersedes #20996, which was approved in 2019/11 but still doesn't have a signed CLA.
2020-03-13 21:47:06 -04: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
Matthew Stevenson 864e232edf Update TlsServerCredentials to initialize C-core. 2020-02-28 13:23:51 -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 88096215a3 Merge with HEAD 2020-02-26 19:59:06 -08:00
Moiz Haidry ede2ffc1a8 Addressed Mark's comments 2020-02-26 12:51:35 -08:00
Richard Belleville 5ef379870d Regenerate projects 2020-02-26 10:39:34 -08:00
Moiz Haidry 67565b767d CallCredentials debug string API 2020-02-25 16:09:03 -08:00
apolcyn 17036c1452
Merge pull request #21698 from apolcyn/bump_g_stands_for
Bump g stands for
2020-02-21 10:53:47 -08:00
Esun Kim 7a14955759 Replaced grpc_core::MakeUnique with absl::make_unique 2020-02-20 09:46:56 -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
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
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
matthewstevenson88 e31532c155
Merge pull request #21852 from matthewstevenson88/tls-credentials-1
Updates to TLS credentials, version 3
2020-02-05 13:10:07 -08:00
Vijay Pai 152f46b5f6 Move generic stub implementation to header (prepare for templates) 2020-02-04 23:42:22 -08:00