Soheil Hassas Yeganeh
059e104475
Use grpc_core::RefCount for ServerContext.
6 years ago
Nicolas Noble
91ad888497
Revert "Revert "Folding the Channel class into the grpc_impl namespace.""
6 years ago
Vijay Pai
2eb25c871e
Avoid build errors
6 years ago
Srini Polavarapu
d63f008767
Regenerate projects
6 years ago
Vijay Pai
8feb16171a
Add an expectation and fix a ServerContext bug
6 years ago
Vijay Pai
301ed88a43
Avoid unused result warning
6 years ago
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.
6 years ago
Nguyen Hai Truong
9cf00ed80b
Reformat some link and fix typos
...
Signed-off-by: Nguyen Hai Truong <truongnh@vn.fujitsu.com>
6 years ago
Nicolas Noble
2ad245cb0c
Revert "Folding the Channel class into the grpc_impl namespace."
6 years ago
Nicolas "Pixel" Noble
5847c3a87a
Reformat.
6 years ago
Nicolas "Pixel" Noble
12b0db3e57
Folding CompletionQueue and ServerCompletionQueue.
6 years ago
Nicolas "Pixel" Noble
0c19be2fc8
Fixing cronet
6 years ago
Nicolas "Pixel" Noble
39d3b7335c
Missed a spot.
6 years ago
Srini Polavarapu
8d237ea703
Regenerate projects
6 years ago
Srini Polavarapu
b0efc103e3
Regenerate projects
6 years ago
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.
6 years ago
xichengliudui
d9b508c896
Fix various typos in .cc and .md and .py files
6 years ago
Yash Tibrewal
cddb5519f2
Add a test only method to reset global interceptor
6 years ago
Yash Tibrewal
c71b2f4fb7
Global Interceptor Registration allowed only once
6 years ago
Yash Tibrewal
84a537b1d1
Default compression level quick fix
6 years ago
Vijay Pai
45c684f894
Allow an alarm to be set again after firing
6 years ago
Vijay Pai
92d37b1273
SOFT_MAXIMUM is supposed to be per-server, not per-method
6 years ago
Vijay Pai
8521c0394b
Address optional reviewer comments
6 years ago
Vijay Pai
e56c832c0d
Replace list of outstanding callback requests with count only
6 years ago
Yash Tibrewal
3a2cfe50ec
Rever copyright changes
6 years ago
Kumar Akshay
564be999de
Fix warning
...
Fix clang format
6 years ago
Vijay Pai
7a164229db
Address reviewer comments
6 years ago
Nicolas "Pixel" Noble
cabbd35014
Reformat.
6 years ago
Yash Tibrewal
4dcb14ec9e
Fix codegen_test_minimal
6 years ago
Nicolas "Pixel" Noble
2fd079ff7c
Channel folding.
6 years ago
Vijay Pai
fab05d336c
Dynamic callback requesting, graceful server shutdown, and separate ExecCtx for callbacks
6 years ago
Lei Huang
3bd12ee2a8
grpc: init compression_algorithm_ in ClientContext ctor
...
`compression_algorithm_` could be a random value because not
initialized in ctor.
6 years ago
Sanjay Pujare
ad54166f92
Regenerate projects
6 years ago
Juanli Shen
03431b4f69
Remove filters from subchannel args
6 years ago
Sanjay Pujare
77e8525640
Regenerate projects
6 years ago
Sanjay Pujare
94d5587643
Regenerate projects
6 years ago
yang-g
d6dd6f25f4
Correctly reference the internal string for socket mutator arg
6 years ago
easy
8279777167
Destruct CensusContext to avoid leaking memory.
...
Otherwise, the placement-new leaks context -> span_ -> impl_ which is
a std::shared_ptr.
6 years ago
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.
6 years ago
Srini Polavarapu
a31ccd49e6
Regenerate projects
6 years ago
Nicolas "Pixel" Noble
d550af373c
Moving ::grpc::Alarm to ::grpc_impl::Alarm.
6 years ago
ncteisen
c7f7db65e0
Add test and fix bug
6 years ago
yang-g
2246607ded
Review comments
7 years ago
yang-g
f1f557bc43
Add a Shutdown call to HealthCheckServiceInterface
7 years ago
Vijay Pai
97de30d7b3
Allow the interceptor to know the method type
7 years ago
Srini Polavarapu
9eaebf116d
Regenerate projects
7 years ago
Muxi Yan
97ec5c1d68
Bump version to v1.17.0
7 years ago
Vijay Pai
2a0c0d7ad6
Streaming API for callback servers
7 years ago
Vijay Pai
ea1156da3f
Stop exposing streaming object class
7 years ago
Vijay Pai
d7eb26648d
Client callback streaming
7 years ago