Qiancheng Zhao
1391c93a95
atomic client idle filter
2019-08-16 14:15:21 -07:00
Juanli Shen
c1713800e0
Handle EDS response update in locality map
2019-08-16 09:06:06 -07:00
yang-g
fd106bf1ac
Add accessor declaration for ClientContext
2019-08-14 12:38:59 -07:00
Soheil Hassas Yeganeh
ae7b126de6
Merge pull request #19920 from soheilhy/protobuf
...
Directly use the ZeroCopyInputStream for grpc::GenericDeserialize.
2019-08-13 13:48:57 -04:00
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
2019-08-12 22:44:56 -04:00
Yihua Zhang
ae863630d5
Add spiffe client-side credential reload
2019-08-12 14:12:13 -07:00
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.
2019-08-09 16:26:37 -04:00
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.
2019-08-07 14:22:24 -04:00
Yash Tibrewal
01ec829945
Mark private methods of DelegatingChannel final (other than WaitForStateChangeImpl and NotifyOnStateChangeImpl)
2019-08-01 16:25:11 -07:00
Yash Tibrewal
3653439ba6
Merge master and move to experimental
2019-08-01 16:15:31 -07:00
Esun Kim
05d6f9f2b1
Merge pull request #19702 from veblush/move-cronet
...
Create sub package for cronet
2019-07-24 16:52:26 -07:00
Esun Kim
ded9f46c06
Refactored BUILD file to isolate cronet rules
2019-07-24 14:55:35 -07:00
Qiancheng Zhao
29480c4f6b
add client idle filter
2019-07-24 10:04:41 -07:00
Esun Kim
1194927905
Merge pull request #19674 from veblush/unset-fortify
...
Reset _FORTIFY_SOURCE when GPR_BACKWARDS_COMPATIBILITY_MODE
2019-07-19 10:39:01 -07:00
Esun Kim
126ef2f735
Added #undef
2019-07-18 16:24:30 -07:00
Arjun Roy
b47d22f7f2
Mark assert failure path as unlikely in codegen.
...
Also, change an assert to debug assert in callback cpp.
2019-07-18 12:52:18 -07:00
Esun Kim
b7ee64c042
Disable _FORTIFY_SOURCE when GPR_BACKWARDS_COMPATIBILITY_MODE
2019-07-17 14:46:04 -07:00
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.
2019-07-09 22:28:44 -07:00
Soheil Hassas Yeganeh
5e35a367d9
Revert "Clearly callout the behavior for listening ports."
2019-07-03 18:52:29 -04:00
Moiz Haidry
5ae9afdc55
Merge pull request #19517 from mhaidrygoog/grpc_to_grpc_impl_async_callback
...
Move grpc async, callback and sync implementation to grpc_impl namespace
2019-07-03 13:56:36 -07:00
Moiz Haidry
d8c0182360
Expose some of the internal codegen interfaces
2019-07-02 12:32:14 -07:00
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.
2019-07-02 14:37:54 -04:00
Moiz Haidry
bf994e48d9
Move grpc async, callback and sync implementation to grpc_impl namespace
2019-07-01 14:05:54 -07:00
Karthik Ravi Shankar
0d2d88fce5
Merge pull request #19446 from karthikravis/continue-migration-to-impl
...
Move more of usage to grpc_impl
2019-06-27 10:24:40 -07:00
Karthik Ravi Shankar
bddcb6c906
Don't move ServerContext to impl
2019-06-26 14:28:34 -07:00
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
2019-06-26 12:48:05 -07:00
Karthik Ravi Shankar
748b932d02
Fix header guards
2019-06-26 12:32:31 -07:00
Karthik Ravi Shankar
d33c02748f
Merge branch 'master' into continue-migration-to-impl
2019-06-26 09:29:36 -07:00
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
2019-06-22 17:17:29 -07:00
Moiz Haidry
fbd5957ee8
Sanity and build fixes
2019-06-21 12:28:55 -07:00
Moiz Haidry
63083d4472
Code cleanup
2019-06-21 11:19:34 -07:00
Moiz Haidry
3ce20819cf
Modify codegen to use grpc_impl namespace and other cleanups
2019-06-21 10:51:57 -07:00
Yang Gao
ea63190498
Merge pull request #19371 from yang-g/virtual_me
...
Add comments and rename internal methods
2019-06-19 12:25:05 -07:00
yang-g
7b0ee41fd5
Resolve comment
2019-06-19 10:28:35 -07:00
yang-g
7db36fe0a0
Add comments and rename internal methods
2019-06-17 11:18:03 -07:00
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.
2019-06-16 16:09:24 -04:00
Yang Gao
0bee8c41f9
Merge pull request #19348 from yang-g/virtual_me
...
Mark some methods virtual
2019-06-14 10:15:11 -07:00
yang-g
b216c34314
Mark some methods virtual
2019-06-13 22:15:53 -07:00
yang-g
a0f5cb4528
Fix assignment operator
2019-06-13 22:08:09 -07:00
Yash Tibrewal
90f1c32b85
Sanity checks and return value
2019-06-13 12:29:48 -07:00
Moiz Haidry
186875337c
Sync with master
2019-06-11 16:16:27 -07:00
Yash Tibrewal
94e7edad99
Add Delegating Channel
2019-06-11 15:07:12 -07:00
Karthik Ravi Shankar
e4b992ee48
Merge branch 'master' into migrate-client-context
2019-06-10 14:01:28 -07:00
Karthik Ravi Shankar
52291e5832
Fix PropogationOptions
2019-06-10 13:58:34 -07:00
Lidi Zheng
f8b1e6cb44
Merge pull request #19193 from ygj6/dev
...
some typo errors
2019-06-06 13:03:14 -07:00
Yash Tibrewal
cb2143406f
Merge pull request #19188 from yashykt/interceptiondocs
...
Doc Change - Add hijacking interception hook points as valid for the GetRecv* functions
2019-06-06 11:42:20 -07:00
Karthik Ravi Shankar
7e18e6cf3f
Fix clang errors.
2019-06-05 16:47:29 -07:00
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.
2019-06-05 16:31:39 -07:00
Moiz Haidry
1bc0ac6064
Merge pull request #12 from grpc/master
...
Sync with master
2019-06-05 14:19:57 -07:00
Moiz Haidry
226e63dd0c
Move server context implementation to grpc_impl namespace and typedef the ref to it
2019-06-05 10:41:30 -07:00