Commit Graph

1171 Commits

Author SHA1 Message Date
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
Lidi Zheng 952c4174ad
Merge pull request #23528 from emkornfield/upgrade_boring
Upgrade BoringSSL to latest on master-with-bazel branch
2020-07-21 10:09:27 -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
Micah Kornfield aa79bb75e0 regenerate project 2020-07-20 10:51:16 -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
Donna Dionne 8c013bfcdc Adding Fake headers for header matching. 2020-07-15 13:14:19 -07:00
Mark D. Roth abab9967cf Add XdsConfigSelector and populate call attribute containing the deadline. 2020-07-13 13:00:23 -07:00
Jan Tattermusch 8cf57b2dda
Merge pull request #23410 from jtattermusch/upgrade_boringssl_submodule
Upgrade boringssl submodule to latest master-with-bazel
2020-07-09 13:49:54 +02:00
Donna Dionne 8dd0cb4712 Add support for xDS regex matchers. 2020-07-07 13:17:25 -07:00
Jan Tattermusch b1ed4f1d9e regenerate projects 2020-07-07 11:34:30 +02:00
Yash Tibrewal a438ef58f1
Merge pull request #23293 from yashykt/retrychecksize
Add message-size check before message decompression with ordering change
2020-06-26 10:43:52 -07:00
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
Yash Tibrewal e98eaa5052
Revert "Revert "Add message-size check before message decompression"" 2020-06-23 12:19:07 -07:00
Vijay Pai c7f2956b67
Revert "Add message-size check before message decompression" 2020-06-22 16:18:36 -07:00
Mark D. Roth 4d541fc30a
Merge pull request #23051 from markdroth/xds_config_selector2
Add ConfigSelector API.
2020-06-22 12:30:21 -07:00
Yash Tibrewal 0497ad8bb0 Add missing message-size check before decompressing
Add and fix tests for limit check before decompression

Code restructuring to allow easy reuse of service config call data

Regenerate projects

