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
David Klempner
a4ac16cdc3
Fix signed comparison warnings in low_level_ping_pong
10 years ago
Craig Tiller
93f80f001c
Formatting
10 years ago
Craig Tiller
c9f660daf8
Add a test that bad hostnames fail
10 years ago
Craig Tiller
1a138c34ed
Dont add new requests when shutting down
10 years ago
Craig Tiller
479f2b25fb
Speed up test, reduce flakiness
10 years ago
Nicolas "Pixel" Noble
1ff52d5278
Guard headers tool.
10 years ago
Craig Tiller
f5065c5b65
Enable asan for C core
...
Also speed up a test, and disable some rarely touched but long running tests
10 years ago
Craig Tiller
8451e87ced
Extend timeouts for Travis 2x
10 years ago
Craig Tiller
f6901be8cd
Allow machine and build type tuning of slowdown
10 years ago
Craig Tiller
7b5eb7193c
Increment 'try' variable
...
To ensure that we actually probe different ports
10 years ago