Anirudh Ramachandra
e89883cc87
Revert "Revert "Fix grpc_sockaddr_to_uri to return URI encoded string. Also see #29323 which has a similar fix for unix abstract addresses."" ( #29798 )
...
Reverts #29639
2022-06-02 13:51:04 -07:00
Mark D. Roth
65a7ce3f04
Revert "Revert "server: add method to expose authority seen by server ( #29768 )" ( #29806 )" ( #29807 )
...
This reverts commit e39e943529 .
2022-05-31 14:15:45 -07:00
Mark D. Roth
e39e943529
Revert "server: add method to expose authority seen by server ( #29768 )" ( #29806 )
...
This reverts commit 449adce98b .
2022-05-26 16:15:14 -07:00
Mark D. Roth
449adce98b
server: add method to expose authority seen by server ( #29768 )
...
* server: add method to expose authority seen by server
* Automated change: Fix sanity tests
Co-authored-by: markdroth <markdroth@users.noreply.github.com>
2022-05-26 15:03:28 -07:00
Anirudh Ramachandra
440ae5684c
Revert "Fix grpc_sockaddr_to_uri to return URI encoded string. Also see #29323 which has a similar fix for unix abstract addresses."
2022-05-11 09:57:13 -07:00
Anirudh Ramachandra
a31224fc10
Fix grpc_sockaddr_to_uri to return URI encoded string. Also see #29323 which has a similar fix for unix abstract addresses. ( #29478 )
2022-05-10 13:40:39 -07:00
AJ Heller
18a8f6aad9
Refactor end2end tests to exercise each EventEngine ( #29202 )
...
* Refactor end2end tests to exercise each EventEngine
* fix incorrect bazel_only exclusions
* Automated change: Fix sanity tests
* microbenchmark fix
* sanitize, fix iOS flub
* Automated change: Fix sanity tests
* iOS fix
* reviewer feedback
* first pass at excluding EventEngine test expansion
Also caught a few cases where we should not test pollers, but should
test all engines. And two cases where we likely shouldn't be testing
either product.
* end2end fuzzers to be fuzzed differently via EventEngine.
* sanitize
* reviewer feedback
* remove misleading comment
* reviewer feedback: comments
* EE test_init needs to play with our build system
* fix golden file test runner
Co-authored-by: drfloob <drfloob@users.noreply.github.com>
2022-03-30 15:43:05 -07:00
AJ Heller
85189b24bb
Reintroduce: Avoid fully qualifying namespaces (and add check) ( #28917 )
...
Based on a handful of https://abseil.io/tips , it's generally advised to
only fully-qualify namespaces when in a `using` statement, or when it's
otherwise required for compilation. In all other cases, the general
recommendation is to not fully-qualify.
This change fixes most `grpc.*` namespace uses. There are potential
challenges in trying to make blanket changes to non-gRPC namespace uses,
such as `::testing`, since there is also a `grpc::testing` namespace.
2022-02-18 16:18:54 -08:00
AJ Heller
e72a5fe5dd
Revert "Avoid fully qualifying namespaces (and add check) ( #28901 )" ( #28916 )
...
This reverts commit fc7314c701 .
2022-02-17 17:56:19 -08:00
AJ Heller
fc7314c701
Avoid fully qualifying namespaces (and add check) ( #28901 )
...
Based on a handful of https://abseil.io/tips , it's generally advised to
only fully-qualify namespaces when in a `using` statement, or when it's
otherwise required for compilation. In all other cases, the general
recommendation is to not fully-qualify.
This change fixes most `grpc.*` namespace uses. There are potential
challenges in trying to make blanket changes to non-gRPC namespace uses,
such as `::testing`, since there is also a `grpc::testing` namespace.
2022-02-17 16:23:25 -08:00
Mark D. Roth
1050eedb87
enable clang-tidy readability-static-definition-in-anonymous-namespace check ( #28033 )
2021-11-17 07:48:43 -08:00
Craig Tiller
f1f3ac7f02
Revert "Revert "allow connectivity state watching to work on lame channels ( #27747 )" ( #27766 )" ( #27774 )
...
This reverts commit 790ce5c97f .
2021-10-19 15:28:31 -07:00
Craig Tiller
790ce5c97f
Revert "allow connectivity state watching to work on lame channels ( #27747 )" ( #27766 )
...
This reverts commit a2bd7b8440 .
2021-10-19 08:16:29 -07:00
Mark D. Roth
a2bd7b8440
allow connectivity state watching to work on lame channels ( #27747 )
...
* allow connectivity state watching to work on lame channels
* fix build
* fix lame_client_test
2021-10-18 14:47:47 -07:00
Esun Kim
ec4c61a3ae
Various fixes on absl::Status migration ( #27557 )
2021-10-07 14:49:59 -07:00
Esun Kim
47586fb36e
Revert "Revert "Added absl::Status support to error_utils ( #27358 )" ( #27418 )" ( #27429 )
...
This reverts commit 933676c56c .
2021-09-21 14:42:57 -07:00
Craig Tiller
933676c56c
Revert "Added absl::Status support to error_utils ( #27358 )" ( #27418 )
...
This reverts commit 9b3f75d322 .
2021-09-21 09:48:57 -07:00
Esun Kim
9b3f75d322
Added absl::Status support to error_utils ( #27358 )
2021-09-20 18:03:17 -07:00
Craig Tiller
ea389c00c2
Adjust include order per style guide ( #27175 )
...
Introduce clang-format configuration to sort includes closer to our rules.
2021-09-08 12:14:44 -07:00
Craig Tiller
4f9828fe0b
Remove unnecessary include ( #26761 )
2021-07-22 16:19:34 -07:00
Vijay Pai
0f80378a21
Resolve race between OnReadDone(ok=false) and IsCancelled ( #26245 )
...
* Resolve and test race between OnReadDone(ok=false) and IsCancelled
* Fix retry case
* Fix health check case
* Address reviewer comments.
* ADD TODO requested by markdroth
2021-05-19 14:05:46 -07:00
Esun Kim
377fe6095a
Upgrade clang-tidy and clang-format to 11 ( #25590 )
...
* Upgrade clang-tidy and clang-format to 11
* Reformat code
* Fix abseil-string-find-str-contains
* Fix modernize-make-unique
2021-03-04 11:54:30 -08:00
Vijay Pai
dba8bb59a0
Implement callback CQ at C++ layer using shared thread pool if non-background iomgr
2021-02-16 16:02:23 -08:00
Yash Tibrewal
f4e55b85bc
Replace disrespectful term
2021-02-08 15:29:53 -08:00
Esun Kim
53ab235fb8
Fix google-explicit-constructor
2020-12-03 15:03:39 -08:00
Esun Kim
2ff84ed8c2
C++ cast for void*
2020-11-30 17:29:15 -08:00
yang-g
8456e2138a
Check localhost is resolved to ipv4 or ipv6 and update test accordingly.
2020-10-23 14:38:36 -07:00
Esun Kim
84df61b31a
Merge pull request #24453 from veblush/tidy-modernize-make-unique
...
[Clang-Tidy] Enable modernize-make-unique
2020-10-16 16:35:08 -07:00
Esun Kim
e7434d385e
Fix by tidy-modernize-use-override
2020-10-16 14:01:06 -07:00
Esun Kim
6ae8463500
Fix by modernize-make-unique
2020-10-16 13:30:56 -07:00
Vijay Pai
9c5a39c6db
Revert "Merge pull request #23361 from vjpai/em_agnostic_core_callback_cq"
...
This reverts commit a46cb5e86a , reversing
changes made to b5d42e75fb .
2020-07-28 09:55:43 -07:00
Vijay Pai
bcb6530717
Revert "Merge pull request #23430 from vjpai/remove_do_not_test"
...
This reverts commit 08d737abf8 , reversing
changes made to 6dc44b33c7 .
2020-07-28 09:55:17 -07:00
Vijay Pai
e1a45fb237
Remove references to skipping callback API tests
2020-07-09 11:45:01 -07:00
Vijay Pai
7ee2bc6db5
EM-agnostic callback completion queue
2020-07-08 16:12:23 -07:00
Esun Kim
165ee5007a
Replaced grpc::string with std::string
2020-06-29 17:56:36 -07:00
Vijay Pai
fa1c66852b
Increase reconnect sleep time to 5x poller interval
2020-06-11 14:47:53 -07:00
Moiz Haidry
1d47046807
Merge from HEAD
2020-02-27 11:00:28 -08:00
Vijay Pai
fe72304e54
Switch registered calls to a map and check the map before inserting
2020-02-27 09:13:42 -08:00
Moiz Haidry
4c5ee108da
Addressed Yang's comments, I have removed usage of const throughout for consistency
2020-02-26 14:14:33 -08:00
Moiz Haidry
67565b767d
CallCredentials debug string API
2020-02-25 16:09:03 -08:00
Vijay Pai
24483d2afd
Address reviewer comments
2019-12-13 15:17:34 -08:00
Vijay Pai
9be35f74c0
Make CancelDelayedRpc test not use sleeps for client-server sync
2019-12-12 11:19:00 -08:00
Prashant Jaikumar
2526dfade5
WIP: Make core and C++ tests work with bazel on Mac OS
2019-11-25 13:35:26 +01:00
Vijay Pai
be6979202b
Revamp server-side C++ callback API, message allocator, and mocking
2019-11-20 16:56:18 -08:00
Esun Kim
e45b60d1fe
Fix unique_ptr<char> memory allocation mismatch
2019-11-07 17:53:59 -08:00
Esun Kim
b2b7fc9af8
Replaced grpc_core::UniquePtr with std::unique_ptr
2019-11-07 13:05:39 -08:00
Yash Tibrewal
9f9288fbb9
Merge pull request #20246 from yashykt/credentials_expose
...
Experimental method to get a debugging only view into credentials
2019-10-18 15:24:54 -07:00
Vijay Pai
176dfc2289
Remove unused parameter warning (15 of 20)
2019-10-17 08:51:50 -07:00
Vijay Pai
5d7e4bb301
Stop using deprecated gtest macros
2019-09-24 14:56:41 -07:00
Yash Tibrewal
a4cf948b2f
Experimental method to get a debugging only view into credentials
2019-09-12 12:31:29 -07:00