Vijay Pai
2eb25c871e
Avoid build errors
2019-02-26 03:08:06 -08:00
Vijay Pai
857e622e6f
Merge pull request #18098 from vjpai/try_2
...
Reduce starting callback counter to exclude client-side StartCall
2019-02-22 19:52:29 -08:00
Yang Gao
4bc2ca4de6
Revert "Move grpc_shutdown internals to a detached thread"
2019-02-22 16:34:24 -08:00
Vijay Pai
147c61b2a4
Exclude StartCall from starting callback counter value
2019-02-20 21:13:44 -08:00
Yuwei Huang
3cbf4f50ea
Remove extra semicolons after function definitions
...
We are planning to enable -Wextra-semi flag in our project but some
header files in gRPC have extra semicolons that violates the check and
blocks us from enabling the flag.
This change removes unnecessary semicolons in the code. Note that having
semicolon after the GRPC_ABSTRACT macro technically also violates the
check, but it's fine for us since they are not used in public headers,
and it will be confusing to have lines ending only with GRPC_ABSTRACT,
so I keep them as-is.
2019-02-20 17:58:30 -08:00
yang-g
0df63d3c98
Merge branch 'master' into shutdown
2019-02-15 21:51:03 -08:00
Soheil Hassas Yeganeh
db38d4ca9b
Merge pull request #17939 from vertextao/gpr_mu_cv-leak-test
...
Add ASAN-only leak detection for gpr_mu/cv and fix the newly caught leaks
2019-02-15 21:43:32 -05:00
yang-g
86b23adc7f
Other comments
2019-02-15 16:26:31 -08:00
Nicolas Noble
2ad245cb0c
Revert "Folding the Channel class into the grpc_impl namespace."
2019-02-15 09:52:15 -08:00
xtao
7cbb42bb9e
define GPR_ATTRIBUTE_NO_TSAN by using GPR_HAS_FEATURE.
2019-02-16 00:00:50 +08:00
xtao
c03496fdac
1) remove unnecessary initialization;
...
2) correct comment grammar issue;
3) fix the newly caught leaks;
2019-02-16 00:00:50 +08:00
xtao
fb3b85a81a
1) Add MACRO GPR_HAS_FEATURE; 2) Add test code within GRPC_ASAN_ENABLED for gpr_mu/cv mem-leak detection.
2019-02-16 00:00:49 +08:00
yang-g
545c555d31
Rename new public API
2019-02-14 14:22:40 -08:00
apolcyn
223eb9960e
Merge pull request #18046 from apolcyn/disable_ares_android
...
Disable c-ares on Android
2019-02-13 16:59:08 -08:00
Alexander Polcyn
3ebbce2f59
Disable c-ares on Android
2019-02-13 13:30:03 -08:00
yang-g
684643ff0a
Test fixing php
2019-02-13 11:02:48 -08:00
Nicolas "Pixel" Noble
3e30c38f1c
Adressing comments.
2019-02-13 00:20:50 +01:00
Nicolas "Pixel" Noble
63db582516
Merge branch 'master' of https://github.com/grpc/grpc into channel
2019-02-13 00:19:23 +01:00
yang-g
bc946d6c6d
merge with head and resolve conflicts
2019-02-12 15:00:32 -08:00
Yash Tibrewal
89ee1a8b10
Improved interception docs
2019-02-07 19:18:40 -08:00
Vijay Pai
cfc52beebc
Merge pull request #17933 from vjpai/resettable_alarm
...
Allow a grpc::Alarm to be set again after firing
2019-02-06 09:53:48 -08:00
Vijay Pai
45c684f894
Allow an alarm to be set again after firing
2019-02-05 14:07:40 -08:00
apolcyn
879d3cb623
Merge pull request #17894 from apolcyn/disable_ares_ios
...
Disable c-ares on iOS
2019-02-04 17:40:11 -08:00
Vijay Pai
977df7208a
Merge pull request #17909 from vjpai/delist
...
Replace list of outstanding callback requests with count
2019-02-01 23:31:03 -08:00
Alexander Polcyn
fd185cd1ea
Disable c-ares on iOS
2019-02-01 15:21:25 -08:00
Vijay Pai
8521c0394b
Address optional reviewer comments
2019-02-01 15:21:13 -08:00
Soheil Hassas Yeganeh
bdd02e5852
Merge pull request #17439 from soheilhy/worktree-slice-align
...
Reorder fields in slice to share the same bytes for length fields.
2019-02-01 15:57:45 -07:00
Vijay Pai
e56c832c0d
Replace list of outstanding callback requests with count only
2019-02-01 13:44:50 -08:00
Soheil Hassas Yeganeh
ef20840174
Reorder fields in slice to share the same bytes for length fields.
...
Ref-counted and inlined slices both have a lenght value, but
they are not in the same byte offset. As a result, we will
have two different loads based on a branch.
Instead move them to the same byteoffset, so that we will have
one move and the same number of branches.
Difference can be seen on:
https://godbolt.org/z/kqFZcP
2019-02-01 11:24:11 -05:00
Soheil Hassas Yeganeh
5a382a3b59
Introduce weak and nonline attribute.
...
This will be used to mark symbols such as nallocx as weak and replace
with better implementation when available.
2019-01-31 11:38:54 -05:00
Yihua Zhang
a3d997cbdc
Add a TLS credential surface API (experimental)
2019-01-29 10:04:28 -08:00
Yash Tibrewal
5e2e61b6e5
Note on conditions of usage
2019-01-28 16:37:02 -08:00
Yash Tibrewal
3a2cfe50ec
Rever copyright changes
2019-01-28 16:18:49 -08:00
Yash Tibrewal
786598a6ff
Merge branch 'master' into interceptorcqavalanching
2019-01-28 11:54:39 -08:00
Yash Tibrewal
9b7b1f4447
Merge pull request #17662 from yashykt/sendmsgintdoc
...
Update Send message interception methods docs
2019-01-28 11:53:36 -08:00
Vijay Pai
7a164229db
Address reviewer comments
2019-01-25 10:25:08 -08:00
Yash Tibrewal
9dd8a13439
Restructure code to handle cases exposed by the callback api
2019-01-24 19:03:55 -08:00
Nicolas "Pixel" Noble
cabbd35014
Reformat.
2019-01-24 23:42:12 +01:00
Yash Tibrewal
4dcb14ec9e
Fix codegen_test_minimal
2019-01-24 13:05:05 -08:00
Yash Tibrewal
d347ec7ce0
Register for cq avalanching when interceptors are going to be run
2019-01-23 19:11:51 -08:00
Nicolas "Pixel" Noble
dffbe4a1eb
Merge branch 'master' of https://github.com/grpc/grpc into channel
2019-01-23 21:40:25 +01:00
Nicolas "Pixel" Noble
2fd079ff7c
Channel folding.
2019-01-23 21:40:07 +01:00
Vijay Pai
fab05d336c
Dynamic callback requesting, graceful server shutdown, and separate ExecCtx for callbacks
2019-01-23 11:21:50 -08:00
Alexander Polcyn
2b328ee0ca
Re-enable c-ares as the default resolver; but keep SRV queries off by default
2019-01-18 17:18:33 -08:00
yang-g
ef32669915
Merge remote-tracking branch 'upstream/master' into shutdown
2019-01-18 16:01:14 -08:00
Juanli Shen
bbe2587c39
Enable per-channel subchannel pool
2019-01-15 14:15:18 -08:00
yang-g
df9bd2f506
Merge remote-tracking branch 'upstream/master' into shutdown
2019-01-14 13:19:01 -08:00
Mehrdad Afshari
b12dd1be05
Fix GrpcCodegen initialization
...
Initializing GrpcCodegen as a global static variable
is problematic because it is possible for it to get
destructed before the last instance of `GrpcLibraryCodegen`
gets destructed and leaves the program dealing with
a dangling pointer (imagine a scenario where another
thread is using gRPC resources and the main thread
tries to join it in an object's destructor after
main ends and CoreCodegen is destructed.)
In fact, Google style guide explicitly forbids
non-trivially-destructible global variables of static
storage duration for this and other reasons and the
solution in this commit is among the recommended
workarounds referenced in
https://google.github.io/styleguide/cppguide.html#Static_and_Global_Variables
2019-01-10 22:12:03 -08:00
apolcyn
26dddbb10d
Merge pull request #16187 from apolcyn/ipv6_resolver_scope_ids
...
Support named scope id's in grpc_parse_ipv6 on posix platforms
2019-01-08 14:36:20 -08:00
Yash Tibrewal
73b1a918e4
Slight update to grammar. Can probably be improved more
2019-01-08 09:28:09 -08:00