Craig Tiller
3cd6a5158d
Getting stuff working
9 years ago
Craig Tiller
7d57ba138f
Tests compile
9 years ago
Craig Tiller
47a708e252
Core compiles with workqueues
9 years ago
Craig Tiller
7dc34ac7a0
Fix memory leak
9 years ago
Julien Boeuf
4ffbf0d22c
Adding tests for credentials plugin.
9 years ago
Craig Tiller
404044acc2
Retry failed port get attempts a few times
9 years ago
Robbie Shade
e388ed3a45
Remove arguments from on_read in test
9 years ago
Craig Tiller
d8374ef194
No need for the assert here
9 years ago
Craig Tiller
ae322afe60
Better port selection
...
- avoid IANA and Linux ephemeral port ranges
- support dropping allocated ports
- aggressively try to reclaim ports if we reach exhaustion
- set SO_REUSEADDR on test port binds
9 years ago
David Garcia Quintas
0cf27f7e18
Fixed leak introduced in #3293
9 years ago
David Garcia Quintas
8d45f7bb7b
Fixed leak introduced in #3293
9 years ago
David Garcia Quintas
56d66c207b
Fixed wrong usage of varargs
9 years ago
Craig Tiller
6a6b36c503
Enable -Wconversion
9 years ago
Craig Tiller
f96dfc3cf8
First round of fixing up implicit 64->32 bit conversions
9 years ago
Craig Tiller
32ca48ce0b
Core compiles with -Wsign-conversion
9 years ago
David Garcia Quintas
fe7a6368fc
Usage of ?lb_policy=xxx in sockaddr_resolver
...
Plus test tweaks and final touches to round robin policy
9 years ago
Craig Tiller
3121fd4d75
Sign conversion fixes
9 years ago
Craig Tiller
73b6606629
Workqueue: interface, test, and posix implementation
9 years ago
Paul Marks
6a70b01239
Reintroduce DNS-based cases to dualstack_socket_test.c.
...
These were dropped before the initial release because they depended on
a hostname that was only resolvable inside Google. The newer
unittest.grpc.io domain is publicly accessible.
Allow the tests to be skipped, just in case someone is running an
isolated machine, or a DNS resolver that doesn't permit external domains
to return loopback addresses.
9 years ago
David Garcia Quintas
526789159c
Added queries and fragments to uri parser
9 years ago
David Garcia Quintas
4fb049b647
Added round robin LB policy.
9 years ago
David Garcia Quintas
634daca1a0
Added queries and fragments to uri parser
9 years ago
Craig Tiller
88589743f8
Fix compilation
9 years ago
Nicolas "Pixel" Noble
2057a7a76c
Fixing bad_client test.
...
Before destroying an endpoint, shut it down properly.
9 years ago
Nicolas "Pixel" Noble
a4d4b60fd8
Secure endpoint test should call grpc_init.
9 years ago
Craig Tiller
b11177b26b
call correct init function
9 years ago
Craig Tiller
4326f739b6
Ensure port picking doesnt repeatedly return the same port
9 years ago
Craig Tiller
03ab064fb7
Fix completion_queue_test
9 years ago
Craig Tiller
f406f6c448
Fixed build
9 years ago
Craig Tiller
605076a7aa
Handle test dependencies better
9 years ago
Craig Tiller
1ebb7c885e
Hand-written changes
9 years ago
Julien Boeuf
0c711ad88b
Adding C++ metadata processor.
...
- Had to chnage the core API to add a destroy function pointer in
grpc_auth_metadata_processor.
- Tested end to end.
- Fixed some issues in the server_auth_filter (we were not checking the
length which put us at risk of an overflow).
9 years ago
Robbie Shade
c8cb4ed45d
Removed on_connect callback from udp_server_test
9 years ago
Craig Tiller
9f80fcf8e7
Cleaning up Windows endpoint code
...
- removed the need to track some state
- fixed chttp2 transport endpoint shutdown management
- made a bunch of tests pass
9 years ago
yang-g
cf44bb5027
use millis to protect against potential overflow
9 years ago
yang-g
edd4667348
Reduce a timeout causing overflow
9 years ago
Craig Tiller
ae69ad1bcf
Add a portable test of endpoint pairs
9 years ago
Craig Tiller
b029859e58
Revert "Revert "Refactor Endpoint API""
9 years ago
Craig Tiller
99d7b661be
Revert "Refactor Endpoint API"
9 years ago
Craig Tiller
3d5ba2f499
Make port_windows compile again
9 years ago
Craig Tiller
1e27e7d605
Use port server on windows
9 years ago
Julien Boeuf
510a920c75
Credentials cleanup:
...
- Removing service_accounts credentials. These credentials just have
drawbacks compared to service_account_jwt_access credentials, notably
in terms for security.
- Renaming Google specific credentials with a Google prefix for C and
C++. This should be done as well for wrapped languages.
9 years ago
Julien Boeuf
c17fecd224
Fixing tests.
9 years ago
Craig Tiller
be95249350
Cleanup test, initialize correctly
...
Test was failing on mac because gpr time code was not initialized. Whilst here, clean up the test so that I can understand it again.
9 years ago
David Garcia Quintas
fe5f25490d
Improvements to the grpc_channel_args_compression_algorithm_set_state api
9 years ago
Craig Tiller
bc85be10ef
Refactor default host name resolution
...
Rephrase API's such that resolvers are constrained to be able to provide a
default host given just the text of the URI channel target.
This avoids needing to rewrite such details in the core library during
retries, and generally makes things much saner to debug.
9 years ago
Craig Tiller
592e7f2dd0
Refactor Endpoint API
...
- Allow reads to complete immediately
- Unify read/write signatures
- Simplify memory management to allow future optimization work
9 years ago
David Garcia Quintas
a4c4f02a63
Added C API functions for compression args handling (w/ tests)
9 years ago
David Garcia Quintas
2bfd275b2b
sockaddr_resolver now supports comma-separated list of IPs
9 years ago
Julien Boeuf
ee3dbb0078
Have a richer interface for auth metadata processors.
9 years ago