Commit Graph

3491 Commits

Author SHA1 Message Date
Karthik Ravi Shankar 939830aa15
Merge pull request #20030 from karthikravis/move-method-handler
Make MethodHandler and related interfaces generic
2019-09-10 21:45:08 -07:00
Arjun Roy a979ad4b0b
Merge pull request #20210 from arjunroy/arena_squish_unary_callback
Coalesced arena allocs in callback unary C++ code.
2019-09-10 21:20:08 -07:00
Arjun Roy db861a2546 Coalesced arena allocs in callback unary C++ code. 2019-09-10 15:19:04 -07:00
Karthik Ravi Shankar 7ec1a9663d Merge branch 'master' into move-method-handler 2019-09-06 12:21:29 -07:00
Yash Tibrewal 97f1f57dab Allow call credentials to be set even after the call is created but before initial metadata is sent 2019-09-05 18:13:59 -07:00
Vijay Pai 1a2129980c
Merge pull request #19647 from pszemus/master
Fixed "implicitly-declared operator= is deprecated" error from gcc 9
2019-09-05 10:08:18 -07:00
Karthik Ravi Shankar db7365753e Fix the compile error due to ByteBuffer in method_handler_impl.h 2019-09-03 16:08:48 -07:00
Esun Kim 02eb550e11
Merge pull request #19918 from veblush/try-cpp
Enable C++ standard library
2019-09-03 16:02:31 -07:00
Karthik Ravi Shankar a1c0d3442f Merge branch 'master' into move-method-handler 2019-09-03 14:47:45 -07:00
hcaseyal 311bf04ec9
Merge pull request #19788 from chrisse74/master
remove all unused-parameter warnings in C++
2019-09-03 13:58:13 -07:00
Esun Kim 49b9fb2b3c Enable C++ standard library 2019-09-03 09:27:54 -07:00
Karthik Ravi Shankar de2006d3e1 Merge branch 'master' into move-method-handler 2019-08-28 14:01:58 -07:00
Karthik Ravi Shankar 29bb3ef973 Remove redundant MethodHandler friend declarations 2019-08-28 14:01:48 -07:00
Esun Kim 2707fd0bd4 Added GRPC_USE_CPP_STD_LIB flag 2019-08-26 14:12:07 -07:00
Karthik Ravi Shankar 28b0671235 Make MethodHandler and related interfaces generic 2019-08-21 16:12:48 -07:00
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
Christian Maurer 46dddacdf3 remove all unused-parameter warnings 2019-07-30 13:10:53 +02: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
Przemysław Sobala 9e65a88762 Fixed "implicitly-declared operator=" error from gcc 9 2019-07-15 16:11:35 +02: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