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
Nicolas "Pixel" Noble
ee0c96c7fc
Second draft of the win32 implementation.
...
-) Client code is now threadsafe.
-) The echo_client code runs and succeeds.
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
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
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
Craig Tiller
c0fc6a1f1f
Add gpr_ltoa
10 years ago
David Klempner
dbb4f942d0
Add support for eventfd based kicking on linux.
...
This adds support for eventfd based kicking, with the skeleton of
support for runtime selection between eventfds and pipes.
10 years ago
Craig Tiller
dedbae744a
Typo fix
10 years ago
Craig Tiller
d14a1a5f04
Disable compilation of some files
...
They're not needed on Windows
10 years ago
Craig Tiller
faadd2386c
Add some documentation
10 years ago
Craig Tiller
c50e398d65
First pass API for serving static data
10 years ago
murgatroid99
c896e192f7
Brought grpc_server_add_secure_http2_port in line with grpc_server_http2_port
10 years ago
Julien Boeuf
68ad53edf3
Fixing indent.
10 years ago