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
Craig Tiller
f2f60f7716
Revert "Implement TraceFlag::Log ( #26954 )" ( #27145 )
...
This reverts commit 4d2b979b75 .
2021-08-26 09:18:45 -07:00
Ashitha Santhosh
1ff1f8fd83
SDK authorization filter. ( #26468 )
...
* SDK authorization filter.
2021-08-25 21:00:35 -07:00
AJ Heller
4d2b979b75
Implement TraceFlag::Log ( #26954 )
...
Motivation: In debug builds, `DebugOnlyTraceFlag`s are hard-coded to be
disabled. This results in unreachable code paths that the compiler can
detect, which prevent us from enabling `-Wunreachable-code-aggressive`
on the builds.
This work aims to reduce the number of places that switch on
`trace_flag.enabled`.
2021-08-24 09:42:09 -07:00
Nicolas 'Pixel' Noble
69661fb82e
Regenerate projects
2021-08-21 02:04:00 -07:00
Craig Tiller
59da7bc42a
Eliminate grpc_core::Atomic ( #27025 )
...
* Eliminate grpc_core::Atomic
* Automated change: Fix sanity tests
* Automated change: Fix sanity tests
* initialize things
* fix include order
* fix
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
Co-authored-by: Mark D. Roth <roth@google.com>
2021-08-19 20:54:55 -07:00
Craig Tiller
4c8a0d91c6
Call into plugin registry from config code ( #27041 )
...
* Call into plugin registry from config code
* Automated change: Fix sanity tests
* Remove unused name
* Remove unused name
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2021-08-18 08:39:08 -07:00
Craig Tiller
5dc93179eb
modernize % encoding routines ( #27018 )
...
* modernize % encoding routines
* Automated change: Fix sanity tests
* use bitset
* Automated change: Fix sanity tests
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2021-08-16 11:16:18 -07:00
Craig Tiller
152b79144c
Extract HPACK Encoder Hash Map to a separate file ( #26973 )
...
* comments
* Extract hash map from hpack encoder
* Automated change: Fix sanity tests
* x
* x
* Automated change: Fix sanity tests
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2021-08-13 13:08:24 -07:00
Craig Tiller
bbea27de46
Reland HPACK parsing changes ( #26997 )
...
* Revert "Revert "HPACK Table --> C++ (#26851 )" (#26995 )"
This reverts commit 840bcce9c4 .
* fix bad parsing of trailing === in binary metadata
2021-08-13 10:57:42 -07:00
Craig Tiller
840bcce9c4
Revert "HPACK Table --> C++ ( #26851 )" ( #26995 )
...
This reverts commit 83bcb0cf2e .
2021-08-12 11:20:19 -07:00
Tamir Duberstein
00c03c55ff
Implement type safety for TLS ( #26942 )
...
* Implement type safety for TLS
This is mostly free when compiler support is available, but requires
careful templating when implemented using pthread.
Significantly slimmed the tls.h interface; it now only defines the "TLS
keyword" for each supported compiler, delegating enforcement of correct
usage (i.e. must be static) to the compiler itself.
Implemented implicit conversion for the pthread wrapper so it can be
used (mostly) the same as native support. Notable exception to this is
that static_cast<void*> is needed when printing a pointer stored in TLS
as %p.
* Use GPR_THREAD_LOCAL macros consistently
2021-08-11 13:24:26 -07:00
Craig Tiller
83bcb0cf2e
HPACK Table --> C++ ( #26851 )
...
* Buffer HPACK parsing until the end of a header boundary
HTTP2 headers are sent in (potentially) many frames, but all must be
sent sequentially with no traffic intervening.
This was not clear when I wrote the HPACK parser, and still indeed quite
contentious on the HTTP2 mailing lists.
Now that matter is well settled (years ago!) take advantage of the fact
by delaying parsing until all bytes are available.
A future change will leverage this to avoid having to store and verify
partial parse state, completely eliminating indirect calls within the
parser.
* maybe fixes
* xx
* fix boundary detection
* clang-format
* Revert "xx"
This reverts commit 258d712ed3 .
* fix tests
* add missed check
* fixes
* fix
* update tests
* fix benchmark
* properly unref
* optimize final slice refcounting
* cleanup bm_chttp2_hpack
* start
* new parser progress
* refinement
* get it compiling
* bug-fix
* build files
* clang-tidy
* fixes
* fixes
* fixes
* fix-leaks
* clang-tidy
* comments
* fix merge error
* Revert "Buffer HPACK parsing until the end of a header boundary (#26700 )"
This reverts commit 8bab3e4bf4 .
* streaming hpack parser start
* streaming parser
* clang-format
* Rework HPackTable into C++
* clang-tidy
* fix merge
* actually set the size of the entries array
* better
2021-08-09 16:07:41 -07:00
Craig Tiller
58d3161aac
Split the filter popularity counting into a separate module ( #26884 )
...
* split hpack encoder filter into a separate class
* chores
* fix
* Automated change: Fix sanity tests
* include guards
* add suppressions
* Update popularity_count_test.cc
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
2021-08-09 10:16:46 -07:00
Craig Tiller
cee1bf8532
Add construct/destruct helper functions ( #26906 )
...
* Add construct/destruct helper functions
Will be used in upcoming promise implementation
* sanitized
2021-08-06 10:35:50 -07:00
Esun Kim
7ccb55ea73
Upb upgrade to the lastest ( #26869 )
...
* Squashed 'third_party/upb/' changes from 60607da72e..2de300726a
2de300726a Merge pull request #401 from philwo/patch-1
0010bd88ff Merge pull request #403 from haberman/google-wyhash
3f7ecfe315 A few fixes in the 32-bit fallback.
2c14e2788d Added #include for Windows instrinsic.
9e618009ec Removed some extraneous whitespace.
c4744c0b21 Updated generated files.
039975556d Merge branch 'master' into google-wyhash
ff9d011f12 Merge pull request #402 from haberman/update-ads-benchmark
c2f2e93990 Fix Bazel at 4.1.0
41bfbca375 Updated ads benchmark to v7 as v5 no longer exists upstream.
91d506ac32 Ported ABSL's wyhash to C.
3328f06117 Remove ubuntu1604 from presubmit.yml
f925acf5f0 Merge pull request #400 from haberman/extreg
897bd2500a Fixed compile error.
6e53de4a03 Addressed PR comments.
cdd6434a31 Introduced upb_extreg and plumbed it into decoder.
69f186bd75 Merge pull request #399 from haberman/msg-extrep
3f8aa6ef20 Define the extension representation in messages and mini-tables.
4ccfab154b Merge pull request #398 from haberman/field-mode
58e158c6fa Changed mini-table to use a custom "mode" instead of descriptor's "label."
7596fa740f Merge pull request #397 from haberman/codegen-refactor
fa4dfc2baa Addressed PR comments.
0fb61eaeb5 Refactored the codegen into smaller functions, in anticipation of extensions.
52be845c39 Merge pull request #396 from haberman/pre-ext-opt
807e7fe9e2 Fixed dense_below logic to be order-independent and consistent between def.c and codegen.
2e8a122fc0 Changed dense_below calculation to use UINT8_MAX as the constant.
6394894b6e Addressed PR comments.
65d7b8ab0c Optimized decoder and paved the way for parsing extensions.
3e035cb553 Merge pull request #395 from haberman/locale
e8ba2a1899 Added a fix for locales that output ',' as decimal separator.
7010a73828 Merge pull request #394 from haberman/file-uniqueness
9482957425 Enforce that filenames are unique when loaded into symtab.
aaad7801bf Merge pull request #393 from haberman/has-attribute
7887dc0c76 Fixed the __has_attribute() check for old versions of Clang.
01e7436ed3 Merge pull request #390 from haberman/musttail
4132034634 Addressed PR comment.
ed708fcd5d Addressed PR comments.
876abae2db Removed some debug printing and simplified checktag slightly.
286441afa7 Fixed a size regression due to inlining UTF-8 verification.
75df4cdaa3 Loosened the check for fasttable to match what we did before.
e84793dd73 Cleaned up debugging artifacts.
a4b35aa388 Everything passes except 4 conformance tests.
6e10b5789d Removed redundant license from port_def in amalgmation.
4f1e48ecc6 Updated amalgamator to avoid duplicating license blocks.
0723bfa700 Merge pull request #387 from haberman/json-null
dda5416569 Update bazel-skylib main branch name.
2fa52e6951 Merge branch 'master' into json-null
a3126b7c7e Merge pull request #388 from haberman/fix-macos
b344a6c582 Fixed the macOS build for XCode 11.3.
a778f2639a Only perform multiple oneof check for non-null fields.
42bdfcb849 Fix BUILD file.
75d6dab37a Merge pull request #384 from haberman/internal
3881393907 Renamed .int.h to _internal.h, for greater clarity.
5084cbe646 Merge pull request #383 from fowles/master
da4b75b979 Fix build rules for more restrive deps checks
a8f9cf54cf Merge pull request #382 from haberman/license-headers
1ba446ccfe Updated Google, Inc. to Google LLC.
823eb09694 Update all 2011 dates to 2021.
ff89277ef0 Merge pull request #380 from fowles/master
5f74d43cf9 Re-add some comment text that was accidentally removed.
0f27b0450a Merge branch 'master' into license-headers
e59d2c8fa7 Added license headers to all files.
be4f64b926 Merge pull request #381 from haberman/mv-msg-public
1674f28dd7 Put public message interface into msg.h and moved internal functions to msg.int.h.
6481f6319e Spell out deps explicitly
f104225a1e Merge pull request #376 from haberman/fix-quadratic-mem
3c3799498d Merge pull request #379 from fowles/master
2e83d5c98f Remove unused file test_util.h
b053fa6991 Merge pull request #378 from fowles/master
7876639e50 remove unused macro
5b97df91dd Restrict fuse to matching block_alloc
e74d6c23de Small renames and use uintptr_t instead of void*
d9a0c58108 Allow arena fuse to fail
53f5d9f69b Merge pull request #377 from haberman/json-parse-null
8370818143 Switch to a macro to avoid signed/const mismatches.
63ad3db980 Fixed "NULL + 0" UB in JSON encoder and decoder.
add9b12f18 Fixed quadratic memory usage in upb_array_append().
97e2aeb7ee Merge pull request #375 from haberman/cleanups
83c0edbd2a A few minor cleanups.
baa7fe7473 Merge pull request #374 from haberman/update-deps
900bd5c426 Merge pull request #355 from haberman/aarch64
89df647460 Updated versions of ABSL and protobuf deps.
e4343f0fa3 Update comment for ARM64.
103d51f102 Merge branch 'master' into aarch64
1b9cc09f0e Removed extraneous copybara directive.
bbd817fdb6 Merge pull request #373 from haberman/table-cleanup
c358829c76 Now that handlers are gone, cleaned up table to use arenas exclusively.
ed5b4108e0 Merge pull request #363 from haberman/delete-handlers
bfa528f0ae Merge pull request #372 from haberman/errmsg-fix
ec9ba3f893 Fixed error message buffer overflow.
eb0fdda14b Merge pull request #371 from haberman/json-any
e58f7a0284 Fix for Any messages with no fields.
7541ba0f38 Merge pull request #364 from catenacyber/cifuzz
81829bacc3 Removed quote chars from error message.
88ed8f5d3b Changed JSON decoding error message to be more clear.
f41c0ec261 Added an internal API to get arena from symtab, for Ruby's use.
b080659eee Merge pull request #367 from haberman/timestamp-minute-offset
f7ed1f27a3 Support non-zero minutes in the timestamp offset for JSON.
451dcbbb9a Adds CIFuzz
f5d2d55007 Deleted the legacy "Handlers" APIs. upb can finally be deserving of its name.
0f40d59258 Merge pull request #362 from haberman/rb-warnings
c7787cbaa1 Fixed a bunch of Clang warnings.
5e53b5bb3d Merge pull request #360 from haberman/default-msgval
7a6e647be1 Merge branch 'master' into default-msgval
edb0a9a2d9 Merge pull request #361 from haberman/arena-bugfix
9175989431 Bugfix for arena cleanup list when passing to upb_decode().
5e550e88f8 Added API for getting fielddef default as a upb_msgval.
de76b31f9c Merge pull request #359 from veblush/fix-upbdefs
3cab8a38fc Fixed upbdefs error
48bb3e5662 Merge pull request #357 from veblush/string-opt
4c67b2086b Merge pull request #358 from veblush/clang-tidy-fix
38b4beed6b Fix clang-tidy function 'upb_encode_ex' has a definition with different parameter names
9b020d8f65 Optimize calls to std::string::find() and friends for a single char.
3c9ae7837a The fasttable parser works on ARM64!
git-subtree-dir: third_party/upb
git-subtree-split: 2de300726a1ba2de9a468468dc5ff9ed17a3215f
* Updated upb for bazel
* Regen upb files
* Updated src/upb/gen_build_yaml.py
2021-08-06 10:30:53 -07:00
Tamir Duberstein
ccad567e0b
Disallow implicit fallthrough ( #26874 )
...
Most instances were already explicit through comments, so it's clear
that the author cared about being explicit; use the compiler to ensure
this is always the case.
2021-08-04 21:34:27 -07:00
Lidi Zheng
826da6136c
Update Envoy API to the latest version (2021-07-30) ( #26848 )
...
* Bump Envoy and related submodules to latest
* Update googleapis
* Update scripts for newer submodules
* Update udpa
* Add opentelemetry
* Python changes for opentelemetry
* Update udpa in check_submodules
* Add opentelemetry to check submodules
* Regenerate upb files
* Add new proto dependency to upb-gen and Bazel
* Regenerate project
2021-08-03 09:12:42 -07:00
Yash Tibrewal
c645be488e
Remove gpr_arena ( #26799 )
2021-07-28 17:11:02 -07:00
AJ Heller
a10a5bf655
Changes from feedback on gRFC L82: gRPC Core EventEngine API ( #26733 )
2021-07-21 13:27:04 -07:00
Yash Tibrewal
dc250d1c68
Add internal API to help trace retries and collect metrics ( #26673 )
...
* Add internal API to help trace retries and collect metrics
* Add headers
* Reviewer comments
* Revert changes for grpc_metadata_batch
* Regenerate projects
* Reviewer comments
* Reviewer comments
* Reviewer comments
* reviewer comments
* Fix sanity
2021-07-20 07:05:59 -07:00
apolcyn
0e6c888574
Bump version to 1.40.0-dev ( #26600 )
...
* Bump version to 1.40.0
* Regenerate projects
* Tweak version.cc.template to satisfy formatter
* Regenerate projects
2021-07-02 14:33:34 -07:00
Craig Tiller
6d96a2221d
Enable layering checks in the Bazel build ( #26591 )
...
* Enable layering checks
* fix dep
* update projects
* fix clang-tidy
2021-07-01 15:10:51 -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
Jan Tattermusch
451127740d
Revert "Replace in-house rand with absl::Random for backoff ( #26463 )" ( #26476 )
...
This reverts commit b5191d0930 .
2021-06-14 21:56:35 -07:00
Esun Kim
b5191d0930
Replace in-house rand with absl::Random for backoff ( #26463 )
...
* Replace in-house rand with absl::Random for backoff
* Run sanity
* Added bscrypt dependency
2021-06-11 16:29:45 -07:00
Ashitha Santhosh
b9a643a817
Static policy provider implementation. ( #26134 )
2021-06-03 23:18:08 -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
Mark D. Roth
4c40ee3f78
move parse_address and sockaddr_utils out of iomgr directory ( #26077 )
...
* move parse_address and sockaddr_utils out of iomgr directory
* clang-format
* fix python
* fix for import
* fix build file for import
2021-04-30 08:21:58 -07:00
Esun Kim
2d8936b097
Added status_helper ( #25901 )
...
Added status_util
2021-04-22 11:54:19 -07:00
AJ Heller
4c59b17d40
Remove eventmanager_libuv code ( #25811 )
...
Reintroduces this code removal after a failed import. This needed special handling via cherry pick.
2021-04-08 13:32:53 -07:00
Mark D. Roth
3f19333ced
Move retry code into its own filter in the DynamicFilter stack ( #25820 )
...
* rename ChannelData to ClientChannel
* make ClientChannel class definition public
* move retry code to its own filter
* move LB call factory method to ClientChannel class
* move dynamic termination filter out of ClientChannel class
* update comments
* remove retry parsing from client channel service config parser
* fix clang-tidy
* fix service_config_test
* clang-format
2021-03-31 15:39:14 -07: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
Esun Kim
37eecd3ce3
Updated Abseil to LTS 20210324.0 ( #25835 )
...
* Updated abseil-cpp to 20210324.0
* UBSAN with -fsanitize-link-c++-runtime
2021-03-30 09:22:05 -07:00
AJ Heller
1694984846
Revert "Remove unused eventmanager_libuv code ( #25796 )" ( #25807 )
...
This caused problems internally. The interface deletion needs a cherrypick, but I will do an overnight test first, before I reintroduce. CC @nicolasnoble
2021-03-24 17:17:42 -07:00
AJ Heller
077f627aef
Remove unused eventmanager_libuv code ( #25796 )
2021-03-24 11:21:05 -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
donnadionne
26fd0ce3c9
Generating hash for ring_hash policy ( #25415 )
2021-03-16 18:24:35 -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
donnadionne
d3e97d953b
Adding xxhash as a subtree ( #25645 )
2021-03-11 09:09:40 -08:00
Lidi Zheng
3b067c9f3f
Implement xDS client-side fault injection filter ( #24354 )
...
* Refactored with dynamic filters
* Error-tolerance tuned
* Fix leak of grpc_error and data race of canceller
* Adopt the latest xDS HTTP filter framework
* Fix fault injection tests' conflict with router filter
* Test alternative setup (override, no-override) without copy
* Refactor file strcutures of fault injection filter
* Rewrite the Json parsing/assembling logic again
* Added logic for aborting streaming RPC && resolve comments
2021-03-09 13:14:21 -08:00
Ashitha Santhosh
bd86187f19
SDK authorization policy translator. ( #25361 )
...
* SDK authorization policy translator.
2021-03-05 09:05:11 -08:00
donnadionne
34c8a1f87a
Revert "Adding xxhash as a subtree" ( #25630 )
...
This reverts commit 3880393fea .
2021-03-05 09:11:48 +01:00
donnadionne
40bc4624c2
Adding xxhash as a subtree ( #25601 )
...
* Squashed 'third_party/xxhash/' content from commit aea11081f3
git-subtree-dir: third_party/xxhash
git-subtree-split: aea11081f349893ec26f86ada22c66e828885083
* Adding xxhash as a subtree
2021-03-04 16:00:51 -08:00
Esun Kim
444e6e6d64
Added include/grpcpp/impl/codegen/method_handler_impl.h to grpc++_codegen_base ( #25618 )
2021-03-04 12:34:34 -08:00
Mark D. Roth
49601b0334
Second attempt: xDS HTTP filter support for gRPC client ( #25558 )
...
* Revert "Revert "xDS HTTP filter support for gRPC client" (#25555 )"
This reverts commit 785a128a83 .
* xds_end2end_test: avoid flakes from lingering shutdown from previous test
2021-02-26 07:39:27 -08:00
donnadionne
785a128a83
Revert "xDS HTTP filter support for gRPC client" ( #25555 )
...
This reverts commit b2164837a8 .
2021-02-25 07:18:43 -08:00
Mark D. Roth
b2164837a8
xDS HTTP filter support for gRPC client
2021-02-11 13:17:15 -08:00
Lidi Zheng
51659eb06e
Regenerate projects
2021-02-09 11:45:06 -08:00
Lidi Zheng
0b04a92aba
Regenerate project
2021-02-05 10:22:24 -08:00
Lidi Zheng
50f2fdd3cf
Update the BUILD chain for the moved protos
2021-02-04 17:08:16 -08:00
Esun Kim
0cf94e3fdd
Add time-util
2021-02-01 17:31:46 -08:00
yulin-liang
b494be937e
sed command from podspec fails on prepare_command step on linux
2021-01-26 13:29:30 -08:00
donnadionne
7338639ccc
Merge pull request #25078 from donnadionne/watchers
...
Cds Watchers changes to support aggregate Cds.
2021-01-21 16:48:24 -08:00
Esun Kim
f4fa4a18bc
Merge pull request #25198 from veblush/absl-upgrade
...
Upgrade Abseil to 20200923.3
2021-01-21 15:26:34 -08:00
Donna Dionne
19b1f8f64a
Cds Watchers changes to support aggregate Cds and Logical DNS Cds.
2021-01-21 14:25:50 -08:00
Jan Tattermusch
0b1798412b
Revert "Wrap strerror into a thread-safe implementation"
2021-01-20 16:33:27 +01:00
Esun Kim
631bf76de6
Update Abseil in podspecs
2021-01-19 15:43:33 -08:00
Ashitha Santhosh
4ca878799b
Refactor [String/Header/Path]matchers in xds_api.
2021-01-15 12:32:54 -08:00
AJ Heller
33cba7ea39
Remove unused header iomgr_posix.h
...
This header file only served to include iomgr_internal.h, which most
depedent code already includes.
2021-01-14 10:34:57 -08:00
yang-g
cf26f0133a
Wrap strerror into a thread-safe implementation
2021-01-13 08:54:51 -08:00
Stanley Cheung
fe2e96f9f3
Regenerate projects
2021-01-06 19:52:32 -08:00
Mark D. Roth
1bc2d7d1a6
Remove StringLess and src/core/lib/gprpp/map.h.
2021-01-05 09:47:42 -08:00
Mark D. Roth
8439ed152e
Merge pull request #24920 from markdroth/client_channel_split4
...
Add dynamic filters between name resolution and load balancing.
2020-12-22 13:18:57 -08:00
Esun Kim
3e2cca4afc
Merge pull request #25037 from veblush/upb-upgrade
...
Upb upgrade (2020-12-18)
2020-12-22 09:43:31 -08:00
Esun Kim
d1bef160e5
Added upb/json
2020-12-21 19:16:52 -08:00
Esun Kim
9f2b5f697b
Add upb change to podspec
2020-12-21 14:16:43 -08:00
Mark D. Roth
b78dc358db
Merge pull request #25026 from markdroth/xds_cluster_attribute_for_google_default_creds
...
Set channel arg for xDS cluster name, and use it in GoogleDefaultCreds.
2020-12-21 13:55:10 -08:00
Esun Kim
d24a66af72
Regen project files
2020-12-21 11:35:07 -08:00
Mark D. Roth
4fdb4bcca5
Set channel arg for xDS cluster name, and use it in GoogleDefaultCreds.
2020-12-21 11:11:39 -08:00
Mark D. Roth
7d46e37251
Add dynamic filters between name resolution and load balancing.
2020-12-21 09:27:14 -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
AJ Heller
880a854f0e
Convert URI parser to C++ #24701
2020-12-07 12:13:22 -08:00
Yash Tibrewal
096b2324e1
Experimental API for XdsServerCredentials
2020-12-01 12:47:52 -08:00
Mark D. Roth
d6298ed3dc
Merge pull request #24806 from markdroth/client_channel_split0
...
Eliminate ResolvingLoadBalancingPolicy.
2020-12-01 08:09:52 -08:00
Mark D. Roth
0e13934764
Eliminate ResolvingLoadBalancingPolicy.
2020-11-30 11:37:37 -08:00
Chuan Ren
1faf030cc4
Add aws-sourced external credentials
2020-11-19 11:20:35 -08:00
yulin-liang
2ffa791ae6
Regenerate projects
2020-11-17 13:10:08 -08:00
Chuan Ren
bedaeb5265
Add aws signature v4 signer
2020-11-11 15:55:16 -08:00
Yash Tibrewal
d45bbe46e0
File watcher certificate provider config parsing
2020-11-10 15:49:23 -08:00
Ashitha Santhosh
d8d1090b98
Merge pull request #24616 from ashithasantosh/clang_tidy_fix
...
Fix compilation errors after clang-tidy upgrade.
2020-11-03 14:15:36 -08:00
Esun Kim
e0cbc7e5dd
Merge pull request #24245 from veblush/stacktrace
...
Add stack-tracer to gRPC
2020-11-03 13:50:41 -08:00
Chuan Ren
2b1265b42f
Add file-sourced external credentials
2020-11-02 14:11:50 -08:00
Esun Kim
f3e75c1fa9
Add stack-tracer to gRPC
2020-11-01 23:02:39 -08:00
Yash Tibrewal
e11a670736
Add XdsCertificateProvider
2020-10-30 10:15:57 -07:00
Ashitha Santhosh
afc8d9c493
Fix compilation errors after clang-tidy upgrade.
2020-10-29 17:55:36 -07:00
ZhenLian
d5d35650b0
add API to get last modification time of a file
2020-10-29 10:43:29 -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
5b4344063e
Upgrade Abseil to LTS 2020923.2
2020-10-23 13:22:38 -07: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
Chuan Ren
4c93d36d08
Add url-sourced external credentials
2020-10-20 13:56:55 -07:00
Mark D. Roth
ed61d6bc83
Merge pull request #23533 from markdroth/xds_logging
...
Second attempt: Use upb textformat library to dump out raw xDS proto messages
2020-10-16 07:18:27 -07:00
Esun Kim
c08f33c437
Fix clang-tidy errors
2020-10-15 16:07:25 -07:00
Mark D. Roth
6c982e6b61
Merge remote-tracking branch 'upstream/master' into xds_logging
2020-10-14 16:32:13 -07:00
Mark D. Roth
012381235f
Merge pull request #24208 from renkelvin/base
...
[3PI Support] Add base external account credentials class
2020-10-13 10:27:14 -07:00
Chuan Ren
0cf672d42e
Add implementation of base external account credentials
2020-10-12 16:18:11 -07:00
Mark D. Roth
ff7496b660
fix upbdefs paths for non-bazel builds
2020-10-12 15:23:03 -07:00
Mark D. Roth
f81650f497
update list of upbdefs files in build
2020-10-12 14:48:18 -07:00
Mark D. Roth
7d6b12fe73
Merge remote-tracking branch 'upstream/master' into xds_logging
2020-10-12 14:21:45 -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
Esun Kim
1ee0c88817
Add GPR_STDCPP_TLS
2020-10-08 13:05:49 -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
56b2671e8e
Merge pull request #24338 from karthikravis/cleanup
...
Move remaining classes to grpc from grpc_impl
2020-10-06 17:12:22 -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
ccf3cbc6b7
Bump iOS and OSX version
2020-09-30 14:58:30 -07:00
Mark D. Roth
02436e33ea
Merge remote-tracking branch 'upstream/master' into xds_logging
2020-09-30 11:40:56 -07:00
Yash Tibrewal
2a56886513
Update submodules: envoy-api, protoc-gen-validate, udpa
2020-09-29 12:03:40 -07:00
Mark D. Roth
69c52a8b2a
Merge remote-tracking branch 'upstream/master' into xds_logging
2020-09-29 09:01:09 -07:00
Mark D. Roth
1ba51dcb1a
Share XdsClient between channels.
2020-09-27 15:26:28 -07:00
Yash Tibrewal
3ee45eceef
Merge pull request #24127 from yashykt/meshcaconfig
...
Add parsing logic for GoogleMeshCaConfig
2020-09-17 13:19:55 -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
Yash Tibrewal
11abbd3828
Add parsing logic for GoogleMeshCaConfig
2020-09-17 09:33:10 -07:00
Donna Dionne
ffb560090a
Moving XDS Routing functionalities from LB policy into XdsConfigSelector
2020-09-11 15:44:10 -07:00
ZhenLian
fb4dd355e8
Merge pull request #23572 from ZhenLian/zhen_dynamic_file_reloading_1
...
Add tls_certificate_distributor implementation
2020-09-08 23:28:47 -07:00
Karthik Ravi Shankar
bf782def6b
Fix for buildgen script failure
2020-09-08 17:05:34 -07:00
Yash Tibrewal
73563e41b0
Add certificate provider factory, store and registry headers
2020-09-08 11:21:15 -07:00
ZhenLian
1a275d7eab
Add tls_certificate_distributor implementation
2020-09-08 10:20:21 -07:00
Karthik Ravi Shankar
835d6182d8
Merge pull request #24050 from grpc/revert-24047-revert-23916-server-context
...
Revert "Revert "Move ServerContext from ::grpc_impl to ::grpc""
2020-09-02 19:29:16 -07:00
Mark D. Roth
998bde891f
Merge remote-tracking branch 'upstream/master' into xds_logging
2020-09-02 15:50:33 -07:00
Karthik Ravi Shankar
b657c8d79c
Revert "Revert "Move ServerContext from ::grpc_impl to ::grpc""
2020-09-02 10:17:00 -07:00
Mark D. Roth
6514396713
update build files
2020-09-02 08:38:31 -07:00
Karthik Ravi Shankar
f1abdd1725
Revert "Move ServerContext from ::grpc_impl to ::grpc"
2020-09-01 22:54:54 -07:00
Mark D. Roth
3fcb32b757
Merge remote-tracking branch 'upstream/master' into xds_logging
2020-09-01 15:41:07 -07:00
Yash Tibrewal
025d9d8e8a
Remove xDS support from unsecure builds
2020-09-01 15:04:49 -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
Yash Tibrewal
2a72f72a84
CertificateProvider API
2020-08-28 16:25:17 -07:00
Mark D. Roth
30e4170dc3
Update version of master to 1.33-dev ("geeky").
2020-08-28 09:20:30 -07:00
Ashitha Santhosh
369bd24b7c
Add mock CEL APIs.
2020-08-27 09:21:27 -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
Karthik Ravi Shankar
c0998bc97f
Fix codegen and gen file
2020-08-20 15:02:20 -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
Jan Tattermusch
9187a02d21
regenerate projects
2020-08-20 18:17:21 +02:00
Ashitha Santhosh
fcce56df4e
Merge pull request #23887 from ashithasantosh/create_activation
...
Add activation logic and endpoint getters.
2020-08-19 10:43:39 -07:00
ashithasantosh
5820e833fc
Add activation logic and endpoint getters.
2020-08-18 19:12:22 -07:00
Mark D. Roth
bd73844208
Move parse_address library from client_channel to iomgr.
2020-08-18 11:23:06 -07:00
Yash Tibrewal
55821f5cf8
Revert "Merge pull request #23786 from michaelywg/cel_create_activation"
...
This reverts commit fe59761648 , reversing
changes made to 1856e224c3 .
2020-08-17 14:01:53 -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
Michael Wang
b8771966f1
Added tests for eval_args address/port getters. Implemented said getters and CreateActivation.
...
Added logging for unsupported attributes
fixed make issues by moving grpc_authorization_engine under grpc
changed inet_aton to inet_pton
fixed issue leftover from initial implementation of evalargs
2020-08-14 04:30:42 +00:00
Mark D. Roth
478ea19b65
Merge remote-tracking branch 'upstream/master' into xds_logging
2020-08-13 08:21:43 -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
c507ae327b
Merge pull request #23762 from grpc/revert-23756-revert-23693-channel
...
Revert "Revert "Fold Channel and CompletionQueue from grpc_impl to grpc""
2020-08-10 12:37:12 -07:00
Mark D. Roth
d926e1ca47
Move XdsClient code out of client_channel tree.
2020-08-07 08:21:09 -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
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
Michael Wang
d0311ac81a
Basic class definition and constructor Cel eval engine
...
Merge remote-tracking branch 'upstream/master' into celeval_constructor
Iterate through policies and store CEL condition
git push origin ce Merge remote-tracking branch 'upstream/master' into celeval_constructor
added class and constructor comments for CelEvaluationEngine
CelEvaluationEngine class and constructor
Added cel_evaluation_engine to build
ran clang_tidy_code.sh
updated BUILD with cel_evaluation_engine
added rbac.upb.h/cc to BUILD
Rewrote cel_evaluation_engine code with upb conventions
removed unnecessary deps for cel_evaluation_engine in BUILD
Cel_evaluation_engine uses arenas to manage condition pointers
Used upb::Arena instead of upb_arena*, added temp_arena to save memory
Added action_allow_ member variable
Added fullstops to comments
initialize action_allow_
changed variable names to be more clear
removed unnecessary headers
correctly initialize the action_allow_ variable
changed constructor to use an initializer list
ran clang_tidy and clang_format scripts
added cel_engine_test
resolved merge conflicts and rewrote cel engine constructor to use new map api
changed variables to be more clear and made them const
changed syntax.upb.h so the build succeeds
changed syntax.upb.h so the build succeeds
changed version of upb in bazel_dpes
regenerated upb files with new upb version
added TODO regarding two-policy design
modified CelEvaluationEngine and tests to use two rbac policies
Made test messages consistent and added a case with too many policies
changed name from cel_engine to authorization_engine
fixed merge issues and updated authorization engine to v3 rbac
made constructor public and added namespace grpc_core
2020-08-04 18:23:21 +00: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
yulin liang
8c3b878063
Merge pull request #23596 from yulin-liang/yulin-fix
...
fix grpc-c++ build issue.
2020-07-30 12:40:55 -07:00
Mark D. Roth
60283a1085
Merge pull request #23582 from markdroth/grpclb_authority
...
Remove TargetAuthorityTable in favor of a per-address channel arg.
2020-07-29 15:18:13 -07:00
yulin-liang
c79097024a
fix grpc-c++ build issue.
2020-07-29 15:07:28 -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
Mark D. Roth
f88449c205
Merge remote-tracking branch 'upstream/master' into xds_logging
2020-07-27 09:55:48 -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
bf641af30b
Merge pull request #23308 from karthikravis/create-channel
...
Move create_channel and credentials from ::grpc_impl to ::grpc
2020-07-23 20:04:36 -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
Mark D. Roth
181781387d
xDS v3 support
2020-07-23 10:20:55 -07:00
Mark D. Roth
c35a37d6c2
Remove TargetAuthorityTable in favor of a per-address channel arg.
2020-07-23 08:23:05 -07: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
Yash Tibrewal
2c5291ff71
Plumb absl::Status through connectivity state notifiers
2020-07-22 15:56:24 -07:00
Jan Tattermusch
80daba44d9
regenerate projects
2020-07-22 17:38:48 +02:00
Mark D. Roth
09cdfcd554
add dep.hpp dependency
2020-07-21 11:32:29 -07:00
Mark D. Roth
c66d826298
Merge remote-tracking branch 'upstream/master' into xds_logging
2020-07-21 11:31:28 -07:00
Mark D. Roth
3613589b84
Change xDS ConfigSelector not to pass the timeout header value to the LB policy.
2020-07-20 14:41:10 -07:00
Mark D. Roth
a24306fa0c
Merge remote-tracking branch 'upstream/master' into xds_logging
2020-07-20 10:36:43 -07:00
Karthik Ravi Shankar
d7565c37a8
Revert "Adding Fake headers for header matching."
...
This reverts commit 8c013bfcdc .
2020-07-17 16:39:05 -07:00
Mark D. Roth
5afa417c89
Revert "Merge pull request #23524 from markdroth/xds_logging_revert"
...
This reverts commit b5b9172915 , reversing
changes made to 47c6c826f7 .
2020-07-17 14:48:20 -07:00
Mark D. Roth
a0f08b1b06
Revert "Merge pull request #21941 from markdroth/xds_logging"
...
This reverts commit 37d5d93983 , reversing
changes made to 0e8190a3c9 .
2020-07-17 10:19:28 -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
Karthik Ravi Shankar
523bc1b4c8
Merge pull request #23468 from karthikravis/auth_metadata
...
Move AuthMetaDataProcessor from ::grpc_impl to ::grpc
2020-07-16 11:05:27 -07:00
Donna Dionne
8c013bfcdc
Adding Fake headers for header matching.
2020-07-15 13:14:19 -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
Mark D. Roth
abab9967cf
Add XdsConfigSelector and populate call attribute containing the deadline.
2020-07-13 13:00:23 -07:00
Karthik Ravi Shankar
1999b20c7d
Merge branch 'master' into create-channel
2020-07-13 10:58:31 -07:00
Donna Dionne
8dd0cb4712
Add support for xDS regex matchers.
2020-07-07 13:17:25 -07:00
Karthik Ravi Shankar
44f721eeb0
Merge branch 'master' into create-channel
2020-06-30 15:52:24 -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
f027a4e3c9
Fix gRPC-C++.podspec file
2020-06-29 11:01:40 -07:00
Karthik Ravi Shankar
4beb1eccf3
Fix formatting and build files
2020-06-24 21:40:34 -07:00
Karthik Ravi Shankar
18cc2f6f34
Formatting fixes
2020-06-24 21:25:33 -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
9db914a0cc
Revert "Revert "Move ServerBuilder back to ::grpc from ::grpc_impl""
2020-06-24 12:28:27 -07:00
Mark D. Roth
c1d7180daa
Use upb textformat library to dump out raw xDS proto messages
2020-06-24 10:10:03 -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
7166d0124d
Merge branch 'master' into server-builder
2020-06-23 12:09:08 -07:00
Karthik Ravi Shankar
4a930208e7
Merge branch 'master' into healthcheck
2020-06-23 12:04:32 -07:00
Karthik Ravi Shankar
8f2361fcda
Remove health_check_service_interface_impl from build files.
2020-06-23 12:03:40 -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
Mark D. Roth
133918ec70
Add ConfigSelector API.
2020-06-18 12:57:43 -07:00
Vijay Pai
7eebba3781
Fixes needed to make roll-forward of StartCall and corking work
2020-06-16 13:06:16 -07: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
934cf3e3df
Move ServerBuilder back to ::grpc from ::grpc_impl
...
Revert #18510
2020-06-10 22:47:29 -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
Srini Polavarapu
057091fe1f
Regenerate projects
2020-06-05 13:54:32 -07:00
Mark D. Roth
13e961f429
another attempt to fix ios build
2020-06-03 11:42:32 -07:00
Mark D. Roth
fe8717bf4a
attempt to fix build
2020-06-02 15:31:31 -07:00
Mark D. Roth
93efabd179
Merge remote-tracking branch 'upstream/master' into upb_upgrade
2020-06-02 11:28:13 -07:00
Mark D. Roth
aed6574023
Refactor ServiceConfig code to move parsing to its own API.
2020-05-28 07:15:28 -07:00
Mark D. Roth
20ee8f2485
Merge remote-tracking branch 'upstream/master' into upb_upgrade
2020-05-11 13:50:11 -07:00
Mark D. Roth
7b3590d543
Merge pull request #22854 from markdroth/xds_lrs_send_all_clusters
...
xds: Add support for send_all_clusters field in LRS.
2020-05-06 09:33:41 -07:00
Mark D. Roth
b95843c1b7
xds: Add support for send_all_clusters field in LRS.
2020-05-04 11:16:52 -07:00
Nicolas "Pixel" Noble
791729d09f
Bumping version.
2020-04-30 08:12:29 +02:00
Mark D. Roth
d74548e611
Remove StringViewToCString() and src/core/lib/gprpp/string_view.h
2020-04-27 12:28:28 -07:00
Mark D. Roth
d39c981d4f
Revert "Remove StringLess and src/core/lib/gprpp/map.h"
2020-04-24 10:32:15 -07:00
Mark D. Roth
c0f82fc595
Remove StringLess and src/core/lib/gprpp/map.h
2020-04-23 14:45:54 -07:00
Mark D. Roth
09b42371e7
Remove grpc_core::InlinedVector<> and grpc_core::Optional<>.
2020-04-23 11:24:41 -07:00
Muxi Yan
e3c57771c2
Merge pull request #21194 from muxi/boringssl-prefix-header
...
Revamp how BoringSSL generate prefix header on ObjC
2020-04-21 09:27:44 -07:00
Muxi Yan
006c815810
Merge pull request #22687 from grpc/revert-22684-revert-22423-objc-poller
...
Revert "Revert "Introduce CFRunLoop based iomgr""
2020-04-20 15:58:26 -07:00
Muxi Yan
eb7779c20c
Revert "Revert "Introduce CFRunLoop based iomgr""
2020-04-16 13:07:55 -07:00
Yash Tibrewal
eac197b20e
Fix errors and regenerate projects
2020-04-16 11:54:27 -07:00
Muxi Yan
0e0db09613
Revert "Introduce CFRunLoop based iomgr"
2020-04-16 08:54:07 -07:00
Muxi Yan
7f36ff039f
Merge pull request #22423 from muxi/objc-poller
...
Introduce CFRunLoop based iomgr
2020-04-15 14:30:43 -07:00
Muxi Yan
b96895bf9d
Add apple_ev iomgr
2020-04-15 11:06:53 -07:00
Yash Tibrewal
3c34eae97e
Move decompression into gRPC Core
2020-04-10 16:43:29 -07:00
Mark D. Roth
f8f6034d1a
Refactor xds LB policy
2020-04-07 14:03:01 -07:00
Muxi Yan
590415e1f3
Merge remote-tracking branch 'upstream/master' into boringssl-prefix-header
2020-04-03 11:43:05 -07:00
Mark D. Roth
03411d7be7
Second attempt: grpclb stabilization
2020-03-31 07:52:44 -07:00
Mark D. Roth
425c1c5725
Merge remote-tracking branch 'upstream/master' into upb_upgrade
2020-03-25 09:36:50 -07:00
Esun Kim
eae488fc66
Update abseil to get the recent patch on LTS 2020_20_25
2020-03-09 15:05:57 -07:00
Mark D. Roth
017a22c520
Merge remote-tracking branch 'upstream/master' into upb_upgrade
2020-03-09 08:07:04 -07:00
Mark D. Roth
19e28b1353
Refactor code for gracefully switching child LB policies.
2020-02-28 08:17:54 -08:00
Mark D. Roth
3c27aea4dd
Merge remote-tracking branch 'upstream/master' into upb_upgrade
2020-02-27 16:12:22 -08:00
Mark D. Roth
144adbc194
Merge pull request #22147 from markdroth/xds_overprovisioning_capability
...
xds: send no-overprovisioning client capability and populate user_agent fields
2020-02-27 15:02:53 -08:00
Mark D. Roth
28b950e407
Merge remote-tracking branch 'upstream/master' into xds_overprovisioning_capability
2020-02-27 12:09:16 -08:00
Mark D. Roth
b37bd0dc7a
Merge remote-tracking branch 'upstream/master' into upb_upgrade
2020-02-27 09:21:04 -08:00
Moiz Haidry
0c5545a894
Merge from HEAD after build.yam autogenration
2020-02-27 08:15:00 -08:00
Moiz Haidry
88096215a3
Merge with HEAD
2020-02-26 19:59:06 -08:00
Jan Tattermusch
3bb4d312df
regenerate projects
2020-02-26 19:58:42 -05:00
Richard Belleville
8994302049
Merge pull request #22152 from gnossen/bump_to_1.29
...
Bump master to 1.29
2020-02-26 16:26:42 -08:00
Esun Kim
e9f41b7847
Update gRPC podspec to use Abseil 0.20200225
2020-02-26 12:37:05 -08:00
Richard Belleville
5ef379870d
Regenerate projects
2020-02-26 10:39:34 -08:00
Mark D. Roth
b68f813e54
xds: send envoy.lb.does_not_support_overprovisioning client capability
2020-02-26 08:23:27 -08:00
Moiz Haidry
67565b767d
CallCredentials debug string API
2020-02-25 16:09:03 -08:00
Muxi Yan
ef1a4b87a8
gRPC C++ podspec replace openssl with openssl_grpc
2020-02-25 13:27:42 -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
5f41758a76
Replaced gpr_asprintf with absl::StrFormat
2020-02-20 13:44:35 -08:00
Esun Kim
7a14955759
Replaced grpc_core::MakeUnique with absl::make_unique
2020-02-20 09:46:56 -08:00
Mark D. Roth
08069958fc
Merge remote-tracking branch 'upstream/master' into upb_upgrade
2020-02-10 14:40:07 -08:00
Mark D. Roth
b430f95ae0
fix build to remove file that no longer exists in upb
2020-02-07 08:43:14 -08:00
Vijay Pai
152f46b5f6
Move generic stub implementation to header (prepare for templates)
2020-02-04 23:42:22 -08:00
Yash Tibrewal
74309886bb
Replace LogicalThread with WorkSerializer
2020-01-30 13:20:57 -08:00
Mark D. Roth
ac7c1d20ed
Add LDS/RDS into XdsClient
2020-01-24 08:05:02 -08:00
Jan Tattermusch
3f3cf8b62a
Revert "grpclb stabilization"
2020-01-20 14:11:16 +01:00
Alexander Polcyn
1197454f5a
Regenerate projects
2020-01-17 15:36:25 -08:00
Mark D. Roth
5b18402914
grpclb stabilization
2020-01-10 09:13:10 -08:00
Esun Kim
5207eba9ff
Add abseil
2020-01-03 19:29:55 -08:00
Esun Kim
12c9f2e9d6
Make gRPC podspec template more robust
2019-12-15 15:51:41 -08:00
Guantao Liu
b9c06e043f
Merge pull request #21216 from guantaol/libuv_em_basic
...
Bare bones of the libuv EventManager.
2019-12-10 17:07:57 -08:00
Yihua Zhang
a6dbc7adb5
rename spiffe to tls
2019-12-05 16:03:37 -08:00
Guantao Liu
ee4b311605
Merge remote-tracking branch 'upstream/master' into libuv_em_basic
2019-12-04 17:41:35 -08:00
Guantao Liu
6b4b891eb2
Merge remote-tracking branch 'upstream/master' into libuv_em_basic
2019-12-04 14:01:14 -08:00
Mark D. Roth
68df397aa2
Remove vtables from JSON library
2019-12-04 13:03:55 -08:00
Richard Belleville
6feae07504
Regenerate projects
2019-12-03 15:08:50 -08:00
Guantao Liu
19d1776c0d
Rebase the workspace to fix the submodule discrepancy.
2019-12-02 16:57:17 -08:00
Muxi Yan
b7a467d463
Remove build references to grpc_shadow_boringssl.h
2019-11-22 10:46:11 -08:00
Yash Tibrewal
3b1d176e9d
LogicalThread
2019-11-22 10:38:35 -08:00
Vijay Pai
be6979202b
Revamp server-side C++ callback API, message allocator, and mocking
2019-11-20 16:56:18 -08:00
Muxi Yan
f14ce59fc8
Fix typo in gRPC C++ podspec
2019-11-13 08:19:41 -08:00
Muxi Yan
4d073daca3
podspec nit fix
2019-11-12 12:54:11 -08:00
Muxi Yan
09471e0b38
build_projects
2019-11-12 10:44:27 -08:00
Muxi Yan
574b846103
Fix Cronet issue in gRPC-C++.podspec
2019-11-11 17:24:58 -08:00
Muxi Yan
0c1c6c336e
build_projects
2019-11-08 15:53:51 -08:00
Muxi Yan
46b2e6dc56
Make gRPC-C++ podspec follow gRPC versioning
2019-11-07 14:27:40 -08:00
Esun Kim
0bf9799107
Replaced grpc_core::Set with std::set
2019-11-06 12:08:25 -08:00
Esun Kim
aaf48c66fc
Change upb from filegroup to library
2019-11-05 14:20:56 -08:00
Yash Tibrewal
07ef24344c
Regenerate projects
2019-10-24 11:54:20 -07:00
Esun Kim
f8df8af8d3
Updated podspec to have a sorted file list
2019-10-22 11:56:49 -07:00
matthewstevenson88
0362df725f
Merge pull request #19778 from matthewstevenson88/spiffe1
...
Add C++ wrapper for SPIFFE credentials v2
2019-10-10 10:34:04 -07:00
Mark D. Roth
076ee0bc85
Wrapper for std::set<> that overrides the allocator.
2019-10-03 07:47:34 -07:00
Esun Kim
2274ca22f4
Use std::pair
2019-10-02 09:00:12 -07:00
Esun Kim
1743519aa9
Activate C++ stdlib
2019-10-01 16:36:56 -07:00
Matthew Stevenson
726f0b68a1
Merge remote-tracking branch 'upstream/master' into spiffe1
2019-09-18 08:52:24 -07:00
Mark D. Roth
d1bca6ff92
Merge pull request #20119 from markdroth/c++_mpscq
...
Convert mpscq API from C to C++.
2019-09-17 15:24:13 -07:00
Matthew Stevenson
a300865dd2
Merge remote-tracking branch 'upstream/master' into spiffe1
2019-09-16 10:43:55 -07:00
Karthik Ravi Shankar
939830aa15
Merge pull request #20030 from karthikravis/move-method-handler
...
Make MethodHandler and related interfaces generic
2019-09-10 21:45:08 -07:00
Esun Kim
cf444b9cab
Regenerate projects
2019-09-10 14:08:50 -07:00
Mark D. Roth
51d18ecc63
Convert mpscq API from C to C++.
2019-09-05 10:32:36 -07:00
Karthik Ravi Shankar
de2006d3e1
Merge branch 'master' into move-method-handler
2019-08-28 14:01:58 -07:00
Matthew Stevenson
4b7eb25607
Merge remote-tracking branch 'upstream/master' into spiffe1
2019-08-26 08:45:31 -07:00
Matthew Stevenson
c2fd3844dc
Implemented Yihua's comments
2019-08-23 16:20:19 -07:00
Esun Kim
a031f0ffd6
Remove all nanopb defines
2019-08-23 08:41:35 -07:00
Matthew Stevenson
e87fc58b78
Autogenerated files
2019-08-22 09:58:54 -07:00
Karthik Ravi Shankar
28b0671235
Make MethodHandler and related interfaces generic
2019-08-21 16:12:48 -07:00
Matthew Stevenson
e8b28dd27b
Autogenerated files
2019-08-21 15:28:15 -07:00
Matthew Stevenson
d7e2ce2c2f
Merge remote-tracking branch 'upstream/master' into spiffe1
2019-08-21 15:11:40 -07:00
Esun Kim
7ec6e8a4de
Remove nanopb from gRPC
2019-08-21 13:31:21 -07:00
Matthew Stevenson
6189d34724
Revert "Forgot to autogenerate files and run clang_format/tidy_code"
...
This reverts commit 9295e4ebb3 .
2019-08-20 14:50:35 -07:00
Matthew Stevenson
9295e4ebb3
Forgot to autogenerate files and run clang_format/tidy_code
2019-08-20 14:41:38 -07:00
Matthew Stevenson
bcc458fb37
Merge remote-tracking branch 'upstream/master' into spiffe1
2019-08-20 11:55:52 -07:00
rmstar
eae902594b
Merge pull request #19855 from Tony1023/bazel_objc_tests
...
Added Bazel BUILD for ObjC Tests and Examples
2019-08-15 16:11:06 -07:00
Esun Kim
be4e684a82
Migrated tsi/alts from nanopb to upb
2019-08-08 16:39:05 -07:00
Juanli Shen
79f191114e
Use EDS in xds LB policy
2019-08-07 22:43:45 -07:00
Tony Lu
42737d976a
Fixed prepare command to let bazel work after replacement
2019-08-07 19:37:19 -07:00
Esun Kim
807cd08f4a
Fix upb build typo
2019-08-07 16:03:08 -07:00
Esun Kim
c6b0bd08c7
Updated grpclb to use upb
2019-08-07 13:25:49 -07:00
Esun Kim
6ddfb384c1
Added google/protobuf/descriptor.upb.* to google_api_upb
2019-08-07 12:08:06 -07:00
Esun Kim
f7454a9876
Modified health_check to use upb proto instead of nanopb
2019-08-07 09:16:08 -07:00
Esun Kim
8dfa3c2255
Remove upb targets from BUILD
2019-08-06 17:40:02 -07:00
Esun Kim
f88bd06ee5
Go UPB!
2019-08-06 15:27:14 -07:00
Yash Tibrewal
e6756a58ed
Merge pull request #19316 from yashykt/delegating_channel
...
Add Delegating Channel
2019-08-02 12:08:10 -07:00
Karthik Ravi Shankar
fcb43f9dee
Regenerate projects
2019-08-01 17:34:02 -07:00
Yash Tibrewal
3653439ba6
Merge master and move to experimental
2019-08-01 16:15:31 -07:00
Matthew Stevenson
4cd2fdd7df
First commit: autogenerated files
2019-07-29 10:43:38 -07:00
Esun Kim
e6b07f9e58
Added cronet to gRPC-C++.podspec
2019-07-24 15:47:32 -07:00
Yunjia Wang
15d2f0390b
Merge remote-tracking branch 'upstream/master' into thread_pool
2019-07-09 10:00:40 -07:00
Moiz Haidry
5ae9afdc55
Merge pull request #19517 from mhaidrygoog/grpc_to_grpc_impl_async_callback
...
Move grpc async, callback and sync implementation to grpc_impl namespace
2019-07-03 13:56:36 -07:00
yunjiaw26
aec511e0e0
Merge pull request #19358 from yunjiaw26/mpmcqueue
...
MPMCQueue
2019-07-02 18:27:06 -07:00
Moiz Haidry
bf994e48d9
Move grpc async, callback and sync implementation to grpc_impl namespace
2019-07-01 14:05:54 -07:00
Yunjia Wang
410451c126
Add threadpool implementation
2019-07-01 14:02:58 -07:00
Yunjia Wang
0141b18d66
Merge remote-tracking branch 'upstream/master' into threadpool
2019-07-01 13:38:18 -07:00
Soheil Hassas Yeganeh
dbf88dd66f
Revert "Revert "Introduce string_view and use it for gpr_split_host_port.""
...
This reverts commit 80c177d4c4 .
2019-06-27 20:56:15 -04:00
Karthik Ravi Shankar
bddcb6c906
Don't move ServerContext to impl
2019-06-26 14:28:34 -07:00
Yunjia Wang
5b6c9473cd
Merge remote-tracking branch 'upstream/master' into mpmcqueue
2019-06-26 13:59:28 -07:00
Karthik Ravi Shankar
8b91dc5fd2
Move more of usage to grpc_impl
...
1) Create server_context_impl and completion_queue_impl headers.
2) Move more of usage of ClientContext, ServerContext to grpc_impl
2019-06-22 17:17:29 -07:00
Soheil Hassas Yeganeh
ef0f9bf7ec
Introduce string_view and use it for gpr_split_host_port.
2019-06-20 23:19:34 -04:00
Yunjia Wang
fb05f0bf9c
Merge remote-tracking branch 'upstream/master' into mpmcqueue
2019-06-19 16:25:16 -07:00
Yunjia Wang
ad22f9d7bf
Add delete operator overload
2019-06-19 16:24:59 -07:00
Esun Kim
cd27a36924
Regenerate projects
2019-06-18 15:40:50 -07:00
Yunjia Wang
70c8211c85
Add config files
2019-06-17 16:57:30 -07:00
Moiz Haidry
186875337c
Sync with master
2019-06-11 16:16:27 -07:00
Yash Tibrewal
94e7edad99
Add Delegating Channel
2019-06-11 15:07:12 -07:00
Karthik Ravi Shankar
522ddfe273
Move ClientContext to grpc_impl
...
ClientContext is another file which needs to be moved from grpc to
grpc_impl for referencing it.
2019-06-05 16:31:39 -07:00
Moiz Haidry
226e63dd0c
Move server context implementation to grpc_impl namespace and typedef the ref to it
2019-06-05 10:41:30 -07:00
Mark D. Roth
28ccd61cf5
Use SubchannelInterface to hide implementation from LB policy API.
2019-05-29 12:21:15 -07:00
Yash Tibrewal
4746a8734d
Merge branch 'master' into validatesvccfg
2019-05-24 15:27:16 -07:00
Yash Tibrewal
886dc10daa
Move validate_service_config to a new file
2019-05-24 14:29:16 -07:00
Karthik Ravi Shankar
dc9897dfe3
Merge pull request #19067 from karthikravis/channel-cq-scq-impl
...
Fold Channel and CompletionQueue into grpc_impl
2019-05-22 16:10:58 -07:00
Muxi Yan
61e77cb764
Merge pull request #19082 from muxi/cpp-pod-certificate
...
Rename root certificate bundle in gRPC-C++ pod
2019-05-21 10:34:52 -07:00
Esun Kim
90fbdc92f5
Roll-forward "Config migration"
...
This reverts commit 236ae12bb1 .
2019-05-20 15:47:24 -07:00
Muxi Yan
c681ff8e4b
Rename root certificate bundle in gRPC-C++ pod
2019-05-20 14:51:16 -07:00
Karthik Ravi Shankar
03b079499c
Move CompletionQueue and Channel
2019-05-17 09:16:32 -07:00
Karthik Ravi Shankar
40210d3b8a
Move Channel to grpc_impl
2019-05-17 09:12:33 -07:00
yang-g
c639da7a1d
Merge branch 'master' of https://github.com/grpc/grpc into port_sharing
2019-05-16 09:07:55 -07:00
Karthik Ravi Shankar
772a74aced
Revert changes to Channel
2019-05-15 14:24:17 -07:00
Karthik Ravi Shankar
6be0b06c69
Revert "Fold CompletionQueue and ServerCompletionQueue into grpc_impl"
2019-05-15 13:38:34 -07:00
murgatroid99
70e850a023
Merge branch 'master' into cares_windows_platform_detection
2019-05-14 17:41:25 -07:00
murgatroid99
7743130f64
Consolidate conditional localhost resolution into existing file
2019-05-14 15:26:56 -07:00
Alexander Polcyn
236ae12bb1
Revert "Config migration"
...
This reverts commit 87905ae5ea .
2019-05-14 14:36:33 -07:00
yang-g
de57783beb
Merge with head and resolve conflict
2019-05-13 08:56:02 -07:00
murgatroid99
e16a0d4599
Fix typo
2019-05-10 15:53:45 -07:00
Arjun Roy
50e16f6d3a
Merge pull request #18910 from arjunroy/slice_eq_static
...
Added slice equality when static fastpath.
2019-05-10 13:45:57 -07:00
Arjun Roy
f65208af02
Added slice equality when static fastpath.
2019-05-10 11:35:27 -07:00
murgatroid99
4b4006f833
libuv cares: scope manual localhost resolution to only Windows
2019-05-10 11:15:12 -07:00
Srini Polavarapu
6bc2ff1b5f
Regenerate projects
2019-05-10 10:38:59 -07:00
Karthik Ravi Shankar
43986f4224
Merge pull request #18731 from karthikravis/grpc_namespace_completion_queue
...
Fold CompletionQueue and ServerCompletionQueue into grpc_impl
2019-05-09 16:43:37 -07:00
Esun Kim
51360d8513
Merge pull request #18931 from veblush/config-migration
...
Global config variables migration
2019-05-09 15:12:08 -07:00
Karthik Ravi Shankar
af32f6ce2e
Merge branch 'master' into grpc_namespace_completion_queue
2019-05-09 14:12:52 -07:00
Karthik Ravi Shankar
476f7cd81f
Merge pull request #18730 from karthikravis/grpc_namespace_channel_new
...
Fold Channel into grpc_impl from grpc namespace
2019-05-09 14:09:21 -07:00
Esun Kim
87905ae5ea
Config migration
2019-05-09 12:29:38 -07:00
yang-g
218e290074
Merge with head and resolve conflict
2019-05-07 22:46:45 -07:00
Michael Lumish
95a4a0ef76
Merge pull request #18809 from murgatroid99/cares_libuv
...
Add cares glue for libuv event loop
2019-05-02 13:43:52 -07:00
Esun Kim
ccf4734907
Merge pull request #18799 from veblush/config
...
New config system & migration sample
2019-05-01 09:01:35 -07:00
yang-g
abd97b9170
Merge with head and resolve conflict
2019-04-30 23:01:01 -07:00
Karthik Ravi Shankar
5de22c4bd4
Merge branch 'master' into grpc_namespace_completion_queue
2019-04-30 17:46:33 -07:00
Karthik Ravi Shankar
baef4b1d60
Merge branch 'master' into grpc_namespace_channel_new
2019-04-30 17:39:48 -07:00
Karthik Ravi Shankar
549230467b
Merge pull request #18720 from grpc/revert-18717-grpc_namespace_server_revert
...
Revert "Revert "Merge pull request #18458 from grpc/grpc_namespace_server""
2019-04-30 17:30:29 -07:00
Karthik Ravi Shankar
9eec789a4d
Merge branch 'grpc_namespace_channel_new' into grpc_namespace_completion_queue
2019-04-30 15:51:49 -07:00
Esun Kim
1518ecbd76
Added new configuration system to core/grp.
...
More generic configuration system is introduced in order to i) unify the
way how modules access the configurations instead of using low-level
get/setenv functions and ii) enable the customization for where configuration
is stored. This could be extended to support flag, file, etc.
Default configuration system uses environment variables as before so
basically this is expected to work just as it did. This behavior can
change by redefining GPR_GLOBAL_CONFIG_DEFINE_*type* macros.
* Migrated configuration
GRPC_CLIENT_CHANNEL_BACKUP_POLL_INTERVAL_MS
GRPC_EXPERIMENTAL_DISABLE_FLOW_CONTROL
GRPC_ABORT_ON_LEAKS
GRPC_NOT_USE_SYSTEM_SSL_ROOTS
2019-04-30 15:49:24 -07:00
Karthik Ravi Shankar
e3a0c85960
Merge branch 'master' into grpc_namespace_channel_new
2019-04-30 14:30:03 -07:00
yang-g
ac3a91edf8
Support accepting external connections.
2019-04-30 12:31:34 -07:00
Karthik Ravi Shankar
5a132b8245
Merge branch 'master' into grpc_namespace_credentials
2019-04-30 10:18:09 -07:00
Karthik Ravi Shankar
bc09c70799
Merge pull request #18454 from grpc/grpc_namespace_channel_arguments
...
Bring ChannelArguments to grpc_impl from grpc
2019-04-30 10:16:45 -07:00
Muxi Yan
efbeb750ec
Merge pull request #18814 from muxi/fix-cfstream-build-yaml
...
Build system fix for default CFStream
2019-04-26 08:14:30 -07:00
Karthik Ravi Shankar
3377e49bc7
Fix build errors
2019-04-25 11:40:56 -07:00
Arjun Roy
8ce42f67b2
Shrink arena size by 40 bytes and add additional
...
alignment options (for cache-alignment).
We shrink by:
1) Removing an unnecessary zone pointer.
2) Replacing gpr_mu (40 bytes when using pthread_mutex_t) with
std::atomic_flag.
We also header-inline the fastpath alloc (ie. when not doing a zone
alloc) and move the malloc() for a zone alloc outside of the mutex
critical zone, which allows us to replace the mutex with a spinlock.
We also cache-align created arenas.
2019-04-24 16:39:03 -07:00
Karthik Ravi Shankar
a1493cfa62
Add missing files for build
2019-04-24 08:26:46 -07:00
Karthik Ravi Shankar
81ba5a7b9b
Add missing files for build
2019-04-24 08:22:56 -07:00
Karthik Ravi Shankar
c8a6841dfc
Merge branch 'master' into revert-18717-grpc_namespace_server_revert
2019-04-23 18:14:02 -07:00
Yang Gao
5170c613cc
Merge pull request #18784 from yang-g/message_allocator
...
Message allocator support for callback unary
2019-04-23 15:49:49 -07:00
murgatroid99
dc1bcf8762
Consolidate helper function from windows and libuv
2019-04-22 17:31:55 -07:00
Muxi Yan
9e593f721f
build system fix for default CFStream
2019-04-19 14:14:48 -07:00
Soheil Hassas Yeganeh
2b9448a71c
Revert "Revert "Introduce C++ wrappers for gpr_mu and gpr_cv.""
...
This reverts commit d09c9f8e20 .
2019-04-17 14:35:29 -04:00
yang-g
6929cdd654
initial
2019-04-16 15:43:58 -07:00
Mark D. Roth
62d9be1533
Merge pull request #18631 from markdroth/pare_down_channel_args_api
...
Move functions for individual args out of channel_args.{h,cc}.
2019-04-16 07:11:33 -07:00
Alexander Polcyn
d09c9f8e20
Revert "Introduce C++ wrappers for gpr_mu and gpr_cv."
...
This reverts commit a26c09dd25 .
2019-04-11 16:52:54 -07:00
Karthik Ravi Shankar
62fb156122
Fold CompletionQueue and ServerCompletionQueue into grpc_impl
2019-04-11 13:16:32 -07:00
Karthik Ravi Shankar
973fa6950e
Fold Channel into grpc_impl from grpc namespace
2019-04-11 12:04:23 -07:00
Karthik Ravi Shankar
2e88231fc0
Revert "Revert "Merge pull request #18458 from grpc/grpc_namespace_server""
2019-04-10 15:04:05 -07:00
Soheil Hassas Yeganeh
e85dd2e644
Fix build errors
2019-04-10 14:15:28 -07:00
Karthik Ravi Shankar
f03b309787
Revert "Merge pull request #18458 from grpc/grpc_namespace_server"
...
This reverts commit dc1089a6d1 , reversing
changes made to 31843787cc .
This change also includes - Revert "Merge pull request #17932 from soheilhy/gprpp-mutex"
This reverts commit df4b6a763d , reversing
changes made to dc1089a6d1 .
2019-04-10 13:54:05 -07:00
Karthik Ravi Shankar
dad3f34207
Revert "Revert "Revert "Folding the Channel class into the grpc_impl namespace."""
2019-04-10 12:14:04 -07:00
Karthik Ravi Shankar
891b6cf7ae
Revert "Folding CompletionQueue and ServerCompletionQueue."
2019-04-10 10:22:59 -07:00
Karthik Ravi Shankar
d2b2f7f5a3
Merge branch 'master' into completion-queue-fold
2019-04-09 13:44:33 -07:00
Karthik Ravi Shankar
afd602ccba
Merge branch 'master' into completion-queue-fold
2019-04-09 10:46:03 -07:00
Karthik Ravi Shankar
5a08d2aae7
Merge branch 'master' into revert-18076-revert-17797-channel
2019-04-09 08:22:37 -07:00
Karthik Ravi Shankar
53c5bf5ced
Merge branch 'master' into revert-18076-revert-17797-channel
2019-04-08 16:04:24 -07:00
Soheil Hassas Yeganeh
a26c09dd25
Introduce C++ wrappers for gpr_mu and gpr_cv.
...
Introduce RAII wrappers in the grpc::internal and grpc_core
namespaces, and use them in place of std::mutex and
std::condition_variable.
Note that, since std::mutex is also used by the public
C++ headers we cannot introduce these wrappers in grpc_core.
Also, note that in grpcpp we cannot use gRPC core and vice versa.
So we had to duplicate the code, once using core_codegen_interface
and once using direct calls.
2019-04-08 18:27:07 -04:00
Karthik Ravi Shankar
9875fabdd4
Merge branch 'master' into revert-18076-revert-17797-channel
2019-04-08 12:55:07 -07:00
Karthik Ravi Shankar
958f373d32
Merge branch 'master' into grpc_namespace_server
2019-04-08 12:42:37 -07:00
Karthik Ravi Shankar
e8c0b2433a
Make script fixes
2019-04-05 10:20:13 -07:00
Karthik Ravi Shankar
dd39f78e3f
Merge branch 'master' into revert-18502-revert-18242-grpc_namespace_serverbuilder
2019-04-04 15:45:42 -07:00
Karthik Ravi Shankar
af283b3183
Merge pull request #18452 from grpc/grpc_namespace_server_credentials
...
Fold server credentials from grpc to grpc_impl namespace
2019-04-04 13:47:26 -07:00
Karthik Ravi Shankar
5b1bf21090
Merge pull request #18434 from grpc/grpc_namespace_generic_stub
...
Fold GenericStub from grpc_impl to grpc
2019-04-04 13:46:44 -07:00
Karthik Ravi Shankar
79a0be902e
Merge branch 'master' into revert-18502-revert-18242-grpc_namespace_serverbuilder
2019-04-04 10:13:18 -07:00
Karthik Ravi Shankar
6287a60b5b
Fix script errors
2019-04-04 10:11:52 -07:00
Karthik Ravi Shankar
12c20bc67c
Merge pull request #18436 from grpc/grpc_namespace_auth_metadata_processor
...
Fold AuthMetadataProcessor into grpc_impl from grpc
2019-04-03 14:49:09 -07:00
Karthik Ravi Shankar
e642e175e7
Merge pull request #18374 from grpc/grpc_namespace_channel_create
...
Moving create_channel from grpc to grpc_impl
2019-04-03 13:56:19 -07:00
Mark D. Roth
eccfecd6a6
Move functions for individual args out of channel_args.{h,cc}.
2019-04-03 13:15:40 -07:00
Karthik Ravi Shankar
e5ea95db88
Merge branch 'master' into revert-18502-revert-18242-grpc_namespace_serverbuilder
2019-04-03 12:25:09 -07:00
Karthik Ravi Shankar
8c2be21971
Merge branch 'master' into grpc_namespace_auth_metadata_processor
2019-04-01 13:53:16 -07:00
Karthik Ravi Shankar
3d6f118a5f
Merge branch 'master' into grpc_namespace_generic_stub
2019-04-01 13:52:27 -07:00
Karthik Ravi Shankar
87c98ad3fb
Merge pull request #18379 from grpc/grpc_namespace_server_initializer
...
Move ServerInitializer to grpc_impl namespace from grpc
2019-04-01 12:48:28 -07:00
Karthik Ravi Shankar
a9a0739dc8
Merge pull request #18371 from grpc/grpc_namespace_healthserviceinterface
...
Move ::grpc::HealthCheckServiceInterface to ::grpc_impl namespace
2019-04-01 12:28:13 -07:00
Karthik Ravi Shankar
3d5a9758fa
Merge pull request #18345 from grpc/revert-18343-revert-18220-grpc_namespace
...
Revert "Revert "Moving ::grpc::ResourceQuota to ::grpc_impl::ResouceQuota""
2019-04-01 12:27:51 -07:00
Lidi Zheng
1e8ddd7cda
Merge pull request #18584 from lidizheng/bump-version
...
Bump version to v1.21.0-dev
2019-03-29 17:50:13 -07:00
Moiz Haidry
5e26c4339d
Merge pull request #18052 from mhaidrygoog/xds_work
...
Support for LocalityMap for XDS LB policy
2019-03-29 16:30:42 -07:00
Lidi Zheng
0231bf3b01
Regenerate projects
2019-03-29 16:24:50 -07:00
Nicolas "Pixel" Noble
16ffa810b1
More missing files.
2019-03-29 21:20:02 +01:00
Moiz Haidry
ba00d3c914
Added a locality map class that maintains a child policy per locality. This is used by the xds lb policy to manage multiple localities. Also added a grpc_core::Map which is a templatized map, that is used by the locality map to maintain this info
2019-03-29 12:50:54 -07:00
Karthik Ravi Shankar
3354f2c5a7
Merge pull request #18373 from grpc/grpc_namespace_channel_create_posix
...
Move create_channel_posix from grpc to grpc_impl namespace
2019-03-29 10:17:59 -07:00
Karthik Ravi Shankar
3fe9361827
Make BUILD.gn and generate_projects.sh fix
2019-03-27 14:50:59 -07:00
Karthik Ravi Shankar
40440b9f9c
Merge branch 'master' into grpc_namespace_generic_stub
2019-03-27 14:42:02 -07:00
Karthik Ravi Shankar
0f078898d5
Merge branch 'master' into revert-18502-revert-18242-grpc_namespace_serverbuilder
2019-03-27 12:50:49 -07:00
Karthik Ravi Shankar
e4945761f3
Merge branch 'master' into grpc_namespace_healthserviceinterface
2019-03-27 12:38:25 -07:00
Karthik Ravi Shankar
1bb2db83d8
Merge branch 'master' into grpc_namespace_channel_create_posix
2019-03-27 12:35:05 -07:00
Karthik Ravi Shankar
20f3e29d41
Merge branch 'master' into grpc_namespace_channel_create
2019-03-27 12:33:02 -07:00
Karthik Ravi Shankar
577ddfb1a1
Move ServerInitializer to grpc_impl namespace from grpc
2019-03-27 12:28:35 -07:00
Karthik Ravi Shankar
a88e3f4c2e
Move ServerBuilderOption from grpc to grpc_impl namespace
2019-03-27 12:20:43 -07:00
Mark D. Roth
206592ce9c
Restructure how addresses and service config are passed from resolver to LB policy.
2019-03-26 11:57:21 -07:00
Karthik Ravi Shankar
996da58667
Revert "Revert "Moving ::grpc::ServerBuilder to ::grpc_impl::ServerBuilder""
2019-03-26 08:04:32 -07:00
Karthik Ravi Shankar
e4bb7cb8bb
Revert "Moving ::grpc::ServerBuilder to ::grpc_impl::ServerBuilder"
2019-03-25 19:57:17 -07:00
Karthik Ravi Shankar
6ffbfaac83
Fix errors from tests
2019-03-25 15:52:42 -07:00
Karthik Ravi Shankar
e27ddbc87e
Move ::grpc::HealthCheckServiceInterface to ::grpc_impl namespace
2019-03-25 15:50:35 -07:00
Karthik Ravi Shankar
526bf39f89
Fold GenericStub from grpc_impl to grpc
2019-03-19 12:34:30 -07:00
Karthik Ravi Shankar
322e720fe6
Merge branch 'master' into grpc_namespace_serverbuilder
2019-03-18 10:39:38 -07:00
Karthik Ravi Shankar
29bcbb24c2
Moving create_channel from grpc to grpc_impl
2019-03-15 13:02:41 -07:00
Yihua Zhang
b017c801b6
Add SPIFFE security stack to gRPC core
2019-03-14 15:24:48 -07:00
Karthik Ravi Shankar
82c6e012d8
Revert "Revert "Moving ::grpc::ResourceQuota to ::grpc_impl::ResouceQuota""
2019-03-12 14:01:05 -07:00
Karthik Ravi Shankar
b3889585a1
Revert "Moving ::grpc::ResourceQuota to ::grpc_impl::ResouceQuota"
2019-03-12 12:25:38 -07:00
Karthik Ravi Shankar
cc632f8121
Merge pull request #18220 from grpc/grpc_namespace
...
Moving ::grpc::ResourceQuota to ::grpc_impl::ResouceQuota
2019-03-12 11:20:27 -07:00
Yash Tibrewal
abcd5861eb
Nuking the poll-cv polling engine
2019-03-07 14:49:24 -08:00
Karthik Ravi Shankar
f7dd48b2b6
Moving ::grpc::ResourceQuota to ::grpc_impl::ResouceQuota
...
This change moves ResourceQuota class fron grpc namespace to grpc_impl
namespace.
2019-03-06 10:12:23 -08:00
Karthik Ravi Shankar
3b7a47cde6
Moving ::grpc::ServerBuilder to ::grpc_impl::ServerBuilder
...
This change moves ServerBuilder class from grpc namespace to grpc_impl
namespace.
2019-03-04 17:01:14 -08:00
Nicolas Noble
91ad888497
Revert "Revert "Folding the Channel class into the grpc_impl namespace.""
2019-02-27 16:53:23 -08:00
Mark D. Roth
5f00cfd3bd
Merge pull request #18096 from markdroth/lb_policy_api
...
Second attempt: LB policy picker API
2019-02-22 10:10:43 -08:00
Soheil Hassas Yeganeh
2bb92f6a98
Merge pull request #18059 from soheilhy/worktree-cpp-atomic
...
Introduce more helper methods in gprpp/atomic.h
2019-02-20 22:28:17 -05:00
Mark D. Roth
aa149fedbb
Revert "Merge pull request #18093 from grpc/revert-17770-lb_policy_picker_api"
...
This reverts commit f327b83706 , reversing
changes made to b3b5d63423 .
2019-02-19 13:19:24 -08:00
hcaseyal
275296c594
Revert "LB policy picker API"
2019-02-19 11:05:52 -08:00
Nicolas Noble
2ad245cb0c
Revert "Folding the Channel class into the grpc_impl namespace."
2019-02-15 09:52:15 -08:00
Soheil Hassas Yeganeh
508c8d805a
Introduce more helper methods in gprpp/atomic.h
...
Retire the old atomic_with_atm.h and atomic_with_std.h as they are not
needed anymore.
Introduce helper methods which call GPR_ATM_INC_ADD_THEN and
GPR_ATM_INC_CAS_THEN, and use them everywhere.
Also introduce AtomicIncrementIfNonzero, originally authored by
vjpai@. This is going to be used for completion queues.
2019-02-15 10:31:12 -05:00
Nicolas "Pixel" Noble
ad1a34f904
Adding new header to build files.
2019-02-14 21:55:20 +01:00
Nicolas "Pixel" Noble
de332cfcee
Merge branch 'master' of https://github.com/grpc/grpc into channel
2019-02-13 22:11:47 +01:00
Srini Polavarapu
f7f6861720
Merge pull request #18033 from srini100/master
...
Bump master to v1.20.x and pick "godric" for that release
2019-02-13 12:17:12 -08:00
Mark D. Roth
bab8123763
LB policy picker API
2019-02-13 08:30:04 -08:00
Srini Polavarapu
b0efc103e3
Regenerate projects
2019-02-12 21:07:42 -08:00
Nicolas "Pixel" Noble
63db582516
Merge branch 'master' of https://github.com/grpc/grpc into channel
2019-02-13 00:19:23 +01:00
Yihua Zhang
a3d997cbdc
Add a TLS credential surface API (experimental)
2019-01-29 10:04:28 -08:00
Muxi Yan
d0f8049548
Merge pull request #17731 from bimawa/feature/supportTVOS
...
Added support tvos
2019-01-25 10:24:21 -08:00
Nicolas "Pixel" Noble
b0e6cc9b5f
Forgot to declare the header.
2019-01-23 22:23:49 +01:00
Muxi Yan
c3e1c72194
Merge branch 'master' into feature/supportTVOS
2019-01-18 15:53:04 -08:00
Muxi Yan
371d4cd519
Update pod versions
2019-01-18 15:51:43 -08:00
Yash Tibrewal
9df6023dca
Move Optional to gprpp, and reviewer comments
2019-01-18 14:48:12 -08:00
Muxi Yan
d9beacbfd9
generate projects
2019-01-17 13:37:33 -08:00
Maxim Bunkov
736985cba1
Merge master into feature/supportTVOS
2019-01-17 10:24:45 +05:00
Juanli Shen
bbe2587c39
Enable per-channel subchannel pool
2019-01-15 14:15:18 -08:00
Prashant Jaikumar
95965f71d3
Remove network_status_tracker
...
Remove network_status_tracker and its unit test as it does nothing. We
can add tests for network status change in another commit.
2019-01-11 12:15:37 -08:00
apolcyn
26dddbb10d
Merge pull request #16187 from apolcyn/ipv6_resolver_scope_ids
...
Support named scope id's in grpc_parse_ipv6 on posix platforms
2019-01-08 14:36:20 -08:00
Sanjay Pujare
94d5587643
Regenerate projects
2019-01-03 15:35:20 -08:00
Alexander Polcyn
00763bc3ea
Support named scope id's with ipv6 resolver on posix
2018-12-26 11:03:43 -08:00
Mark D. Roth
09f57c17ee
Refactor request routing code out of client_channel.
2018-12-20 10:10:19 -08:00
Vijay Pai
c52ae0d000
Give the interceptors header files in include/grpcpp/support
2018-12-17 15:17:01 -08:00
Nicolas Noble
5748af6e18
Merge pull request #17468 from nicolasnoble/grpc_namespace
...
Moving ::grpc::Alarm to ::grpc_impl::Alarm.
2018-12-13 15:22:05 -08:00
Nicolas "Pixel" Noble
d550af373c
Moving ::grpc::Alarm to ::grpc_impl::Alarm.
2018-12-12 16:48:32 +01:00
Mark D. Roth
c5f344deaf
Revert "Revert "Allow encoding arbitrary channel args on a per-address basis.""
2018-12-11 07:48:14 -08:00
Maxim Bunkov
b6ac1cb5b4
added support tvos
2018-12-11 14:11:00 +05:00
hcaseyal
27e2ba31bf
Revert "Allow encoding arbitrary channel args on a per-address basis."
2018-12-07 16:13:37 -08:00
Mark D. Roth
dedff37b4f
Allow encoding arbitrary channel args on a per-address basis.
2018-12-07 12:41:51 -08:00
Jan Tattermusch
be7141f5d8
Merge remote-tracking branch 'upstream/v1.17.x' into HEAD
2018-12-06 15:06:13 +01:00
Soheil Hassas Yeganeh
2f55f4f85a
Add TSAN annotations to gRPC.
2018-12-04 15:34:30 -05:00
Muxi Yan
97ec5c1d68
Bump version to v1.17.0
2018-12-03 11:53:33 -08:00
Stanley Cheung
698cf221d8
Regenerate projects
2018-11-28 09:24:31 -08:00
Muxi Yan
96a0db9575
Use 'preX' when pre-releasing gRPC-C++.podspec
2018-11-21 13:50:19 -08:00
Yash Tibrewal
248e304671
Merge branch 'master' into httpplumbing
2018-11-21 11:48:41 -08:00
Stanley Cheung
42e3ae7309
Re-generate projects
2018-11-20 23:36:04 -08:00
Muxi Yan
da14743f1a
Generate projects
2018-11-19 15:32:20 -08:00
Muxi Yan
f3e4ae633e
Regenerate projects
2018-11-19 15:24:53 -08:00
Muxi Yan
ce4a8a66ee
Boost C++ version for 1.17.0
2018-11-19 10:37:39 -08:00
Yash Tibrewal
fc332d2c92
Merge master
2018-11-16 11:11:04 -08:00