Craig Tiller
89d304a301
Fix test for multiple reads
...
Previously this test assumed all bytes would be read in one request.
Also update test to use grpc_init() so that we can enable tracing.
10 years ago
David Garcia Quintas
a9eb302aba
STAP annotation working.
...
Test annotations made to client_channel.c (start_rpc) and channel_create.c
(grpc_channel_create).
10 years ago
Craig Tiller
75cfb1f9f1
Update test definition
10 years ago
zeliard
3e3e0ad348
merge from upstream (grpc) master
10 years ago
Craig Tiller
1a727fde47
clang-format
10 years ago
Craig Tiller
f87b609169
Fix array size
10 years ago
Nicolas "Pixel" Noble
b8137b343f
Flagging some tests as flaky.
10 years ago
Craig Tiller
6e84aba85f
Make the things compile again
10 years ago
Craig Tiller
06aeea7e94
clang-format
10 years ago
Nicolas "Pixel" Noble
010f1e7b62
More work in not having to compile OpenSSL.
10 years ago
Nicolas "Pixel" Noble
99738f6bcd
Making sure we don't require OpenSSL for tests that, in fact, don't need it.
10 years ago
Craig Tiller
fbf5be26a3
One test compiles
10 years ago
Craig Tiller
522528182a
Update flaky bit for unsecure tests
10 years ago
Craig Tiller
c8b357f7c8
Run capable test suites against grpc_unsecure
10 years ago
Julien Boeuf
7d1d9ca7fa
Refactoring of core security to remove the factories.
...
- Renamed security_context -> security_connector.
- Credentials are now responsible for creating their own connectors.
10 years ago
Craig Tiller
5c019ae2d1
clang-format
10 years ago
Craig Tiller
bd22271d00
Random small fixes
10 years ago
Craig Tiller
8fddccb12c
Mark large requests tests flaky (they are buggy)
10 years ago
Craig Tiller
9c1043e757
Progress towards transport using metadata batches
10 years ago
Craig Tiller
4e99edb642
Kill transport end2end tests: not useful
10 years ago
Craig Tiller
6902ad2e9c
Switching to batch oriented metadata passing
10 years ago
Craig Tiller
b20111caea
clang-format
10 years ago
Craig Tiller
08453374b2
Introduce ahead-of-time registration of (method,host) pairs
10 years ago
Julien Boeuf
28d75d9349
Adding option to add a null terminator when loading a file.
...
- This will take care of a potential issue with default credentials
where the slice pointer is casted as const char * for APIs that need a
null terminated string.
10 years ago
Vijay Pai
0310f13fd9
clang-format results
10 years ago
Vijay Pai
6dfa7e6ea3
Move files to a new "profiling" directory to better distinguish from census
...
statistics
10 years ago
Vijay Pai
c914c4a71a
Infrastructure for timer insertion, logging, and testing.
10 years ago
Craig Tiller
d4df088c75
Remove TODO
10 years ago
Craig Tiller
8cca9abeda
Thread local storage for grpc
10 years ago
Craig Tiller
e9a6eb7332
Allow RunScenarios to spawn in-process workers
...
This allows us to get back to single binary tests where appropriate, which will help in-depth profiling efforts.
I've built this atop my smoke_test changes as they inspired me to get this done.
10 years ago
Craig Tiller
f7262057e6
Port port_posix to port_windows.
10 years ago
Craig Tiller
b8fce7f628
Remove unix headers
10 years ago
Craig Tiller
ee76f4f932
Fix indentation
10 years ago
Craig Tiller
34cf2f37f7
Begin port selection code for windows
10 years ago
Craig Tiller
87f8405195
Clean up alarm_test.c includes
10 years ago
Craig Tiller
c02c1d883a
clang-format
10 years ago
Craig Tiller
aec96aa223
Fix server shutdown
...
A previous fix to make close() occur later can cause socket reuse by servers to fail as previous sockets are left asynchronously open.
This change:
- adds a callback to TCP server shutdown to signal that the server is completely shutdown
- wait for that callback before destroying listeners in the server (and before destroying the server)
- handles fallout
10 years ago
Craig Tiller
a99157f4dd
Fix server shutdown
...
A previous fix to make close() occur later can cause socket reuse by servers to fail as previous sockets are left asynchronously open.
This change:
- adds a callback to TCP server shutdown to signal that the server is completely shutdown
- wait for that callback before destroying listeners in the server (and before destroying the server)
- handles fallout
10 years ago
Nicolas Noble
91647cc815
Adding joinable threads, and gpr_thd_join.
10 years ago
Nicolas "Pixel" Noble
a727fe22b6
Created Visual Studio 2010 project files.
...
Also removed the unused shared projects.
10 years ago
Yang Gao
5a5032dd4c
Add a macro to enable replacing the default with a custom port picker
10 years ago
Julien Boeuf
8931cc1dd5
Adding a test to check the openssl version we are using.
10 years ago
David Klempner
a4ac78c8ce
Make metadata_test test_things_stick_around use fewer strings
...
This test is quadratic in nstr and times out under tsan.
10 years ago
Nicolas Noble
f358573091
FreeBSD preliminary work.
...
-) You can't assume bash is installed. Scripts needs to be cleaned out of bashisms.
-) You can't assume python is in /usr/bin. Use env instead.
-) AF_INET is in sys/socket.h
-) Added port_platform's basic structure for FreeBSD, based off Darwin.
-) FreeBSD doesn't have and doesn't need libdl for OpenSSL.
10 years ago
Julien Boeuf
9835cf0234
Adding refresh token credentials.
...
- The google default credentials now work with the cloud SDK.
- Verified end to end with print_default_credentials and fetch_oauth2
tools.
10 years ago
Julien Boeuf
3371cdf918
Fixing !strcmp in the tests.
10 years ago
Chilledheart
ca767c0d9e
Add method grp_slice_buffer_pop to remove the last element for grp_slice_buffer
10 years ago
Julien Boeuf
75516068fa
Adding refresh token parsing
...
This is the first step for refresh token credentials.
10 years ago
Ronnie Sahlberg
2ad8d21158
strcmp: change all !str[n]cmp to str[n]cmp == 0
...
Change all !str[n]cmp to be str[n]cmp == 0 consistently across the codebase.
Issue #231
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
10 years ago
Nicolas "Pixel" Noble
061690d497
Don't merge OpenSSL into C++ upper layer libraries; only C.
10 years ago