Craig Tiller
93f80f001c
Formatting
2015-03-03 13:08:27 -08:00
Craig Tiller
c9f660daf8
Add a test that bad hostnames fail
2015-03-03 11:01:48 -08:00
Craig Tiller
479f2b25fb
Speed up test, reduce flakiness
2015-03-02 17:29:33 +00:00
Nicolas "Pixel" Noble
1ff52d5278
Guard headers tool.
2015-03-01 06:18:14 +01:00
Yang Gao
0e32857bfd
Merge pull request #784 from ctiller/timeout
...
Introduce slowdown factor for unit test deadlines
2015-02-26 09:30:36 -08:00
David Klempner
c33731aea6
Merge pull request #822 from ctiller/hard
...
Fix max_concurrent_streams test
2015-02-26 09:29:24 -08:00
Craig Tiller
e2d795a27b
Fix max_concurrent_streams test
2015-02-25 15:00:21 -08:00
David Klempner
57c0061d78
Deflake dualstack socket test
...
The test currently allocates a single port and reuses it through the
test. Given the timeouts in this test this leaves substantial race
windows where other processes on the same machine could steal the port
between subcases.
Instead, as a simple hack, allocate a new port before each test.
2015-02-25 13:37:12 -08:00
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.
2015-02-25 12:17:24 -08:00
Craig Tiller
4b5c4dbbb8
Drastic speed up
2015-02-25 08:51:18 -08:00
Craig Tiller
8ad8a41a84
Introduce slowdown factor for unit test deadlines
...
Dramatically lowers (eliminates maybe?) false negatives from ?SAN runs.
2015-02-25 08:36:40 -08:00
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...
2015-02-23 16:41:26 -08:00
Yang Gao
0d1e2f2ad9
remove prod_roots_certs.c since it is not used anywhere
2015-02-18 22:41:59 -08:00
Craig Tiller
190d360def
Add missing new-lines at end of file
2015-02-18 09:23:38 -08:00
Craig Tiller
0605995e55
Update copyright to 2015
2015-02-18 08:34:56 -08:00
Craig Tiller
f74ec4ee43
Merge github.com:grpc/grpc into copyright
2015-02-18 08:30:14 -08:00
Craig Tiller
7bd5ab1055
Merge github.com:grpc/grpc into c++api
...
Conflicts:
src/core/surface/server.c
2015-02-17 22:29:04 -08:00
Craig Tiller
347b83c222
Merge github.com:grpc/grpc into copyright
...
Conflicts:
src/python/src/__init__.py
src/python/src/_adapter/__init__.py
src/python/src/_framework/__init__.py
src/python/src/_framework/base/__init__.py
src/python/src/_framework/base/packets/__init__.py
src/python/src/_framework/common/__init__.py
src/python/src/_framework/face/__init__.py
src/python/src/_framework/face/testing/__init__.py
src/python/src/_framework/foundation/__init__.py
src/python/src/_junkdrawer/__init__.py
2015-02-17 20:28:40 -08:00
Craig Tiller
aea2fc053d
Fix shutdown semantics.
...
Document what they should be, ensure they're triggered, and fix what was broken.
2015-02-17 16:54:53 -08:00
Craig Tiller
1f1b630fe7
Merge github.com:grpc/grpc into c++api
...
Conflicts:
Makefile
2015-02-17 07:33:19 -08:00
Craig Tiller
c2c792113e
Add copyrights to Python code
2015-02-16 12:00:01 -08:00
Craig Tiller
d209ed0e55
clang-format
2015-02-13 23:18:15 -08:00
Craig Tiller
ae7fe92389
Unix domain socket support
2015-02-13 23:16:32 -08:00
Craig Tiller
869a8700f8
Merge github.com:grpc/grpc into c++api
2015-02-12 14:58:38 -08:00
murgatroid99
a8c21e8ecf
Added useful behavior for empty batch
2015-02-12 13:55:53 -08:00
Craig Tiller
94f87588fa
Fix up C tests
2015-02-11 23:00:59 -08:00
Craig Tiller
d9dd8fee04
Merge github.com:grpc/grpc into c++api
2015-02-11 18:19:24 -08:00
Nicolas Noble
0bae4b2f08
Merge pull request #471 from jboeuf/call_host_name_check
...
Adding call host (:authority header) check in the secure channel.
2015-02-11 14:46:03 -08:00
Craig Tiller
2dac79770e
Merge github.com:grpc/grpc into c++api
2015-02-11 08:10:49 -08:00
Craig Tiller
187994e0fd
Merge pull request #448 from nicolasnoble/grpc-win32
...
Windows port of iomgr.
2015-02-11 08:09:03 -08:00
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.
2015-02-10 17:02:08 -08:00
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.
2015-02-10 15:12:13 -08:00
Craig Tiller
e801eb3189
Fix some tests
2015-02-10 14:01:14 -08:00
Nicolas "Pixel" Noble
811b07876c
Merge branch 'master' of github.com:google/grpc into grpc-win32
2015-02-10 01:26:37 +01:00
Craig Tiller
ae00e37ac2
Fix duplicated line
2015-02-09 08:54:01 -08:00
Craig Tiller
8b976d0c24
Fixes
2015-02-05 21:41:23 -08:00
Craig Tiller
3054756462
Fix in-flight cancellations
2015-02-05 17:04:51 -08:00
Craig Tiller
16c5032fdb
Add a failing test
2015-02-05 16:35:59 -08:00
Craig Tiller
2832cb0627
Remove accidentally added file
2015-02-05 16:03:43 -08:00
Craig Tiller
fee91b49ff
Converted some cancellation tests
2015-02-05 16:03:13 -08:00
Craig Tiller
aa2ac59b5c
Merge github.com:google/grpc into async-api-new
2015-02-05 13:44:05 -08:00
Craig Tiller
c58330a244
Convert simple_delayed_request
2015-02-05 13:42:46 -08:00
Craig Tiller
cff2d15f94
Convert more tests (and re-enable some disabled ones)
2015-02-05 13:22:49 -08:00
Yang Gao
f229d4fd4d
Merge pull request #359 from jboeuf/ssl_default_creds_integration
...
Adding support for loading the SSL roots from an environment variable.
2015-02-05 13:19:52 -08:00
Craig Tiller
c9903bcf29
Convert request_response_with_trailing_metadata_and_payload
2015-02-05 13:11:02 -08:00
Craig Tiller
bea3840476
Convert request_response_with_binary_metadata_and_payload
2015-02-05 13:01:33 -08:00
Craig Tiller
16c3967183
Convert request_response_with_metadata_and_payload
2015-02-05 12:57:08 -08:00
Craig Tiller
26aeb1f0bb
Remove accidentally added file
2015-02-05 12:41:03 -08:00
Craig Tiller
4f9727326e
Fix memory usage
2015-02-05 12:40:20 -08:00
Craig Tiller
24fc2c4c5d
Convert request_response_with_payload
2015-02-04 13:01:16 -08:00