Juanli Shen
c1713800e0
Handle EDS response update in locality map
5 years ago
Matthew Stevenson
1e46b38d66
Hid some key materials API's and refactored credential reload arg wrapper.
5 years ago
yang-g
fd106bf1ac
Add accessor declaration for ClientContext
5 years ago
Matthew Stevenson
f3f8bf05b2
Fix conflicts with ssl_utils.h
5 years ago
Soheil Hassas Yeganeh
eadd5ea110
Directly use the ZeroCopyInputStream for grpc::GenericDeserialize.
...
There is no need to use CodedInputStream, wrapping a
ZeroCopyInputStream.
Suggested by: Gerben Stavenga
5 years ago
Yihua Zhang
ae863630d5
Add spiffe client-side credential reload
5 years ago
Soheil Hassas Yeganeh
13896f8bd1
Mandate static string for host and method passed to grpc_channel_register_call
...
This is for the gRFC being prepared.
Bump the major version of core to 8.0.0.
5 years ago
Matthew Stevenson
094c35f872
Small changes to ssl_util.h, added comments, fixed error in key materials unit test
5 years ago
Matthew Stevenson
aa207510ce
Finished implementation of API's.
5 years ago
Soheil Hassas Yeganeh
bdd3fdddb2
Expose cycle counter and use it /channelz.
...
We are using clock real time (which is very expensive) on every
RPC to update channelz. We should simply use cycle clock.
This patch exposes cycle clock, enables RDTSC on intel,
and use it for channelz.
This patch also changes the implementation of time_precise_init
to that more accurately using the monotonic clock and
shorter by looping at most a few hundred milliseconds.
This is part of a larger performance series.
5 years ago
Matthew Stevenson
5980d0d10d
Added unit tests and fixed some build problems
5 years ago
Yash Tibrewal
01ec829945
Mark private methods of DelegatingChannel final (other than WaitForStateChangeImpl and NotifyOnStateChangeImpl)
5 years ago
Matthew Stevenson
5da4baa80d
Fixed typo in define guard
5 years ago
Matthew Stevenson
bd8952b214
Added credential_reload and server_authorization_check API's.
5 years ago
Matthew Stevenson
64a8f132e7
"Modified some header inclusions"
5 years ago
Matthew Stevenson
22bf589490
Fixed style of #define guard
5 years ago
Matthew Stevenson
17e1acec0c
Fixed scope issue in credentials.h
5 years ago
Christian Maurer
46dddacdf3
remove all unused-parameter warnings
5 years ago
Matthew Stevenson
e26e2b6b8b
First Spiffe1 commit
5 years ago
Esun Kim
ded9f46c06
Refactored BUILD file to isolate cronet rules
5 years ago
Qiancheng Zhao
29480c4f6b
add client idle filter
5 years ago
Esun Kim
126ef2f735
Added #undef
5 years ago
Arjun Roy
b47d22f7f2
Mark assert failure path as unlikely in codegen.
...
Also, change an assert to debug assert in callback cpp.
5 years ago
Esun Kim
b7ee64c042
Disable _FORTIFY_SOURCE when GPR_BACKWARDS_COMPATIBILITY_MODE
5 years ago
Przemysław Sobala
9e65a88762
Fixed "implicitly-declared operator=" error from gcc 9
5 years ago
Julien Boeuf
109edca971
Adding C++ API and implementation for STS credentials:
...
- marked as experimental.
- also changed the name of a field in the options struct.
5 years ago
Soheil Hassas Yeganeh
5e35a367d9
Revert "Clearly callout the behavior for listening ports."
5 years ago
Moiz Haidry
d8c0182360
Expose some of the internal codegen interfaces
5 years ago
Soheil Hassas Yeganeh
def083b2c8
Clearly callout the behavior for listening ports.
...
This is to clarify that the port number is a required part
of the listening address.
5 years ago
Moiz Haidry
bf994e48d9
Move grpc async, callback and sync implementation to grpc_impl namespace
5 years ago
Moiz Haidry
1c354e7c1f
Move grpc async, callback and sync implementation to grpc_impl namespace
5 years ago
Karthik Ravi Shankar
bddcb6c906
Don't move ServerContext to impl
5 years ago
Julien Boeuf
189c2c8c30
Adding support for STS Token Exchange Creds in core:
...
- IETF specification is available here:
https://tools.ietf.org/html/draft-ietf-oauth-token-exchange-16
5 years ago
Karthik Ravi Shankar
748b932d02
Fix header guards
5 years ago
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
6 years ago
Moiz Haidry
fbd5957ee8
Sanity and build fixes
6 years ago
Moiz Haidry
63083d4472
Code cleanup
6 years ago
Moiz Haidry
3ce20819cf
Modify codegen to use grpc_impl namespace and other cleanups
6 years ago
yang-g
7b0ee41fd5
Resolve comment
6 years ago
yang-g
7db36fe0a0
Add comments and rename internal methods
6 years ago
Soheil Hassas Yeganeh
85f08100d4
Avoid using seq_cst atomic operations in grpcpp when unnecessary.
...
These cases are almost all in the callback API.
Also use atomic<intptr_t> insteda of atomic_int for consistency with
gpr_atm and grpc_core::Atomic.
6 years ago
Loo Rong Jie
036cdc6616
Properly detect C++ exception for MSVC
...
Inspired from protobuf
77f03d932a/src/google/protobuf/stubs/common.h (L50)
6 years ago
yang-g
b216c34314
Mark some methods virtual
6 years ago
yang-g
a0f5cb4528
Fix assignment operator
6 years ago
Yash Tibrewal
90f1c32b85
Sanity checks and return value
6 years ago
Yash Tibrewal
94e7edad99
Add Delegating Channel
6 years ago
Karthik Ravi Shankar
52291e5832
Fix PropogationOptions
6 years ago
Karthik Ravi Shankar
7e18e6cf3f
Fix clang errors.
6 years ago
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.
6 years ago
Moiz Haidry
226e63dd0c
Move server context implementation to grpc_impl namespace and typedef the ref to it
6 years ago