Craig Tiller
b20111caea
clang-format
10 years ago
Craig Tiller
08453374b2
Introduce ahead-of-time registration of (method,host) pairs
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
Craig Tiller
c9f660daf8
Add a test that bad hostnames fail
10 years ago
Nicolas "Pixel" Noble
1ff52d5278
Guard headers tool.
10 years ago
Craig Tiller
e2d795a27b
Fix max_concurrent_streams test
10 years ago
Craig Tiller
deb49dd1aa
Strip port in peer name check
...
This string comes from an authority field, which is allowed to contain a
':' port (see https://tools.ietf.org/html/rfc3986#section-3.2 ).
We need to strip it before performing host name verification.
10 years ago
Craig Tiller
8ad8a41a84
Introduce slowdown factor for unit test deadlines
...
Dramatically lowers (eliminates maybe?) false negatives from ?SAN runs.
10 years ago
Julien Boeuf
597a4f2273
Verifying the peer name on the X509 Certs correctly.
...
- The SANs take precedence over the CN.
- The CN is only checked if there are no SANs.
- Fixing the tests as the test cert did not list *.test.google.com in
the SANs. Will fix the test cert another time...
10 years ago
Craig Tiller
190d360def
Add missing new-lines at end of file
10 years ago
Craig Tiller
0605995e55
Update copyright to 2015
10 years ago
Craig Tiller
aea2fc053d
Fix shutdown semantics.
...
Document what they should be, ensure they're triggered, and fix what was broken.
10 years ago
murgatroid99
a8c21e8ecf
Added useful behavior for empty batch
10 years ago
Craig Tiller
94f87588fa
Fix up C tests
10 years ago
Craig Tiller
8e8fd89faf
Allow two completion queues on request call
...
One for the new rpc notification, the other is bound to the new call.
This will make async c++ soooo much easier.
10 years ago
Julien Boeuf
54b21921f9
Adding call host (:authority header) check in the secure channel.
...
- Fixes #405 .
- This change is not tested as it should (only end to end and no
negative testing). Will do better when we have testing framework
for filters.
10 years ago
Craig Tiller
e801eb3189
Fix some tests
10 years ago
Craig Tiller
8b976d0c24
Fixes
10 years ago
Craig Tiller
3054756462
Fix in-flight cancellations
10 years ago
Craig Tiller
16c5032fdb
Add a failing test
10 years ago
Craig Tiller
2832cb0627
Remove accidentally added file
10 years ago
Craig Tiller
fee91b49ff
Converted some cancellation tests
10 years ago
Craig Tiller
c58330a244
Convert simple_delayed_request
10 years ago
Craig Tiller
cff2d15f94
Convert more tests (and re-enable some disabled ones)
10 years ago
Craig Tiller
c9903bcf29
Convert request_response_with_trailing_metadata_and_payload
10 years ago
Craig Tiller
bea3840476
Convert request_response_with_binary_metadata_and_payload
10 years ago
Craig Tiller
16c3967183
Convert request_response_with_metadata_and_payload
10 years ago
Craig Tiller
26aeb1f0bb
Remove accidentally added file
10 years ago
Craig Tiller
4f9727326e
Fix memory usage
10 years ago
Craig Tiller
24fc2c4c5d
Convert request_response_with_payload
10 years ago
Craig Tiller
a6347ea3e2
Remove invalid checks
10 years ago
Craig Tiller
166e25002c
First test passes
10 years ago
Craig Tiller
ea61b07800
Updated the first test (which fails)
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
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
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
Nicolas "Pixel" Noble
213ed91850
Re-enabling errors on warning, disabling unused parameter warning, and fixing all subsequent errors.
10 years ago
Craig Tiller
cce17ac033
First compiling version of the new C api.
10 years ago
Yang Gao
5fd0d29dfe
run clang-format
10 years ago
Craig Tiller
7da8ef14c1
Add missing include
10 years ago
Craig Tiller
2be952ce28
Remove use of sprintf
10 years ago
Craig Tiller
cf7bd708cf
Remove use of sprintf
10 years ago
Craig Tiller
724b7c693a
clang-format
10 years ago
Craig Tiller
ecd49345b5
Use clang-format-3.5
10 years ago