Juanli Shen
6ced125bb3
xds failover locality handling
5 years ago
Joshua Haberman
cf857cb063
Removed custom int64 typedef in favor of int64_t.
...
ByteCount() now returns int64_t in all configurations
so there is no longer any need for typedef indirection here.
5 years ago
Christian Maurer
738b199f62
Removing shadowing-warnings. PayloadAsyncRequest inherits these fields from BaseAsyncRequest.
5 years ago
Soheil Hassas Yeganeh
dd6e6e3ef7
Introduce GRPC_ARG_TSI_MAX_FRAME_SIZE channel arg.
...
Introduce GRPC_ARG_TSI_MAX_FRAME_SIZE so that users can use larger than
14KiB frame size if they need to.
5 years ago
Karthik Ravi Shankar
3e4fd7967c
Formatting fixes
5 years ago
Karthik Ravi Shankar
a879ff73c2
Move mock test to use ::grpc_impl
...
Some mock tests are using ::grpc which was causing build issues. Move
them over to use ::grpc_impl.
5 years ago
Arjun Roy
db861a2546
Coalesced arena allocs in callback unary C++ code.
5 years ago
Yash Tibrewal
97f1f57dab
Allow call credentials to be set even after the call is created but before initial metadata is sent
5 years ago
Karthik Ravi Shankar
db7365753e
Fix the compile error due to ByteBuffer in method_handler_impl.h
5 years ago
Esun Kim
49b9fb2b3c
Enable C++ standard library
5 years ago
Karthik Ravi Shankar
29bb3ef973
Remove redundant MethodHandler friend declarations
5 years ago
Esun Kim
2707fd0bd4
Added GRPC_USE_CPP_STD_LIB flag
5 years ago
Karthik Ravi Shankar
28b0671235
Make MethodHandler and related interfaces generic
5 years ago
Qiancheng Zhao
1391c93a95
atomic client idle filter
5 years ago
Juanli Shen
c1713800e0
Handle EDS response update in locality map
5 years ago
yang-g
fd106bf1ac
Add accessor declaration for ClientContext
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
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
Yash Tibrewal
01ec829945
Mark private methods of DelegatingChannel final (other than WaitForStateChangeImpl and NotifyOnStateChangeImpl)
5 years ago
Christian Maurer
46dddacdf3
remove all unused-parameter warnings
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