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
Yash Tibrewal
4dcb14ec9e
Fix codegen_test_minimal
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
Juanli Shen
03431b4f69
Remove filters from subchannel args
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
6 years ago
yang-g
f1f557bc43
Add a Shutdown call to HealthCheckServiceInterface
6 years ago
Vijay Pai
97de30d7b3
Allow the interceptor to know the method type
6 years ago
Srini Polavarapu
9eaebf116d
Regenerate projects
6 years ago
Muxi Yan
97ec5c1d68
Bump version to v1.17.0
6 years ago
Vijay Pai
2a0c0d7ad6
Streaming API for callback servers
6 years ago
Vijay Pai
ea1156da3f
Stop exposing streaming object class
6 years ago
Vijay Pai
d7eb26648d
Client callback streaming
6 years ago
Stanley Cheung
698cf221d8
Regenerate projects
6 years ago
Stanley Cheung
42e3ae7309
Re-generate projects
6 years ago
Muxi Yan
da14743f1a
Generate projects
6 years ago
Muxi Yan
f3e4ae633e
Regenerate projects
6 years ago
Yash Tibrewal
626f1c9d53
Remove the std::unique_ptr, instead use move semantics everywhere
6 years ago
Yash Tibrewal
a9bee9b7ed
Make Pluck use the changes made in FinalizeResult
6 years ago
Srini Polavarapu
25cd16ae58
Regenerate projects
6 years ago
Vijay Pai
0e29d7b9bc
Properly clear metadata and other structs when reusing ServerContext
6 years ago
Yash Tibrewal
699c10386d
Add method to fail recv msg for hijacked rpcs
6 years ago
tongxuan.ltx
c21393e553
g_default_client_callbacks shouldn't be global variable
...
In tensorflow, RPC client thread doesn't active release,
rely on process to cleanup. If process have already
cleanup the global variable(g_default_client_callbacks),
after that client issue a RPC call which contains the ClientContext,
then once ClientContext destructor called,
pure virtual functions call error is reported.
6 years ago
Vijay Pai
926b2941ab
Pre-request 32 callbacks of each method
6 years ago
Arjun Roy
bc3d6d21b7
Set call_ member variable to null after freeing.
6 years ago
Arjun Roy
843c8d9e75
Fixed intermittent CPP sync server shutdown leak.
...
Specifically: if a request handling thread is in flight but scheduled
out when shutdown is called on the server, but it has already passed
the shutdown check, then when it resumes it will add a grpc_call to
the completion queue that is leaked. We fix this by explicitly freeing
such calls after all worker threads have shutdown.
To manifest the leak, run the end2end::ClientCancelsRequestStream
test repeatedly on the unpatched server implementation. About 0.5% of
the time, the leak will manifest.
6 years ago
Srini Polavarapu
1bf93a76f5
Regenerate projects
6 years ago
Vijay Pai
1e850944e9
Release the CallbackWithSuccessTag from a server context completionop
6 years ago
Vijay Pai
526d2e6004
Refactoring of CallbackWithSuccessTag
6 years ago
Yash Tibrewal
4cc3717e15
move client_interceptor.cc from src/cpp/codegen to src/cpp/client
6 years ago
Yash Tibrewal
f8561952e9
Don't use default capture
6 years ago
Yash Tibrewal
e08a2b387a
Prefer lambda expressions over std::bind
6 years ago
Yash Tibrewal
b732e9c403
Make client interceptors see notification even if Cancel was done before the RPC was issued. Also add tests
6 years ago
Yash Tibrewal
fd88dcaf55
Add cancellation notification
6 years ago
Yash Tibrewal
3ece34d45c
Let us clean a few things before getting started
6 years ago
Vijay Pai
932abf48a3
Address reviewer comments.
6 years ago
Vijay Pai
2f47137a6e
Add support for IsCancelled check
6 years ago
Yash Tibrewal
0390b29e15
Register global interceptors functionality
7 years ago
Vijay Pai
84e763f10a
Experimental C++ server callback unary API
7 years ago
Yash Tibrewal
145789e9ff
interceptor_creators_ should be destroyed after health_check_service_
7 years ago
Vijay Pai
371b1d99d5
Add call as param to MethodHandler::Deserialize to allow arena use
7 years ago