yang-g
523201cee0
remove redundant ctor
10 years ago
yang-g
9b7757dd35
Use a sync service to handle requests to unknown services
10 years ago
Nicolas "Pixel" Noble
ebb514066e
Changing the library's code to adapt with the new API.
10 years ago
vjpai
72a44178e9
ThreadPoolInterface::ScheduleCallback --> ThreadPoolInterface::Add
10 years ago
jboeuf
69cb6b41c8
Backport of pull request #2313 into release-0_10.
10 years ago
yang-g
85c04f938f
resolve comments
10 years ago
Craig Tiller
822d2c7beb
Support registering services against specific hosts
10 years ago
Craig Tiller
f75fc12e3a
Add a test that headers are properly in build.json
...
Clean up anything that failed
10 years ago
yang-g
a58cab30b2
release memory even if the status is false
10 years ago
yang-g
3deb0069f4
Only copy stuff when status is ok
10 years ago
Vijay Pai
ced73bde96
Split cq creation from request initiation so that cq creation
...
can be removed from C++ lock.
10 years ago
Craig Tiller
2f4a49c8d3
Fix memory leak
10 years ago
Craig Tiller
928ec8ee51
Fix memory leak
10 years ago
Craig Tiller
3cb03ef0c8
Remove old code
10 years ago
Craig Tiller
5095581cdb
Get server call tags right
10 years ago
Craig Tiller
ce40de58da
clang-format
10 years ago
Craig Tiller
7bc97bc6de
Everything compiles again
10 years ago
Craig Tiller
50a7a68ca2
Progress commit on fixing up C++
10 years ago
Yang Gao
7b49a7737c
Leak fix, the metadata array should be destroyed on the server SyncRequest
10 years ago
Craig Tiller
29f79dcb08
Make C/C++ tests pass
10 years ago
Craig Tiller
bce999f57f
Refine shutdown API
10 years ago
Craig Tiller
dd093f33f6
Remove some bad asserts
10 years ago
Craig Tiller
a33acb7021
Correct C++ build errors
10 years ago
Yang Gao
b8a5f866f2
do not request another call if server is shutdown
10 years ago
Craig Tiller
f9e6adf998
Completion queue binding for new requests API change
...
Move completion queue binding for new requests to the new request
request time, not server instantiation time.
10 years ago
Yang Gao
c71a9d2b56
clang-format
10 years ago
Yang Gao
f7d05b572b
make server tolerate deserialization failure
10 years ago
Yang Gao
3921c56bee
Expose max message size at the server side
10 years ago
David Garcia Quintas
bbc0b775e1
Merge comments. See below.
...
- Added ptag ignore annotation threshold
- prefixed everythig with grpc_
- removed spurious annotations in channel_create.c and client_channel.c
- removed stap_probes.h (it's generated from stap_probes.d by make)
- Updated Makefile and its template with the right way to generate stap
probe headers from its .d definition.
10 years ago
David Garcia Quintas
8954e90b72
Integration of Systemtap (STAP) for profiling.
...
This commit includes a faulty Makefile to be fixed in a follow commit.
10 years ago
Nicolas Noble
3086203834
Few VS2010 fixes.
...
-) = delete isn't supported. Moving destructor out of scope.
-) variadic templates aren't supported. Replacing emplace_back's construction.
-) C++11's {} inline construction isn't supported. Adding temporary variables.
-) std::list<> can't work on a non-declared class. Changing to a raw pointer.
10 years ago
zeliard
179be50ad3
merge VS solutions file from upstream master
10 years ago
Vijay Pai
9ffbd0ca4d
Mark proto ser/deser on server side
10 years ago
Nicolas Noble
89219162dd
Refactoring std::chrono out.
10 years ago
Nicolas "Pixel" Noble
ff2828be3d
Rewriting mutex, condition_variable, and thread.
10 years ago
Vijay Pai
82dd80abc6
Elminate range-based fors and work around some other limitations in older compilers
10 years ago
Yang Gao
1205f6f534
Set cq_ on servercontext
10 years ago
Nicolas Noble
cfd6073a66
Various Windows fixes.
...
-) using dupenv_s instead of getenv_s and calling strdup ourselves.
-) few impossible-to-obtain if checks.
-) various signed/unsigned casting.
-) using time_t instead of time32_t
-) checking output of FormatMessage for failures.
-) don't redefine _WIN32_WINNT without undefining it first.
-) fixed msvc's interlocked casting.
-) renamed AddPort to AddListeningPort.
-) added protobuf's third_party includes to search path.
-) added a missing definition for inet_ntop in mingw32.
-) removed useless declarations.
10 years ago
Yang Gao
6baa9b67ad
clang-format c++ code
10 years ago
Yang Gao
1ad253d137
expose the server's cq through the generic service object
10 years ago
Ruyi Wang
b486ba6b0d
remove 'else' code, release lock by destructor
10 years ago
Yang Gao
2729fbadcf
wording change
10 years ago
Yang Gao
4999649653
Rename to AsyncGeneric*
10 years ago
Yang Gao
2a3c96a869
resolve leak, now asan clean
10 years ago
Yang Gao
005eb88c45
Rename anonymous to generic globally
10 years ago
Yang Gao
0fd94409a0
Expose server cq for polling incoming anonymous rpcs
10 years ago
Yang Gao
5f4539f4e8
Service side should be done, it builds and existing tests pass
10 years ago
Yang Gao
1c40233814
first sets of changes, it builds
10 years ago
Vijay Pai
dbb79631eb
Solve the call-suppression problem earlier in the stack
10 years ago
Yang Gao
7694c35d5f
Global replace google::protobuf::Message with grpc::protobuf::Message, all tests passed
10 years ago