Abhishek Kumar
445612ec18
Btach handling of unary
10 years ago
Abhishek Kumar
4151cac013
Initial draft of server using new async API
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
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
Craig Tiller
1d2e21962e
Server progress
10 years ago
Craig Tiller
ae00e37ac2
Fix duplicated line
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
Julien Boeuf
0561896751
Addressing comments.
...
The new gpr_tmpfile API is actually much nicer to use. Thanks Nico!
10 years ago
Craig Tiller
166e25002c
First test passes
10 years ago
Craig Tiller
ea61b07800
Updated the first test (which fails)
10 years ago
Nicolas "Pixel" Noble
21f627ad0a
First draft of the win32 implementation of iomgr.
...
Caveats:
-) The win32 pollset isn't threadsafe (yet).
-) Only client code is implemented.
-) Only very simple code has been tested with it yet.
10 years ago
Craig Tiller
5a34d452f6
WIP simple_request
10 years ago
Craig Tiller
2c189e393c
Fork tests into legacy/non-legacy
10 years ago
Craig Tiller
fb189f826e
Flesh out batch API
10 years ago
Nicolas "Pixel" Noble
4d33501a2e
Cleaning out remains of google3.
10 years ago
Julien Boeuf
026a417def
Adding support for loading the SSL roots from an environment variable.
...
- Had to add support for files and environment variables as well.
- I can't compile on windows so I'm sure there will be some issues.
- Tested end-to-end with the simple ssl fullstack test.
10 years ago
David Klempner
f94838b0a3
Make several python scripts explicitly python2.7
...
I tried actually doing a build on my home desktop, and none of these
run with python 3.3, which is /usr/bin/python on my home desktop.
10 years ago
Craig Tiller
fef766933e
Back-end for new core API
10 years ago
Craig Tiller
c4f0ebe63b
Prepare for the new batch call API.
...
Rename all core API functions that are on their way to deprecation with
an _old tag across all wrappings.
10 years ago
Craig Tiller
701c5843bc
Fix tests to be a bit more sane
10 years ago
David Klempner
ea6e8a65a2
Fix poll_kick_posix_test under asan
...
1. Init the freelist_mu in the forced-fallback path
2. Free allocated memory in the test_over_free test case.
10 years ago
Craig Tiller
9c5feda33d
Cleanup output of tests
10 years ago
Craig Tiller
a7cac78516
Prepare for the new batch call API.
...
Rename all core API functions that are on their way to deprecation with
an _old tag across all wrappings.
10 years ago