Yang Gao
005f18a6a1
change ServerAsyncReader API and add a simple clientstreaming test, it passes
10 years ago
Abhishek Kumar
e3dd33ff8c
clang formatting
10 years ago
Abhishek Kumar
445612ec18
Btach handling of unary
10 years ago
Abhishek Kumar
4151cac013
Initial draft of server using new async API
10 years ago
Yang Gao
c05b6cb89d
add a bidi test and simplify the test a bit, test passes
10 years ago
Yang Gao
bb84a30f07
let the client/server use their own cq and pretty the test
10 years ago
Craig Tiller
0220cf14b0
Add end2end async unary single threaded test (compiles)
10 years ago
Nicolas Noble
d2cfde74b9
Forgot to add the test file.
10 years ago
Craig Tiller
ec3257c120
Fix end2end leaks
10 years ago
murgatroid99
a8c21e8ecf
Added useful behavior for empty batch
10 years ago
Craig Tiller
20bc56d890
Multi-completion-queue-server
...
Allow binding a different completion queue to each registered method.
This will allow multiplexing for the C++ server between sync & async
methods more easily.
10 years ago
Craig Tiller
94f87588fa
Fix up C tests
10 years ago
Craig Tiller
7418d01de4
Make end2end_test use fewer threads
...
Helps finding interesting threads in gdb much easier
10 years ago
Abhishek Kumar
3af24651d8
Updated rest of client to new API
10 years ago
David Klempner
baced4def0
Epoll based multipoller
...
This is a multipoller based on epoll rather than poll.
Note that this implementation is aimed at correctness rather than
performance, although it should immediately have better scalability to
large numbers of FDs, both due to epoll's O(1) sized API and due to not
needing to wake up polling threads to do interest set changes.
One notable difference here is that we directly attach a wakeup fd
rather than using the freelisting kick mechanism that the poll() based
implementations use, because modifying the epoll set to use a different
kick fd each time isn't free.
10 years ago
Craig Tiller
8e8fd89faf
Allow two completion queues on request call
...
One for the new rpc notification, the other is bound to the new call.
This will make async c++ soooo much easier.
10 years ago
Abhishek Kumar
787a92491f
Updated ping_pong_request to new API
10 years ago
Julien Boeuf
54b21921f9
Adding call host (:authority header) check in the secure channel.
...
- Fixes #405 .
- This change is not tested as it should (only end to end and no
negative testing). Will do better when we have testing framework
for filters.
10 years ago
Craig Tiller
e801eb3189
Fix some tests
10 years ago
Vijay Pai
4ca479c3a1
Change pointer format
10 years ago
Vijay Pai
c3b02d9a67
Allow varying number of server threads via command line flag
10 years ago
Craig Tiller
4d0fb5f1c0
Fixup callers with new api
10 years ago
Craig Tiller
f8ac5d846c
Fixup callers with new api
10 years ago
Craig Tiller
5319164875
Cleanup
10 years ago
Craig Tiller
1d2e21962e
Server progress
10 years ago
Craig Tiller
ae00e37ac2
Fix duplicated line
10 years ago
Nicolas "Pixel" Noble
3f36f5e316
Few minor fixes.
...
Fixing a few issues in case you *cough* have a different local implementation of
protobuf, gtest and gflags for some weird reason.
10 years ago
Yang Gao
48d80e5769
update comments
10 years ago
Yang Gao
1988221d15
Use environment variable to set root certs in c++ interop test.
10 years ago
Craig Tiller
8b976d0c24
Fixes
10 years ago
Craig Tiller
3054756462
Fix in-flight cancellations
10 years ago
Craig Tiller
16c5032fdb
Add a failing test
10 years ago
Hongyu Chen
2bfbfe8bfa
prefix struct & functions in census_tracing.h per ctiller's suggestion.
10 years ago
Craig Tiller
2832cb0627
Remove accidentally added file
10 years ago
Craig Tiller
fee91b49ff
Converted some cancellation tests
10 years ago
Craig Tiller
c58330a244
Convert simple_delayed_request
10 years ago
Craig Tiller
cff2d15f94
Convert more tests (and re-enable some disabled ones)
10 years ago
Craig Tiller
c9903bcf29
Convert request_response_with_trailing_metadata_and_payload
10 years ago
Craig Tiller
bea3840476
Convert request_response_with_binary_metadata_and_payload
10 years ago
Craig Tiller
16c3967183
Convert request_response_with_metadata_and_payload
10 years ago
Craig Tiller
26aeb1f0bb
Remove accidentally added file
10 years ago
Craig Tiller
4f9727326e
Fix memory usage
10 years ago
Alistair Veitch
c0ef1ded55
Update trace_test.c
10 years ago
David Klempner
05fce429e2
Fix a memory leak and a gpr_strdup/free mismatch in json_test
10 years ago
Craig Tiller
24fc2c4c5d
Convert request_response_with_payload
10 years ago
Craig Tiller
6a60cba85e
Add useful utilities
10 years ago
Craig Tiller
a6347ea3e2
Remove invalid checks
10 years ago
Vijay Pai
3726098a22
Fling client needs to have 4 invocations of event_finish to make this
...
a real ping-pong test
10 years ago
Hongyu Chen
1ef06e6285
V0 implementation of census_get_active_ops().
10 years ago
David Klempner
78b79920af
Fix up feature test macros
...
Move all feature test macros to the start of the file and check that
they aren't already defined or defined to a lower value than the file
needs.
Projects should be allowed to put these in CFLAGS and we shouldn't break
when they do.
10 years ago