Reviewer comments
2020-06-19 14:49:18 -07:00
Mark D. Roth 133918ec70 Add ConfigSelector API. 2020-06-18 12:57:43 -07:00
Mark D. Roth 11d50d9592 Merge remote-tracking branch 'upstream/master' into upb_upgrade 2020-06-15 15:24:10 -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 86cf3bbe96 attempt to fix ios build 2020-06-03 11:15:44 -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
Srini Polavarapu ce52c1dd71 update boringssl 2020-05-20 14:57:25 -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
Yash Tibrewal affe03e169
Merge pull request #22668 from yashykt/failwrites
Fail writes when End of stream has been received
2020-04-21 14:11:52 -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
donnadionne baa442e6e4
Merge pull request #22280 from donnadionne/route_response
Xds Routing LB Policy
2020-04-17 12:45:39 -07:00
Yash Tibrewal 86c03c1710 Merge branch 'master' into failwrites 2020-04-17 11:25:47 -07:00
Donna Dionne 584b35055e Merge remote-tracking branch 'upstream/master' into route_response 2020-04-16 13:10:15 -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
Yash Tibrewal e24bb3a6ef Regenerate projects 2020-04-16 11:46:29 -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 0bd9e89d05 Regenerate projects 2020-04-14 20:23:14 -07:00
Yash Tibrewal e26ec77423 revert auto changes 2020-04-14 18:23:00 -07:00
Yash Tibrewal 2723a1bae6 Add a new type of error, GRPC_ERROR_EOS for failing writes when end of stream has been received 2020-04-14 18:07:14 -07:00
Yash Tibrewal 3c34eae97e Move decompression into gRPC Core 2020-04-10 16:43:29 -07:00
Donna Dionne f5fd631a9c Merge remote-tracking branch 'upstream/master' into route_response 2020-04-09 11:10:28 -07:00
Mark D. Roth f8f6034d1a Refactor xds LB policy 2020-04-07 14:03:01 -07:00
Donna Dionne c0c7f1dae3 Fix build and test failures
Including the following
All all needed BUILD changes to include new xdsRouting
Fixed TSAN errors
AllServerUnavailableFailFast may return UNKNOWN as oppose UNAVAILABLE
ChooseLastRoute modified into 2 tests
2020-04-06 16:05:04 -07:00
Muxi Yan a65844c63a build_project 2020-04-03 11:44:37 -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
yang-g 976fff1797 Create a macro to allow custom dualstack socket 2020-03-04 16:07:35 -08: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
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
Mark D. Roth 211e0174b9 Merge remote-tracking branch 'upstream/master' into upb_upgrade 2020-02-20 10:47:31 -08:00
Esun Kim 7a14955759 Replaced grpc_core::MakeUnique with absl::make_unique 2020-02-20 09:46:56 -08:00
Esun Kim 0b26a2ff56 Added abseil-based sync 2020-02-11 14:44:25 -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
Mark D. Roth 01e87e2d93 Remove old JSON API 2020-02-04 15:21:27 -08:00
Yash Tibrewal c3bcb6c7ce
Merge pull request #21846 from yashykt/workserializer
Replace LogicalThread with WorkSerializer
2020-02-04 14:23:28 -08:00
Jan Tattermusch 9ad0a632b5 regenerate projects 2020-01-31 11:04:47 -05:00
Jan Tattermusch b8aa71ded7
Merge pull request #21833 from jtattermusch/reintroduce_again_21527
Reintroduce #21527 (boringssl submodule unification - take two)
2020-01-31 16:57:22 +01:00
Yash Tibrewal 74309886bb Replace LogicalThread with WorkSerializer 2020-01-30 13:20:57 -08:00
Mark D. Roth 380eb750ec New JSON API 2020-01-29 14:52:19 -08:00
Jan Tattermusch f098606c4a Revert "Revert "Reintroduce #21527 (boringssl submodule unification)""
This reverts commit cca892022b.
2020-01-29 09:18:51 -05:00
hcaseyal cca892022b
Revert "Reintroduce #21527 (boringssl submodule unification)" 2020-01-27 13:46:10 -08:00
Jan Tattermusch e7e5d0198f Revert "Revert "Unify boringssl submodules and use non-developer boringssl cmake build""
This reverts commit fe2242e603.
2020-01-27 05:04:05 -05:00
Mark D. Roth ac7c1d20ed Add LDS/RDS into XdsClient 2020-01-24 08:05:02 -08:00
Jan Tattermusch e886a9d0fd
Merge pull request #21723 from grpc/revert-21527-unify_boringssl_deps2
Revert "Unify boringssl submodules and use non-developer boringssl cmake build"
2020-01-21 19:23:18 +01:00
Jan Tattermusch fe2242e603
Revert "Unify boringssl submodules and use non-developer boringssl cmake build" 2020-01-20 14:27:31 +01:00
Jan Tattermusch 3f3cf8b62a
Revert "grpclb stabilization" 2020-01-20 14:11:16 +01:00
Muxi Yan 9d4411842f Update BoringSSL podspec version 2020-01-18 03:08:25 -05: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
Yash Tibrewal 5817f6287d
Merge pull request #21275 from yashykt/logicalthread
LogicalThread
2019-12-02 14:44:20 -08:00
Mark D. Roth 4e393dc035 Convert grpc_proxy_mapper to C++. 2019-11-22 12:32:47 -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
Mark D. Roth 0e487a7405 Convert grpc_connector to C++. 2019-11-14 09:45:17 -08:00
Muxi Yan ac92253fe8 Bump up BoringSSL version number 2019-11-13 15:21:27 -08:00
Muxi Yan 0b0627c681 generate projects 2019-11-13 14:55:05 -08:00
Muxi Yan d14528e4bf
Merge pull request #20975 from muxi/boringssl-fix
Boringssl podspec clean-up
2019-11-12 15:30:09 -08:00
Esun Kim 0bf9799107 Replaced grpc_core::Set with std::set 2019-11-06 12:08:25 -08:00
Muxi Yan abcee5eacd Bump up BoringSSL version as it depends on a new commit 2019-11-04 15:31:42 -08:00
Mark D. Roth 7ccdc85fa0 CDS LB policy 2019-10-29 12:00:12 -07:00
Juanli Shen 0a736c0d37 Update envoy API to HEAD 2019-10-24 17:21:26 -07: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
Mark D. Roth 9a276c07fa Revert "Merge pull request #20593 from grpc/revert-20380-xds_client_bootstrap"
This reverts commit 0bd5efa55f, reversing
changes made to f92c283a5d.
2019-10-15 07:33:53 -07:00
Jan Tattermusch 13abbd9a75
Revert "xds client bootstrap file" 2019-10-14 16:51:32 +02:00
Mark D. Roth 2afaec231d xds client bootstrap file 2019-10-09 14:06:48 -07:00
Mark D. Roth b01072586d Refactor EDS and LRS code from xds LB policy into new XdsClient API. 2019-10-04 11:41:13 -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
Muxi Yan ead48a64a6
Merge pull request #20280 from muxi/port-20257
Port 20257: Fix v1.24.0-pre1 objc release
2019-09-17 17:14:20 -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
Muxi Yan 88cfae00be Build fix for Cocoapods release 2019-09-17 08:36:07 -07:00
Esun Kim cf444b9cab Regenerate projects 2019-09-10 14:08:50 -07:00
Esun Kim c965ca1494 Pull out configuration from ssl_utils 2019-09-09 11:18:17 -07:00
Mark D. Roth 51d18ecc63 Convert mpscq API from C to C++. 2019-09-05 10:32:36 -07:00
Mark D. Roth 21c5424477 Add API for accessing per-call backend metric data in LB policies. 2019-08-28 12:48:06 -07:00
Esun Kim a031f0ffd6 Remove all nanopb defines 2019-08-23 08:41:35 -07:00
Esun Kim 7ec6e8a4de Remove nanopb from gRPC 2019-08-21 13:31:21 -07:00
Juanli Shen a802b14be6 Add xds resolver 2019-08-16 15:09:32 -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
Esun Kim 807cd08f4a Fix upb build typo 2019-08-07 16:03:08 -07:00
Esun Kim f987a2c8cd
Merge pull request #19740 from veblush/to-upb-lb
Migrated from nanopb to upb for grpclb
2019-08-07 14:55:55 -07:00
Muxi Yan 3ffa07cb12
Merge pull request #19787 from Tony1023/tv/watchOS
Added experimental tvOS and watchOS support
2019-08-07 13:29:47 -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
Karthik Ravi Shankar fcb43f9dee Regenerate projects 2019-08-01 17:34:02 -07:00
Tony Lu e24fc43a03 Merge branch 'master' of github.com:grpc/grpc into tv/watchOS 2019-08-01 11:03:14 -07:00
Esun Kim 05d6f9f2b1
Merge pull request #19702 from veblush/move-cronet
Create sub package for cronet
2019-07-24 16:52:26 -07:00
Esun Kim ded9f46c06 Refactored BUILD file to isolate cronet rules 2019-07-24 14:55:35 -07:00
Qiancheng Zhao 29480c4f6b add client idle filter 2019-07-24 10:04:41 -07:00
Tony Lu b82d5ecc5a Removed space from dir name to fix clang_format_code 2019-07-22 18:37:36 -07:00
Tony Lu 8e99f682e8 Merge branch 'master' of github.com:grpc/grpc into tv/watchOS 2019-07-18 16:34:40 -07:00
yunjiaw26 1e607d3dc0
Merge pull request #19544 from yunjiaw26/thread_pool
Threadpool
2019-07-18 15:02:59 -07:00
Tony Lu 1efe2d9992 Merge branch 'master' of github.com:grpc/grpc into tv/watchOS 2019-07-16 18:23:27 -07:00
Tony Lu a07b669ce6 Used a safer filter 2019-07-16 10:55:30 -07:00
Tony Lu 881e038529 Fixing duplicating problem 2019-07-15 18:55:12 -07:00
Tony Lu 90dac25693 Added watchOS sample 2019-07-12 17:21:35 -07:00
Tony Lu 34a6880508 Fixing formatting issues 2019-07-11 18:31:51 -07:00
Tony Lu aa3c2a903d Reworked hack 2019-07-11 16:04:44 -07:00
Yunjia Wang 410451c126 Add threadpool implementation 2019-07-01 14:02:58 -07:00
Yunjia Wang 5b6c9473cd Merge remote-tracking branch 'upstream/master' into mpmcqueue 2019-06-26 13:59:28 -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
Mark D. Roth 28ccd61cf5 Use SubchannelInterface to hide implementation from LB policy API. 2019-05-29 12:21:15 -07:00
Esun Kim 90fbdc92f5 Roll-forward "Config migration"
This reverts commit 236ae12bb1.
2019-05-20 15:47:24 -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
murgatroid99 e16a0d4599 Fix typo 2019-05-10 15:53:45 -07:00
murgatroid99 90e52f00a1 Moved code back into one file with a #ifdef 2019-05-10 14:47:26 -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
Esun Kim 87905ae5ea Config migration 2019-05-09 12:29:38 -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 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
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
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
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
murgatroid99 41871bf7de Add cares glue for libuv event loop 2019-04-18 17:08:51 -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
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
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
Mark D. Roth eccfecd6a6 Move functions for individual args out of channel_args.{h,cc}. 2019-04-03 13:15:40 -07:00
Muxi Yan 71727d1efb Merge remote-tracking branch 'upstream/master' into default-cfstream-2 2019-04-01 15:34:07 -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
Lidi Zheng 0231bf3b01 Regenerate projects 2019-03-29 16:24:50 -07: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
Muxi Yan d771bcab2c Merge remote-tracking branch 'upstream/master' into default-cfstream-2 2019-03-28 14:49:15 -07:00
Mark D. Roth 934e31d7d1
Merge pull request #18357 from markdroth/address_list_not_in_channel_args
Restructure how addresses and service config are passed from resolver to LB policy
2019-03-27 11:40:44 -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
Lidi Zheng 450ec5a340 Merge branch 'v1.19.x' 2019-03-26 09:50:18 -07:00
Yihua Zhang b017c801b6 Add SPIFFE security stack to gRPC core 2019-03-14 15:24:48 -07:00
Srini Polavarapu 9e9cc11d2b Regenerate projects 2019-03-07 16:48:38 -08:00
Yash Tibrewal abcd5861eb Nuking the poll-cv polling engine 2019-03-07 14:49:24 -08:00
Mark D. Roth a04b0646de Don't use a separate call context for subchannel calls. 2019-03-04 14:38:02 -08:00
Muxi Yan 44a646bc39 more commits for v1.19.0 2019-02-25 23:25:56 -08:00
Srini Polavarapu d63f008767 Regenerate projects 2019-02-25 09:40:44 -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
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
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 8d237ea703 Regenerate projects 2019-02-12 21:29:53 -08:00
Srini Polavarapu b0efc103e3 Regenerate projects 2019-02-12 21:07:42 -08:00
Arjun Roy 195a30bb8b Grpc: Change grpc_handshake and grpc_handshake_mgr to use CPP implementations.
grpc_handshake is renamed to GrpcHandshake, using C++ class definitions
instead of C-style vtable classes. Update callers to use new interfaces.
We use RefCountedPtr to simplify reference tracking.
2019-02-11 11:35:08 -08: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
Muxi Yan 7d959465f2 Update podspec version 2019-01-24 10:27:12 -08:00
Yash Tibrewal ca90fd501d
Merge pull request #17757 from yashykt/optstats
Collect OPT_STATS along with tx timestamps
2019-01-21 19:22:08 -08:00
Muxi Yan c3e1c72194
Merge branch 'master' into feature/supportTVOS 2019-01-18 15:53:04 -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
Mark D. Roth 10fa278660
Merge pull request #17577 from markdroth/lb_trailing_metadata
Allow LB policies to intercept recv_trailing_metadata
2019-01-17 13:26:29 -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
Muxi Yan 0ed65db5d2
Merge branch 'master' into default-cfstream-2 2019-01-11 16:31:34 -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
Mark D. Roth d6e2b33670 Move InterceptRecvTrailingMetadataLoadBalancingPolicy to a separate file.
This fixes a link error when building with make.
2019-01-10 10:31:16 -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
Mark D. Roth 21446eb35a Fix build.yaml. 2019-01-08 14:19:43 -08:00
Sanjay Pujare 94d5587643 Regenerate projects 2019-01-03 15:35:20 -08:00
Muxi Yan e761e56630
Merge pull request #17249 from muxi/16-to-32
Use 32 bit nanopb fields
2019-01-03 10:10:13 -08:00
Muxi Yan a7643b1f42 build projects 2018-12-27 11:40:17 -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
yang-g a303a28895 Merge with head and resolve conflict. 2018-12-17 11:54:10 -08:00
yang-g 038a71d826 Merge remote-tracking branch 'upstream/master' into gpr_test_util_to_grpc_test_util 2018-12-17 08:52:20 -08:00
Yihua Zhang 0531d3d3ad extend local credentials to support tcp loopback 2018-12-16 14:50:26 -08: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
yang-g e00ca0371a Promote gpr_test_util to part of grpc_test_util, add a sample to show it works, build.yaml change first 2018-12-06 13:40:12 -08: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