AJ Heller
1f03bbab39
Small cleanup ( #29125 )
...
The std::moves of temporaries prevented copy elision, and the functions
were unused (one with a TODO to re-enable later)
3 years ago
Yash Tibrewal
c9946c2183
Channelz Service Test Shutdown ( #29068 )
3 years ago
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.
3 years ago
AJ Heller
e72a5fe5dd
Revert "Avoid fully qualifying namespaces (and add check) ( #28901 )" ( #28916 )
...
This reverts commit fc7314c701
.
3 years ago
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.
3 years ago
Craig Tiller
74a2cb6e2b
Revert "Revert "Reland slice changes ( #28601 )" ( #28615 )" ( #28624 )
...
* Revert "Revert "Reland slice changes (#28601 )" (#28615 )"
This reverts commit 939bbfc336
.
* Change random seed back to nanoseconds
3 years ago
Craig Tiller
939bbfc336
Revert "Reland slice changes ( #28601 )" ( #28615 )
...
This reverts commit b33e0d40af
.
3 years ago
Craig Tiller
b33e0d40af
Reland slice changes ( #28601 )
...
* Revert "Revert "Eliminate slice interning (#28363 )" (#28598 )"
This reverts commit 03bf699600
.
* fix?
3 years ago
Jan Tattermusch
03bf699600
Revert "Eliminate slice interning ( #28363 )" ( #28598 )
...
This reverts commit 6703186b7a
.
3 years ago
Craig Tiller
6703186b7a
Eliminate slice interning ( #28363 )
...
Eliminate slice interning, and structures in slices to support it.
Reduces grpc_slice_refcount from 40 bytes (+ a required 8 bytes elsewhere) to 16 bytes.
Removes a pointer dereference for every slice ref/unref.
Co-authored-by: ctiller <ctiller@users.noreply.github.com>
3 years ago
Mark D. Roth
1050eedb87
enable clang-tidy readability-static-definition-in-anonymous-namespace check ( #28033 )
3 years ago
Craig Tiller
ea389c00c2
Adjust include order per style guide ( #27175 )
...
Introduce clang-format configuration to sort includes closer to our rules.
3 years ago
Yash Tibrewal
8d95aad50c
Channelz security changes - Follow up from #25593 ( #25624 )
4 years ago
Richard Belleville
d9903aa44e
Format Channelz Address.TcpIpAddress.address as packed bytes ( #25629 )
...
* Move address packing to Core
* Format
* Use absl::Base64Escape
* Update src/core/lib/channel/channelz.cc
Co-authored-by: Yash Tibrewal <yashkt@google.com>
Co-authored-by: Yash Tibrewal <yashkt@google.com>
4 years ago
Yash Tibrewal
abf1e9a3c9
Add missing security field to channelz Socket ( #25593 )
...
* Add missing security field to channelz Socket
4 years ago
Yash Tibrewal
9c043baf49
Allow the channelz service test to get different listen socket sizes
4 years ago
Yash Tibrewal
4105d2ce20
XdsServerBuilder, config fetching per resolved address and delaying bind/listen till fetch is complete
4 years ago
Esun Kim
6ae8463500
Fix by modernize-make-unique
4 years ago
Esun Kim
165ee5007a
Replaced grpc::string with std::string
4 years ago
Prashant Jaikumar
9f02fc7f91
Enable end2end C++ tests on iOS.
...
Some e2e tests were disabled on iOS because they hit the Apple CFStream bug.
This commit enables e2e tests and works around the Apple bug by disabling CFStream.
5 years ago
Hope Casey-Allen
bd8a04a6e9
Add human-readable names for channelz sockets and listen sockets
5 years ago
Mark D. Roth
cfb31818ef
Remove channelz from LB policy API.
6 years ago
Nicolas "Pixel" Noble
b9a279c030
Resolving ambiguous call to CreateCustomChannel.
6 years ago
ncteisen
d8947ae073
Fix internal build error
6 years ago
xichengliudui
8548a932fb
Update .cc and .md files
6 years ago
ncteisen
c7f7db65e0
Add test and fix bug
6 years ago
yang-g
e75fc243da
change tests to use the new class instead of grpc_test_init
6 years ago
ncteisen
1b8bf9f190
Add blank line
6 years ago
ncteisen
e7d59f718f
clang format
6 years ago
ncteisen
131eedaa40
Add test
6 years ago
ncteisen
bc44c5e353
Add GetServer to channelz cpp
6 years ago
ncteisen
0b0f21b3d2
C++ Channelz GetServerSockets Support
6 years ago
ncteisen
a64cb54de1
Channel trace is limited by memory
6 years ago
ncteisen
038e760a7d
Channelz C++ Socket support
6 years ago
ncteisen
4205b97dd9
reviewer feedback
6 years ago
ncteisen
e165579d3e
Subchannel support to C++
6 years ago
ncteisen
70ef911343
Add C++ support for GetServers
6 years ago
ncteisen
f3c600f335
Fix up C++ test to be more stable
6 years ago
ncteisen
0bf39e2a13
Subchannel support to C++
6 years ago
ncteisen
18a9d7d57c
reviewer feedback
6 years ago
ncteisen
b47214952b
reviewer feedback
6 years ago
ncteisen
6104e4f33b
Move ChannelzServicePlugin to public, experimental
6 years ago
ncteisen
9620118390
Remove blank line
6 years ago
ncteisen
c194528844
Adds C++ Channelz Service
6 years ago