Vijay Pai
2eb25c871e
Avoid build errors
2019-02-26 03:08:06 -08:00
Vijay Pai
8feb16171a
Add an expectation and fix a ServerContext bug
2019-02-25 00:48:11 -08:00
Vijay Pai
bf2b0e5220
Merge pull request #18117 from vjpai/use_result
...
Avoid unused result warning
2019-02-20 23:21:13 -08:00
Vijay Pai
301ed88a43
Avoid unused result warning
2019-02-20 21:39:02 -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
Nguyen Hai Truong
9cf00ed80b
Reformat some link and fix typos
...
Signed-off-by: Nguyen Hai Truong <truongnh@vn.fujitsu.com>
2019-02-20 23:19:33 +07:00
Nicolas Noble
2ad245cb0c
Revert "Folding the Channel class into the grpc_impl namespace."
2019-02-15 09:52:15 -08:00
Nicolas "Pixel" Noble
de332cfcee
Merge branch 'master' of https://github.com/grpc/grpc into channel
2019-02-13 22:11:47 +01:00
hcaseyal
eecd983302
Merge pull request #18025 from soheilhy/callback-sync-cq
...
Reorder code to set num_frequently_polled_cqs correctly.
2019-02-13 12:39:11 -08:00
Srini Polavarapu
f7f6861720
Merge pull request #18033 from srini100/master
...
Bump master to v1.20.x and pick "godric" for that release
2019-02-13 12:17:12 -08:00
Nicolas "Pixel" Noble
0c19be2fc8
Fixing cronet
2019-02-13 20:12:13 +01:00
Nicolas "Pixel" Noble
39d3b7335c
Missed a spot.
2019-02-13 19:17:18 +01:00
Jan Tattermusch
bc19ba1668
Merge pull request #18037 from xichengliudui/fixtypos
...
Fix various typos in .cc and .md and .py files
2019-02-13 13:24:34 +01:00
Srini Polavarapu
b0efc103e3
Regenerate projects
2019-02-12 21:07:42 -08:00
Soheil Hassas Yeganeh
37c1f0bd54
Reorder code to set num_frequently_polled_cqs correctly.
...
When there num_frequently_polled_cqs is non-zero (aka hybrid server),
we create non-polling CQs for the sync methods. But, since we
increase num_frequently_polled_cqs for callback methods
after creating the sync CQs, the sync CQs would not detect
a hyprid server, and will create a polling CQ.
This commit reorders the logic, so that we increment
num_frequently_polled_cqs upon detecting a callback service.
This lowers the context switches by double digit percentage
when using callback API.
2019-02-12 23:04:41 -05:00
Nicolas "Pixel" Noble
63db582516
Merge branch 'master' of https://github.com/grpc/grpc into channel
2019-02-13 00:19:23 +01:00
xichengliudui
d9b508c896
Fix various typos in .cc and .md and .py files
2019-02-12 11:11:43 -05:00
Yash Tibrewal
e5eb3f8019
Merge pull request #17934 from yashykt/compressionlevel
...
Default compression level quick fix
2019-02-06 11:46:19 -08:00
Yash Tibrewal
84a537b1d1
Default compression level quick fix
2019-02-05 14:22:47 -08:00
Vijay Pai
45c684f894
Allow an alarm to be set again after firing
2019-02-05 14:07:40 -08:00
Vijay Pai
92d37b1273
SOFT_MAXIMUM is supposed to be per-server, not per-method
2019-02-02 09:14:05 -08:00
Vijay Pai
8521c0394b
Address optional reviewer comments
2019-02-01 15:21:13 -08:00
Vijay Pai
e56c832c0d
Replace list of outstanding callback requests with count only
2019-02-01 13:44:50 -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
Juanli Shen
6c543919ed
Merge pull request #17707 from kakshay21/akshay-fix-warning
...
Fix warning
2019-01-26 21:06:11 -08:00
Kumar Akshay
564be999de
Fix warning
...
Fix clang format
2019-01-26 18:39:23 +05:30
Vijay Pai
7a164229db
Address reviewer comments
2019-01-25 10:25:08 -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
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
Lei Huang
3bd12ee2a8
grpc: init compression_algorithm_ in ClientContext ctor
...
`compression_algorithm_` could be a random value because not
initialized in ctor.
2019-01-17 16:22:30 -07:00
Juanli Shen
778be11865
Merge pull request #17629 from AspirinSJL/clean_sc_args
...
Remove filters from subchannel args
2019-01-07 20:11:40 -08:00
Yash Tibrewal
6e5eb4e5a3
Merge branch 'master' into failhijackedrecv
2019-01-04 14:03:37 -08:00
Juanli Shen
03431b4f69
Remove filters from subchannel args
2019-01-03 16:18:01 -08:00
Sanjay Pujare
94d5587643
Regenerate projects
2019-01-03 15:35:20 -08:00
Yash Tibrewal
24e37e249a
Merge branch 'master' into failhijackedrecv
2018-12-26 15:10:41 -08:00
yang-g
d6dd6f25f4
Correctly reference the internal string for socket mutator arg
2018-12-20 15:37:30 -08:00
easy
8279777167
Destruct CensusContext to avoid leaking memory.
...
Otherwise, the placement-new leaks context -> span_ -> impl_ which is
a std::shared_ptr.
2018-12-19 12:37:39 +11:00
Nicolas Noble
5748af6e18
Merge pull request #17468 from nicolasnoble/grpc_namespace
...
Moving ::grpc::Alarm to ::grpc_impl::Alarm.
2018-12-13 15:22:05 -08:00
Soheil Hassas Yeganeh
9decf48632
Move security credentials, connectors, and auth context to C++
...
This is to use `grpc_core::RefCount` to improve performnace.
This commit also replaces explicit C vtables, with C++ vtable
with its own compile time assertions and performance benefits.
It also makes use of `RefCountedPtr` wherever possible.
2018-12-13 10:38:12 -05:00
Nicolas "Pixel" Noble
d550af373c
Moving ::grpc::Alarm to ::grpc_impl::Alarm.
2018-12-12 16:48:32 +01:00
ncteisen
c7f7db65e0
Add test and fix bug
2018-12-11 11:28:12 -08:00
Yang Gao
b590167cf2
Merge pull request #17435 from yang-g/health_service_shutdown
...
Add a Shutdown call to HealthCheckServiceInterface
2018-12-07 13:15:30 -08:00
yang-g
2246607ded
Review comments
2018-12-07 08:54:47 -08:00
yang-g
f1f557bc43
Add a Shutdown call to HealthCheckServiceInterface
2018-12-06 16:16:58 -08:00
Vijay Pai
97de30d7b3
Allow the interceptor to know the method type
2018-12-06 15:51:31 -08:00
Vijay Pai
2a0c0d7ad6
Streaming API for callback servers
2018-11-30 16:14:21 -08:00