Julien Boeuf
c34b2e744c
Do not use string_ref for output params.
...
It is very much unsafe to do so as the string_ref could point on a stack
variable of the callee.
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
93ddc61c10
Fix compilation
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
Craig Tiller
a4517a2020
Remove C++11isms
9 years ago
Julien Boeuf
0d47192afa
Fixing headers and paths after merge with upstream.
9 years ago
Julien Boeuf
821de3439f
Addressing comments.
9 years ago
Julien Boeuf
5be92a316d
Shuffling headers around.
9 years ago
Julien Boeuf
68ff03a952
Fixing AuthContext tests.
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
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
Julien Boeuf
421738b529
Addressing comments, round 2.
9 years ago
Julien Boeuf
4eaeb992d3
Addressing comments.
9 years ago
yang-g
730055d962
implementation fix
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
958ee76018
IWYU
9 years ago
Craig Tiller
70a816807f
Friends dont let friends use volatile for synchronization
9 years ago
Craig Tiller
b029859e58
Revert "Revert "Refactor Endpoint API""
9 years ago
Craig Tiller
99d7b661be
Revert "Refactor Endpoint API"
9 years ago
yang-g
0d9f81f741
minor fixes
9 years ago
Rakesh Iyer
4abe76eff5
Repro case for flow control bug.
...
This is a repro case for a bug where if the client is sending
full throttle and the receiver is not able to keep up, the
client reaches a case where it doesn't make forward progress
anymore.
Signed-off-by: Craig Tiller <craig.tiller@gmail.com>
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
yang-g
d090fe1379
auth context api change for string_ref
9 years ago
David Garcia Quintas
04ecfa1ad7
Added missing payloads to streaming compressed test
9 years ago
yang-g
e21908fcee
impl
9 years ago
vjpai
2098863a90
Make certain constants unsigned to please compiler on Mac
9 years ago
Julien Boeuf
bf9a8f8d7c
Fixing tests.
9 years ago
Craig Tiller
dc31ef38d2
Loosen test requirements to better fit spec
9 years ago
Julien Boeuf
8fd915ab8d
Adding grpc::string_ref class.
...
- Strict subset of
http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2012/n3442.html
- Useful to avoid unnecessary string copies.
9 years ago
David Garcia Quintas
fe5f25490d
Improvements to the grpc_channel_args_compression_algorithm_set_state api
9 years ago
Vijay Pai
e8a7e30a75
Eliminate public thread-pool interface
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
yang-g
9e2f90cd06
headers reorg
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
yang-g
d392fa04c5
fix shutdown_test
9 years ago
David Garcia Quintas
2bfd275b2b
sockaddr_resolver now supports comma-separated list of IPs
9 years ago