Craig Tiller
24be0f79e2
Rewrite server request startup path
...
Stub in registered methods, cleanup to the point I understand this code
again.
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
0a5bcbc632
Add some documentation
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
7630205bdf
Add missing ifdef
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
Craig Tiller
1801e420de
Fix include paths
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
Craig Tiller
c56b2cb33c
Add comments
10 years ago
Craig Tiller
4f9727326e
Fix memory usage
10 years ago
Craig Tiller
b7800c1544
Add some comments
10 years ago
Julien Boeuf
7413f10832
Adding linux specific env implementation.
10 years ago
David Klempner
0c61dc52a1
Remove the platform specific time headers
10 years ago
David Klempner
c15622b95c
Remove timeval functions
...
They only had one caller, which could easily be converted to use
timespec instead of timeval.
10 years ago
David Klempner
9b60fa3acd
Make gpr_timespec no longer be a typedef for struct timespec in posix
...
The problem is that for the typedef to work we need _POSIX_C_SOURCE to
be defined properly before any file that uses gpr_timespec includes
anything. This is extremely fragile unless we change CFLAGS, which
probably isn't worth doing for this.
10 years ago
Craig Tiller
ea61b07800
Updated the first test (which fails)
10 years ago
Julien Boeuf
4a0a394758
Fixing tsan errors in OpenSSL ( #319 )
...
- Added cross-platform implementation of gpr_thd_currentid();
- OpenSSL still shows some TSAN errors on OPENSSL_cleanse which is
inherently not thread-safe but this should not matter:
see
http://stackoverflow.com/questions/26433772/why-does-openssl-cleanse-look-so-complex-and-thread-unsafe
10 years ago
Craig Tiller
fb189f826e
Flesh out batch API
10 years ago
Craig Tiller
034929cc31
Flesh out new API
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
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
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
Craig Tiller
4741adeb8d
Cleanup
10 years ago
Craig Tiller
1e0d4c43d1
Rename & semantic fixup progress
10 years ago
Nicolas "Pixel" Noble
c8fd2d1c01
Properly selecting chunks of code for the wakeup fd codepath.
10 years ago
Nicolas "Pixel" Noble
213ed91850
Re-enabling errors on warning, disabling unused parameter warning, and fixing all subsequent errors.
10 years ago
Craig Tiller
9724de88f3
Send simple request completes its request
10 years ago
Craig Tiller
cce17ac033
First compiling version of the new C api.
10 years ago
David Klempner
78dc6cdaeb
Refactor the pipe/eventfd abstraction
...
This introduces the wakeup fd interface, corresponding approximately to
the existing Google version, complete with a ported giant detailed usage
comment.
The implementation has two layers, "specialized" and "fallback". The
specialized layer is intended to be a suitable platform specific
implementation like eventfd, whereas "fallback" is probably pipe, with
runtime detection of whether the specialized version works on this
system (currently stubbed out).
10 years ago
Yang Gao
5fd0d29dfe
run clang-format
10 years ago
Craig Tiller
485d77628d
Move string.h to internal code
10 years ago
Craig Tiller
1fa4e15f7e
Add define
10 years ago