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
Craig Tiller
1e0d4c43d1
Rename & semantic fixup progress
10 years ago
Craig Tiller
4e551c4acf
Init fix
10 years ago
Craig Tiller
f25b0eea42
Init fix
10 years ago
Nicolas "Pixel" Noble
2b16bc4656
Fixing echo test.
10 years ago
Craig Tiller
a0935d9e36
Add missing wait
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
4433e6e68d
Fix echo test
10 years ago
Nicolas "Pixel" Noble
3c63c0ced3
Adding a few more tests.
10 years ago
Nicolas "Pixel" Noble
08cd92a890
Adding a few more test to improve coverage.
10 years ago
David Klempner
a8a0e5c4de
Add a timeout to echo client's RPCs
...
This ensures that echo test fails in a timely manner rather than
hanging when it breaks.
10 years ago
Nicolas Noble
66b5bba25b
Fixing a couple of minor bugs, and adding a few tests.
10 years ago
Nicolas Noble
8c2be9bbff
Addressing latest comments.
10 years ago
Craig Tiller
cce17ac033
First compiling version of the new C api.
10 years ago
Craig Tiller
103481ec8a
Add args
10 years ago
David Klempner
e360568a70
Rename poll_kick_test to poll_kick_posix_test
10 years ago
Nicolas Noble
e04455a7ff
Addressing comments.
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
da8774cee2
remove stale comment
10 years ago
Craig Tiller
715342eb19
Remove uses of sprintf
10 years ago
Craig Tiller
3385782a65
Remove uses of sprintf
10 years ago
Craig Tiller
8ddf31272d
Remove uses of sprintf
10 years ago
Craig Tiller
03f75259c5
Remove uses of sprintf
10 years ago
Craig Tiller
28214ea1b2
Remove uses of sprintf
10 years ago
Craig Tiller
9bb2632309
Remove uses of sprintf
10 years ago
Craig Tiller
68cc1afda5
Remove uses of sprintf
10 years ago
Craig Tiller
ec46f5fbd2
Remove use of *printf
10 years ago