Craig Tiller
8c8d0aa1d8
Async API progress
10 years ago
Yang Gao
424bc92e37
implement ClientAsyncX api
10 years ago
Yang Gao
ea222b2001
resolve comments, the context_ member needs protection for thread safety
10 years ago
Yang Gao
3ccdbe9bcc
Make SendInitialMetadata work.
10 years ago
Yang Gao
b492f06c9d
Add SendInitialMetadata() to server streaming interfaces
10 years ago
Yang Gao
fd7199f64e
Add client side WaitForInitialMetadata for streaming.
10 years ago
Craig Tiller
a847a8f8bc
Finish streaming, lame client
10 years ago
Craig Tiller
0156752a66
Some streaming progress
10 years ago
Craig Tiller
504bd331ab
Make sure we get a close before stopping the server
10 years ago
Craig Tiller
47a573602a
Fix ownership
10 years ago
Yang Gao
968ca530b2
Add trailing metadata to client context and use it.
10 years ago
Craig Tiller
9dcb0f8e1d
Send initial metadata
10 years ago
Yang Gao
2382293226
Make it compile
10 years ago
Yang Gao
f1258c4951
save before the change
10 years ago
Craig Tiller
bb5227fc39
Allow server to hook calls also, fix crash
10 years ago
Craig Tiller
a5c0e7bc46
Initial metadata fix
10 years ago
Craig Tiller
3b29b566a2
Just use one completion queue per server for delivering completions
...
This simplifies (drastically) the polling story, although will slightly
complicate mixing sync & async servers - but we're not there yet.
10 years ago
Craig Tiller
854a30c73a
More implementation
10 years ago
Yang Gao
eb8e7cd922
Implement FinalizeResult
10 years ago
Craig Tiller
04c8ff0245
Fix FinalizeResult signature
10 years ago
Craig Tiller
c416577636
Server progress
10 years ago
Yang Gao
6d6b90376b
Release write buffer in FinalizeResult
10 years ago
Yang Gao
d5a04bdc6e
Implement FillOps
10 years ago
Craig Tiller
cbd0485088
Simplify server ready for async path
10 years ago
Yang Gao
7eb7d75c51
call implementation before the meeting
10 years ago
Craig Tiller
20f4af2e36
Move call.h -> impl/call.h
10 years ago
Craig Tiller
f9a06a78cb
Remove temp code
10 years ago
Craig Tiller
549a74daa8
Rephrase async streaming methods
...
To ensure that the CallOpBuffers stay alive until completion.
10 years ago
Craig Tiller
80e00a8c63
Stub out unary call wrapper
10 years ago
Craig Tiller
de917062ec
Refine completion queue
10 years ago
Craig Tiller
5319164875
Cleanup
10 years ago
Craig Tiller
b470169252
Remove more unnecessary files
10 years ago
Yang Gao
75ec2b191c
more implementation and all async signatures
10 years ago
Craig Tiller
40fcdaff0a
Remove stream_context
10 years ago
Craig Tiller
1d2e21962e
Server progress
10 years ago
Craig Tiller
061754a483
Cleanup some cruft
10 years ago
Yang Gao
8a3bbb5c55
ServerReader with new API
10 years ago
Craig Tiller
0db1befae1
Progress
10 years ago
Yang Gao
5f4f0c3170
remove explicit
10 years ago
Craig Tiller
14a65f9760
Further progress
10 years ago
Craig Tiller
2dff17d33b
Async API declarations
10 years ago
Craig Tiller
df2c957eee
Fix compile error
10 years ago
Craig Tiller
7f78d71b8d
Add initial metadata stub
10 years ago
Craig Tiller
50950712c1
Further progress
10 years ago
Craig Tiller
c4965751a0
Starting to scratch out the API
10 years ago
Craig Tiller
6135107e4a
New completion queue
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
Yang Gao
5fd0d29dfe
run clang-format
10 years ago
Julien Boeuf
8fbcc4391e
Changing the SSL (Server) Credentials API.
...
- Changed the unsigned char * + size to NULL terminated strings which
makes sense for the PEM format. I may change TSI later (but the impact
will hopefully be much more limited).
- Added a way to pass multiple key/cert pairs to servers which is needed
when hosting more than one domain.
- Removed the C++ SSL credentials tests as we are going to have an
option to not specify the roots which will then be derived from the
environment (well-known platform dependent locations and/or
environment variable).
- Fixed the php build which is the only one added in the run_test.py.
This change will certainly break node, python and ruby.
10 years ago
Craig Tiller
d248c24546
Update C++ code to set status via the C api.
...
This prevents mismatches from breaking tests.
10 years ago