AJ Heller
f238e5399c
[security] Reland: Refactor credentials types to remove special handling for insecure creds ( #36242 )
...
See #36176 . The only difference is a temporary shim for Secure credentials types, which was already discussed and approved separately.
Closes #36242
COPYBARA_INTEGRATE_REVIEW=https://github.com/grpc/grpc/pull/36242 from drfloob:reland/36176 f07bebe289
PiperOrigin-RevId: 621879911
8 months ago
AJ Heller
da43a61322
Automated rollback of commit 822311c0d9
.
...
PiperOrigin-RevId: 621025232
8 months ago
AJ Heller
822311c0d9
[security] Refactor credentials types to remove special handling for insecure creds ( #36176 )
...
Forked from #35957
This PR refactors the credentials types to remove Secure and Insecure Channel and Call credentials types. We standardize on a `c_creds()` accessor method for all credentials types, which can now be treated uniformly. This notably removes special-case handling of insecure credentials.
The special code-paths for insecure creds are no longer necessary in the wake of #25586 .
Closes #36176
COPYBARA_INTEGRATE_REVIEW=https://github.com/grpc/grpc/pull/36176 from drfloob:fork/35957/creds-API fd64d59c23
PiperOrigin-RevId: 621008166
8 months ago
Yijie Ma
f99b8b5bc4
Convert c-style comments to C++-style comments ( #31923 )
...
* baseline
* fix clang-tidy
* manually revert these files
* manually fixup at eof
* revert 2 more files
* change check_deprecated_grpc++.py
* change end2end_defs.include template
* fix check_include_guards.py
* untrack tools/distrib/python/convert_cstyle_comments_to_cpp.py
not yet ready to be submitted
* fix
yapf check_include_guards.py
remove a space...
* fix version.cc.template
* fix version_info.h.template
2 years ago
Craig Tiller
03bdfa4a74
Make socket mutators work for server connections ( #26328 )
...
* Make socket mutators work for server connections
* compile fix
* compile fix
* compile fix
* compile fix
* cleanup
* Revert "cleanup"
This reverts commit 480fcc600a
.
* Revert "Revert "cleanup""
This reverts commit 29fbc349d2
.
3 years ago
AJ Heller
2ca08a023e
Document ownership transfer in ChannelArguments::SetPointerWithVtable ( #25527 )
4 years ago
Esun Kim
decc199ca8
Fix by clang-tidy
4 years ago
Karthik Ravi Shankar
30f7710d4a
Move ChannelArguments from ::grpc_impl to ::grpc
...
Reverts: https://github.com/grpc/grpc/pull/18454
4 years ago
Karthik Ravi Shankar
5f6a57a4d0
Formatting issues
6 years ago
Karthik Ravi Shankar
6da0ca4421
Bring ChannelArguments to grpc_impl from grpc
6 years ago
Karthik Ravi Shankar
1d357572cf
Revert "Moving ::grpc::ResourceQuota to ::grpc_impl::ResouceQuota"
...
This reverts commit d8d8bec7c8
.
6 years ago
Karthik Ravi Shankar
90edf47fe9
Move server_posix from grpc to grpc_impl namespace
6 years ago
Karthik Ravi Shankar
d8d8bec7c8
Moving ::grpc::ResourceQuota to ::grpc_impl::ResouceQuota
...
This change moves ResourceQuota class fron grpc namespace to grpc_impl
namespace.
Signed-off-by: Karthik Ravi Shankar <karthikrs@google.com>
6 years ago
Karthik Ravi Shankar
82c6e012d8
Revert "Revert "Moving ::grpc::ResourceQuota to ::grpc_impl::ResouceQuota""
6 years ago
Karthik Ravi Shankar
b3889585a1
Revert "Moving ::grpc::ResourceQuota to ::grpc_impl::ResouceQuota"
6 years ago
Karthik Ravi Shankar
f7dd48b2b6
Moving ::grpc::ResourceQuota to ::grpc_impl::ResouceQuota
...
This change moves ResourceQuota class fron grpc namespace to grpc_impl
namespace.
6 years ago
Alexander Polcyn
ac8b72f75b
Add a test that tcp server posix consumes socket mutators
7 years ago
Muxi Yan
0e00c43082
Move headers from grpc++ to grpcpp
7 years ago
Yash Tibrewal
8cf1470a51
Revert "Revert "All instances of exec_ctx being passed around in src/core removed""
7 years ago
Yash Tibrewal
ad4d2dde00
Revert "All instances of exec_ctx being passed around in src/core removed"
7 years ago
Yash Tibrewal
0ee7574732
Removing instances of exec_ctx being passed around in functions in
...
src/core. exec_ctx is now a thread_local pointer of type ExecCtx instead of
grpc_exec_ctx which is initialized whenever ExecCtx is instantiated. ExecCtx
also keeps track of the previous exec_ctx so that nesting of exec_ctx is
allowed. This means that there is only one exec_ctx being used at any
time. Also, grpc_exec_ctx_finish is called in the destructor of the
object, and the previous exec_ctx is restored to avoid breaking current
functionality. The code still explicitly calls grpc_exec_ctx_finish
because removing all such instances causes the code to break.
7 years ago
Juanli Shen
fe40815682
Readd grpclb fallback
7 years ago
Ken Payson
01e83b55e4
Revert "Add fallback (use backends from resolver if can't reach balancer) to grpclb."
...
This reverts commit aba0a0a544
.
7 years ago
Juanli Shen
aba0a0a544
Add fallback (use backends from resolver if can't reach balancer) to grpclb.
7 years ago
Jan Tattermusch
7897ae9308
auto-fix most of licenses
8 years ago
Mehrdad Afshari
65942421b4
minor edits in channel_arguments.h
8 years ago
Craig Tiller
18f09a01f6
Add benchmark suite for chttp2
8 years ago
Yuchen Zeng
77532e8bf3
Destroy pointer args when destructing a ChannelArguments
8 years ago
Mark D. Roth
f0e17783ae
Add ChannelArguments methods for setting max send/recv message size.
8 years ago
Craig Tiller
f69369741d
Review feedback
8 years ago
Mark D. Roth
dc5d60b814
Allow setting service config via C++ API, for use in tests.
8 years ago
Mark D. Roth
754b2b88bc
Code review changes.
8 years ago
Mark D. Roth
7190b0c651
Add ChannelArguments::SetLoadBalancingPolicyName() to C++ API.
8 years ago
Craig Tiller
1d0fce9d60
Add some endpoint pair tests
8 years ago
Craig Tiller
20afa3d7c9
BufferPool --> ResourceQuota
8 years ago
Yuchen Zeng
de3daf5d63
More interfaces for grpc_socket_mutator
8 years ago
Craig Tiller
db1a5cce47
Buffer pool C++ wrapper
8 years ago
Craig Tiller
6169d5f7b0
Update copyrights
9 years ago
Craig Tiller
f40df23eeb
Auto-changes
9 years ago
David Garcia Quintas
4105505b33
Fixed refactoring of grpc_arg pointer vtable
9 years ago
yang-g
1945ae4285
Fix copyright
9 years ago
yang-g
d59ad7ef39
Provide explicit API for user to set user agent string prefix
9 years ago
yang-g
52705590e4
Add set pointer api to channel_arguments
9 years ago
Julien Boeuf
112f4a3035
Fixing the doc to warn of the dangers for overriding the target name when using SSL.
9 years ago
Julien Boeuf
54a902ed17
Successfully compile C++ libary (not tests yet).
9 years ago
Craig Tiller
d6599a39e4
Replicate C++ docs from master to beta branch
...
Original PR #3074 by @dgquintas
9 years ago
Craig Tiller
00ad71c135
Revert "C++ docs"
9 years ago
David Garcia Quintas
c4de3a2c24
Docstrings for Channel, ChannelCreate and ChannelArguments.
9 years ago
yang-g
9e2f90cd06
headers reorg
9 years ago
Craig Tiller
af1f97e92a
Fix typo
10 years ago