Commit Graph

4361 Commits

Author SHA1 Message Date
Craig Tiller 79ef60f079
Integrate new resource quota, event engine (#27522)
* Integrate new resource quota, event engine

* Automated change: Fix sanity tests

* windows fix

* Automated change: Fix sanity tests

* Update memory_allocator.h

* Automated change: Fix sanity tests

* first round review feedback

* review feedback

* Automated change: Fix sanity tests

* Update memory_quota.h

* get re-export formatted right

* Automated change: Fix sanity tests

* Update memory_allocator.cc

* Automated change: Fix sanity tests

* MemoryOwner has-a MemoryAllocator

* using fix

* review feedback

* Automated change: Fix sanity tests

Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2021-10-06 13:29:57 -07:00
Craig Tiller a1ad74f7af
Revert "File watcher authorization policy provider implementation (#26779)" (#27591)
This reverts commit 310accd077.
2021-10-05 09:12:08 -07:00
Ashitha Santhosh 310accd077
File watcher authorization policy provider implementation (#26779)
* File watcher authorization policy provider implementation
2021-10-04 14:22:45 -07:00
Ashitha Santhosh 835eacc32d
Check for mtls authenticated (#27360)
* Check for mtls authenticated.
2021-09-24 17:18:13 -07:00
AJ Heller 97631cf34c
EventEngine::Closure (#27395)
This introduces the new `Closure` type, and new cancellation semantics.

I've also fixed a few bugs in the EventEngine iomgr implementation that
had gone unnoticed.
2021-09-21 09:17:14 -07:00
Alisha Nanda 0a502d8f2e
Fix race between Read and ServerContext::IsCancelled in Sync API (#27056)
* Fix OOM issues in qps tests

* Add more verbose logging.

* Fix clang error

* Fix race between IsCancelled and Read

* Fix build errors from using bool in C code
2021-09-15 12:29:02 -07:00
Yash Tibrewal 72171a3326
De-experimentalize XdsCredentials and XdsServerCredentials API (#26544)
* De-experimentalize XdsCredentials and XdsServerCredentials API

* Use GRPC_DEPRECATED
2021-09-09 16:22:25 -07:00
Yash Tibrewal 7fd731f704
De-experimentalize XdsServerBuilder (#27296) 2021-09-09 14:14:11 -07:00
Yash Tibrewal f26c107651
xDS server serving status: Use a struct to allow more fields to be added in the future (#27242) 2021-09-09 11:11:57 -07:00
Craig Tiller ea389c00c2
Adjust include order per style guide (#27175)
Introduce clang-format configuration to sort includes closer to our rules.
2021-09-08 12:14:44 -07:00
Craig Tiller 28316341bf
Annotate impl/codegen with IWYU pragmas (#27252)
* Add a tool to annotate impl/codegen with IWYU pragmas

* xx

* oops

* fmt

* x

* fix wrong direction bug

* use defaultdict

* better annotations

* better annotations

* Automated change: Fix sanity tests

Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2021-09-08 09:13:03 -07:00
AJ Heller 6dfcc6140f
EventEngine documentation and API changes from the gRFC (#27220) 2021-09-08 08:03:37 -07:00
AJ Heller 17174976b6
Remove the TaskHandle return type from EventEngine::Run (#27269)
It isn't used in gRPC currently, and would be difficult to implement
efficiently in some scenarios.
2021-09-07 13:22:57 -07:00
Craig Tiller b062fcd5c6
Ensure consistency of include style for <grpc.* headers (#27233)
* Add a tool to ensure consistency in how grpc public headers are included

* Apply tool

* add to test suite

* isort
2021-09-02 11:42:33 -07:00
Ming-Chuan 7f8aeed223
Only enable binder transport code when API level is high enough (#27177)
This commit adds a new symbol GPR_SUPPORT_BINDER_TRANSPORT to
port_platform.h

This will help avoid surprising compilation failure when compiled with
old NDK or low API level
2021-09-02 03:01:48 +08:00
AJ Heller 2f838fd3b1
Remove EventEngine::Shutdown (#27207)
It was determined that an explicit Shutdown method is not necessary, and further, it can be challenging to implement efficiently in some cases. Instead, EventEngines are expected to clean themselves up upon destruction. Anything that relies on an EventEngine's existence must coordinate itself to ensure the engine remains alive for as long as it's needed.
2021-08-31 17:54:12 -07:00
AJ Heller 2d16865693
Delete libuv-iomgr implementation and GRPC_UV build option (#27188)
This has been unmaintained for years, last supported in gRPC-core v1.24.
2021-08-31 13:26:43 -07:00
AJ Heller 0407f4be49
Fix free-after-use bug in server callback handler (#27187)
Successful asan run https://source.cloud.google.com/results/invocations/33bc587c-a440-45bd-9886-a23789645a7d/targets

Successful TGP available upon request.
2021-08-31 11:01:57 -07:00
Craig Tiller 46afdf9989
Add test and mitigation for clang 11 compiler bug (#27073)
* Add test and mitigation for clang 11 compiler bug

* document

* document

* Automated change: Fix sanity tests

Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2021-08-22 22:35:51 -07:00
AJ Heller d10617edb5
Move resource_user ownership into chttp2 transport/server/connector v2 (#27032)
Reintroducing PR #26643, which was reverted in #27029

Fixed a memory leak and added a test that would have caught it (ASAN build): ca0c8c4
2021-08-18 17:04:00 -07:00
Craig Tiller 4dff0ee48a
Fix bug in CQNext (#27022)
Internal bug b/170934515

In some cases, calling CQ::Next will return true without passing up a
new tag value, which is very much illegal. My expectation is that this
is due to messing up between SHUTDOWN and TIMEOUT in lower layer code
that doesn't particularly matter much to most callers, but was being
erroneously checked here.
2021-08-17 10:50:10 -07:00
Craig Tiller f5d3ed2db1
Revert "Move resource_user ownership into chttp2 transport/server/connector (#26643)" (#27029)
This reverts commit d1935a65a1. Will be rolled forward with a fix.
2021-08-16 19:07:39 -07:00
AJ Heller d1935a65a1
Move resource_user ownership into chttp2 transport/server/connector (#26643) 2021-08-16 13:50:56 -07:00
Zhongxian Pan 3340f35d71
Remove useless grpc_alarm declaration in grpc_types.h (#26991) 2021-08-13 04:43:54 -07:00
Tamir Duberstein 96fb5d4482
Remove GPR_*_TLS macros except PTHREAD (#26974)
Use c++11 thread_local when GPR_PTHREAD_TLS isn't defined.
2021-08-12 06:45:34 -07:00
Tamir Duberstein ea3ac74004
Use stdcpp TLS on Fuchsia (#26936)
There seems to be no reason this was using pthread apart from
GPR_STDCPP_TLS not yet existing when the Fuchsia configs were created in
https://fuchsia.googlesource.com/third_party/grpc/+/2dbaf2a.
2021-08-07 14:33:58 -07:00
Yash Tibrewal 29d220a0ef
Re-experimentalize XdsServerBuilder (#26892)
* Re-experimentalize XdsServerBuilder

* Fix compiler issue
2021-08-06 10:29:28 -07:00
Tamir Duberstein 013e67a029
Deprecate grpc{_core,::internal}::WaitUntil (#26866)
It is not possible for such a function to be implemented in a way that
is understood by annotalysis. Mark it deprecated and replace instances
of its use with direct mutex/condvar usage.

Add a bunch of missing thread safety annotations while I'm here.
2021-08-04 17:03:25 -07:00
Mark D. Roth d140f14caf
Enable retries by default (#26766)
* Enable retries by default, but add a separate arg for hedging.

* don't need to explicitly enable retries in xDS config selector

* clang-format

* don't need retry_enabled bit anymore

* fix HTTP client filter to restore the send_message op in the batch

* fix retry cancellation when a batch fails on call attempt

* fix clang-tidy

* fix client channel to pass down batches even after cancellation

* fix retry code to pass transport stats back up to the surface

* add some missing payload propagation

* fix retry handling of callbacks for pending batches

* avoid scheduling the same callback twice

* fix some trace messages

* don't avoid starting recv_initial_metadata or recv_message due to recv_trailing_metadata already being started internally

* avoid restarting recv_trailing_metadata after commit if we've already started it internally

* use fast path when retries are not configured
2021-08-02 15:23:30 -07:00
Esun Kim 931f91b745
Changed GRPCPP_ABSEIL_SYNC to GPR_ABSEIL_SYNC (#25681) 2021-08-02 12:18:21 -07:00
Mark D. Roth fbd5e9f2ed
add separate channel arg to enable hedging (#26838)
* add separate channel arg to enable hedging

* revert change to retry_disabled test
2021-08-02 10:07:51 -07:00
AJ Heller a10a5bf655
Changes from feedback on gRFC L82: gRPC Core EventEngine API (#26733) 2021-07-21 13:27:04 -07:00
Craig Tiller 66babfd746
Use C++ attribute detection (#26721) 2021-07-19 15:32:35 -07:00
yihuaz b9a69481c2
Revert "Support user provided "scope" in JWT and GDC (#26577)" (#26645)
This reverts commit 6df967966b.
2021-07-09 15:05:34 -07:00
Rainer Schoenberger ede7923116
Fix ABNF grammar formatting in doxygen documentation (#26467) 2021-07-07 17:50:44 -07:00
Vijay Pai ae0516fece
Remove some EXPERIMENTAL comments (#26618)
* Remove some EXPERIMENTAL comments

* Update server_interface.h
2021-07-07 14:25:42 -07:00
Yash Tibrewal 4daedf0233
De-experimentalize XdsServerBuilder (#26543) 2021-07-02 19:33:15 -07:00
yihuaz 6df967966b
Support user provided "scope" in JWT and GDC (#26577)
* support scope overriding in jwt and gdc

* fix formatting

* fix bazel build issue

* fix clang tidy
2021-07-01 10:26:33 -07:00
Vijay Pai 3e19babc1e
Remove all possible traces of grpc::experimental for callback API (#26584) 2021-06-30 19:55:08 -07:00
itsemmanuelfrancis 471df71003
removing grpc_metadata::flags, improving GRPC_INITIAL_METADATA_* comments (#26562) 2021-06-30 12:03:29 -07:00
Vijay Pai 0b65c34ae5
De-experimentalize default_reactor_test_peer.h and last uses of CallbackServerContext (plus namespace cleanup) (#26569)
* De-experimentalize default_reactor_test_peer.h (plus namespace cleanup)

* Remove experimental refs to callback API in server_context.h
2021-06-29 12:24:09 -07:00
Vijay Pai 8f0dc6946c
Remove last ref to grpc_experimental_completion_queue_functor (#26568) 2021-06-28 16:44:52 -07:00
Vijay Pai ea4b68e7a1
Drop experimental tags from core callback API (#26535) 2021-06-24 17:20:43 -07:00
Craig Tiller 03bdfa4a74
Make socket mutators work for server connections (#26328)
* Make socket mutators work for server connections

* compile fix

* compile fix

* compile fix

* compile fix

* cleanup

* Revert "cleanup"

This reverts commit 480fcc600a.

* Revert "Revert "cleanup""

This reverts commit 29fbc349d2.
2021-06-23 14:40:35 -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
AJ Heller 25d91e3091
New iomgr implementation backed by the EventEngine API (#26026)
This code adds an iomgr implementation that's backed by an EventEngine. This uses the EventEngine API alone, and separate work will introduce an EventEngine prototype to plug into it.

See also drfloob#1: @nicolasnoble has a pull request against this branch, implementing the libuv-based EventEngine. One goal here is to implement the iomgr code such that it can be merged independently without affecting normal builds.

This implementation can be built using bazel build --cxxopt='-DGRPC_USE_EVENT_ENGINE' :all

Some shortcuts are being taken to get a working, testable version of the engine. EventEngines are not pluggable, for example.
2021-06-18 12:30:09 -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
Tom Ward 0a97253cc2
Add MockServer{Reader|Writer} to enable mocking server streams. (#26429) 2021-06-08 11:15:32 -07:00
Esun Kim eec81014d8
Revert "async_unary_call: add a Destroy method, called by std::default_delete. (#26389)" (#26449)
This reverts commit b3b036ca17.
2021-06-08 10:29:44 -07: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
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