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
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
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
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
yuangongji
e8bece9c71
some typo errors too.
6 years ago
yang-g
c156653997
Add listner fd as part of the external connection parameters
6 years ago
yuangongji (A)
8c27e86b8b
some typo errors
6 years ago
Yihua Zhang
a887f35a9b
add a new struct - grpc_ssl_verify_peer_options and an API - grpc_ssl_credentials_create_ex.
6 years ago
Yash Tibrewal
f671b3d136
Add hijacking interception hook points as valid for the GetRecv* functions
6 years ago
Yash Tibrewal
3893a6379b
Clean up
6 years ago
Yash Tibrewal
c58b4a3964
Clang format
6 years ago
Yash Tibrewal
67bdbbdf6f
Fix a bug where POST_RECV_MESSAGE is not being triggered
6 years ago
Yash Tibrewal
886dc10daa
Move validate_service_config to a new file
6 years ago
Karthik Ravi Shankar
088319bc40
IWYU in core_codegen_interface
...
core_codegen_interface requires ByteBuffer in generated code and needs
to include byte_buffer.h
NO_BUG=Cleanup
6 years ago
Juanli Shen
0cafd4110a
Fix typo
6 years ago
jiangtaoli2016
3693fe84cf
Update comment on ssl hotname override
6 years ago
kwasimensah
cd0e02ae1c
Fixing formatting
6 years ago
kwasimensah
3ec0967c1e
Fix typo for using MessageLite
6 years ago
kwasimensah
51a2280029
Add MessageLite overloads to proto serialization
6 years ago
kwasimensah
12ffbb8a83
Add MessageLite type to grpc's config
6 years ago