kwasimensah
685b5d459f
Fixing port_platform
...
Copy over Absl macro to deal with C++/C differences.
7 years ago
kwasimensah
1a671dea71
Simplify macro logic here
7 years ago
ncteisen
023726202a
Refactor SerializationTraits
7 years ago
kwasimensah
c58952649f
Got cpu_posix.cc to work without tls
7 years ago
Justin Burke
c1d354d7f2
Support SSL server certificate reloading.
7 years ago
Vijay Pai
7a648854e9
Adopt the static factory pattern ( #10 )
...
* Switch sync streams from "struct internal" to static factory in namespace internal
* Reduce diff size
* fix friends
* Use static factory pattern for async unary calls
* Use static factories for async streams
* clang-format
7 years ago
kwasimensah
51c7bf8425
Update port_platform.h
7 years ago
Mark D. Roth
6e5ce7288d
Assume that subchannels start in state IDLE.
7 years ago
kwasimensah
1194782c42
Add logic to work around buggy Android NDKs
...
Old version of the Android NDK have linker issues with thread local support https://github.com/android-ndk/ndk/issues/8 and isn't actually fixed until r12b https://developer.android.com/ndk/downloads/revision_history.html . ABSL's config.h is being updated to catch this case and having gRPC rely on that will make sure it also gets the fix (rather than repeating a somewhat lengthy macro).
Since gRPC already has a dependency on ABSL, I figured this wouldn't be an issue.
7 years ago
Vijay Pai
06e174a088
Separate public and internal C++ interfaces
7 years ago
Yash Tibrewal
589e58316a
Missing extern C in public API
7 years ago
Yash Tibrewal
34a57d0346
rename all test core files to cc and a lot of C++ style conversions
7 years ago
Ken Payson
42bd87e376
Adds gRPC Experimental CQ DoThenAsyncNext lambda API
7 years ago
Vizerai
bb7d088ed2
Cleaning up census code.
7 years ago
Muxi Yan
739ff08a7f
Fix gRPC Core API void function definition
7 years ago
Yash Tibrewal
0ee7574732
Removing instances of exec_ctx being passed around in functions in
...
src/core. exec_ctx is now a thread_local pointer of type ExecCtx instead of
grpc_exec_ctx which is initialized whenever ExecCtx is instantiated. ExecCtx
also keeps track of the previous exec_ctx so that nesting of exec_ctx is
allowed. This means that there is only one exec_ctx being used at any
time. Also, grpc_exec_ctx_finish is called in the destructor of the
object, and the previous exec_ctx is restored to avoid breaking current
functionality. The code still explicitly calls grpc_exec_ctx_finish
because removing all such instances causes the code to break.
7 years ago
Craig Tiller
694580faee
Better name
7 years ago
thinkerou
d582cdf0ae
fix typo
7 years ago
Ken Payson
c5731324a4
Bug fixes for fork support
7 years ago
Vijay Pai
953afecaaf
Add an explicit void 2nd parameter to invocation of SerializationTraits
7 years ago
Craig Tiller
1e8c2ab769
clang-format
7 years ago
Craig Tiller
ad059f70f8
Fix threading
7 years ago
Frank Groeneveld
fbf8128da8
Add OpenBSD support
7 years ago
Ken Payson
9714e0376a
Add thread pool reset on fork with FORKING_SUPPORT_ENABLED
7 years ago
Anna Sapek
1e91362498
Fix param annotation for AddListeningPort()
7 years ago
Muxi Yan
cd9729780a
Make platform-specific headers textual
7 years ago
Muxi Yan
405762733a
Make platform-specific headers textual
7 years ago
Yash Tibrewal
d6aca04947
Force define __STDC_FORMAT_MACROS for PRIdxx types
7 years ago
Yash Tibrewal
53a47f09e2
Changes for C to C++. Adding extern C to header files for compatibility.
7 years ago
Muxi Yan
89cf5a4093
Eliminate gRPC-Core umbrella header warning by tweaking module.modulemap and excluding some files for other build systems
7 years ago
Ken Payson
30f1d0fe79
Specify min windows version as Vista for Python
7 years ago
Mark D. Roth
61b26f97b0
Code review changes.
7 years ago
Juanli Shen
fe40815682
Readd grpclb fallback
7 years ago
Eric Dobson
60092b03d2
Fix docs on grpc_call_ref
7 years ago
Vijay Pai
2046d0b3c5
Add unary call mode to GenericStub to allow generic RPC with 1 CQ trip
7 years ago
Vijay Pai
a44cffa11f
Base the new SerializationTraits API on implicit type conversion rather than SFINAE
7 years ago
Vijay Pai
efce6e1e50
Revert "Revert "Allow SerializationTraits to use grpc::ByteBuffer rather than only grpc_byte_buffer""
7 years ago
Muxi Yan
c65c8773c0
Remove the entire line
7 years ago
Craig Tiller
18c77ccfdb
Fix pings
7 years ago
Yash Tibrewal
06312bdb43
Minor formatting, commenting and clang format for C to C++ conversion
7 years ago
Yash Tibrewal
6b56c4d953
Redefine GRPC_SLICE_MALLOC to use grpc_slice_malloc function instead of
...
designated initializers
7 years ago
Yuchen Zeng
ad32075af8
Set last_ping_sent_time to inf_past after receiving data
7 years ago
Yash Tibrewal
9eb8672bbe
Removing deprecated string to char * conversions
7 years ago
Vijay Pai
4b047a3bff
Construction of streams shouldn't require triggering async ops
7 years ago
Jan Tattermusch
5432dd8874
Revert "Allow SerializationTraits to use grpc::ByteBuffer rather than only grpc_byte_buffer"
7 years ago
Ken Payson
01e83b55e4
Revert "Add fallback (use backends from resolver if can't reach balancer) to grpclb."
...
This reverts commit aba0a0a544
.
7 years ago
K.K. Yap
a6721a0979
Comment that IPv6 Any accepts both IPv4 and IPv6 connections.
7 years ago
Vijay Pai
4433973242
Address review comments
7 years ago
Vijay Pai
1c32292c7b
Address reviewer comments
7 years ago
Juanli Shen
aba0a0a544
Add fallback (use backends from resolver if can't reach balancer) to grpclb.
7 years ago