Julien Boeuf
f47a5cb93d
Implementing JWT credentials (a.k.a JWT ID Tokens).
...
- Not tested end to end yet
10 years ago
Yang Gao
0d1e2f2ad9
remove prod_roots_certs.c since it is not used anywhere
10 years ago
vjpai
d5577aac67
More typecasts to avoid sign-comparison problems on EXPECT_EQ
10 years ago
vjpai
c1231eb543
Include typecasts so that int and size_t are not compared (since their
...
signs don't match)
10 years ago
Julien Boeuf
90bd7c4c4d
Fixing sprintf and a few other things.
10 years ago
Craig Tiller
0fcd53c701
Fix a TSAN reported error
...
We now pass down pointers to closures instead of (callback, arg) pair
elements separately. This allows us to store one word atomically, fixing
a race condition.
All call sites have been updated to the new API. No new allocations are
incurred. grpc_fd_state is deleted to avoid any temptation to ever add
anything there again.
10 years ago
Yang Gao
3a5e5495e5
Async client api change. Add a ClientAsyncResponseReader. Make the api similar to streaming and symmetric to server side.
10 years ago
Craig Tiller
9be83eec1d
Fix use-after-free.
...
Transport and channel have different lifetimes, but share a metadata
context.
Make the metadata context ref counted, and have transport take a ref.
10 years ago
Craig Tiller
efad8fadd3
Spam cleanup, test speedup
10 years ago
Craig Tiller
492968f7d9
Server side cancellation receive support
10 years ago
Craig Tiller
ce5021b0b9
Add missing new-lines at end of file
10 years ago
Craig Tiller
190d360def
Add missing new-lines at end of file
10 years ago
Craig Tiller
0605995e55
Update copyright to 2015
10 years ago
Yang Gao
da699b8bc1
do not leak reader or writer
10 years ago
Yang Gao
2b7f537546
Add metadata test with rpc. Adding/fixing things to make it work
10 years ago
Craig Tiller
aea2fc053d
Fix shutdown semantics.
...
Document what they should be, ensure they're triggered, and fix what was broken.
10 years ago
Craig Tiller
2d9c51242a
Add mixed shutdown/init test
10 years ago
Craig Tiller
35108f6527
Allow grpc_init to be called multiple times
10 years ago
Craig Tiller
32223cf5e1
Fix fling test leaks
10 years ago
Craig Tiller
ad1fd3a49e
Add proto copyrights
10 years ago
Craig Tiller
c2c792113e
Add copyrights to Python code
10 years ago
Craig Tiller
1a61b17afd
Copyright checker
...
Update LICENSE text to 2015, implement a checker that validates
whether a 2014 or 2015 version of the license is on each {.c,.cc,.h} file.
Fix the ones that are missing it.
10 years ago
Nathaniel Manista
1d1f952731
The Python interoperability testing server.
10 years ago
Craig Tiller
8f9aaa9206
Accidental change fixed
10 years ago
Craig Tiller
d209ed0e55
clang-format
10 years ago
Craig Tiller
ae7fe92389
Unix domain socket support
10 years ago
Yang Gao
406b32f663
Add missing APIs and a first metadata test, and test passes
10 years ago
Craig Tiller
857680be2c
Compile fixes
10 years ago
Yang Gao
0e0d8e11e6
add a simple server streaming e2e test, which passes
10 years ago
Abhishek Kumar
a2d9ed0d91
Addressed review comments
10 years ago
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