Vijay Pai
acf6f318fc
Better use of threads, avoid thread safety issues on destructor with
...
a proper join.
Also had been misusing EXPECT_EQ, as well as actually having an invalid
expectation on the ok field. Now it should be sane.
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
Nathaniel Manista
a60a77b63f
Update Python codegen to early_adopter interface
...
With this change the Python code generated by the Python code generator
uses the grpc.early_adopter package and not the grpc.framework.face
package.
10 years ago
Nicolas "Pixel" Noble
1ff52d5278
Guard headers tool.
10 years ago
vjpai
4e1e1bc28e
Revert "Use typedefs to avoid triply-nested function templates"
...
This reverts commit 45b0bc4bec
.
This revert is being done because the compilers on Travis don't
understand the C++11 template/using syntax.
10 years ago
vjpai
45b0bc4bec
Use typedefs to avoid triply-nested function templates
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
Yang Gao
25770b02d6
add jwt token creds test_case
10 years ago
Craig Tiller
3486f32686
Fix comment
10 years ago
vjpai
5b39f9a9fb
refresh -> Reset
10 years ago
vjpai
6e2e64a8b4
Stop abusing operator() overloading
10 years ago
Craig Tiller
8451e87ced
Extend timeouts for Travis 2x
10 years ago
vjpai
9440a14558
Move std::bind call out of main loop, change constructor appropriately
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
vjpai
cd801c8531
<:: -> < ::
10 years ago
vjpai
3c11066217
override->GRPC_OVERRIDE
10 years ago
Vijay Pai
64ac47f389
clang-format all these files
10 years ago
Craig Tiller
73509a5d53
Better port picker
10 years ago
vjpai
56c5129629
Rename Async methods from generator to avoid naming conflicts to
...
bind and other functions
10 years ago
Craig Tiller
c5ba0e56a0
Make it possible to compile with gcc4.6
10 years ago
Nathaniel Manista
732cf09a93
Drop fixed port from python_plugin_test
...
There may be some aspect of mortal sin in the way that context
management is now done in this test.
10 years ago
vjpai
dea740f329
New multithreaded async C++ tests. The server is architected the way
...
that it should be with multiple threads waiting on a single
completion queue.
The client currently uses a separate completion
queue per-thread, as trying to do a single unified queue was leading
to crashes for me. I need to figure that out.
10 years ago
Craig Tiller
cf133f41f8
Make it possible to compile with gcc4.6
10 years ago
Masood Malekghassemi
40e8cbd1ee
Fix bugs in Python code generator
...
Fixes module path finding in the Python code generator and the signatures
of generated servicer methods.
10 years ago
Craig Tiller
e2d795a27b
Fix max_concurrent_streams test
10 years ago
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.
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
c1f1162787
Drastic speed up
10 years ago
Craig Tiller
4b5c4dbbb8
Drastic speed up
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
Masood Malekghassemi
59d9ff4d9f
Updated Python protoc plugin testing.
10 years ago
Craig Tiller
8ecb170151
Fix that race better
10 years ago
Craig Tiller
2f3fa9acff
Fix linux compile bug
10 years ago
Julien Boeuf
9fff77e4f8
Addressing comments.
10 years ago
Craig Tiller
2d0f36c84b
Driver to client/server kind of works
10 years ago
Craig Tiller
4ef7a29f31
Create server/client lists
10 years ago
Craig Tiller
4f7a1ff6ad
'Fix' a race
10 years ago
Craig Tiller
e48601934d
Getting the driver pieces in place
...
Driver logic not implemented yet
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
5c004c68de
Driver changes
...
WIP - things compile again after a broad set of changes preparing for
the driver code.
10 years ago
Nicolas Noble
65b0759653
Addressing a first batch of feedback.
10 years ago
Craig Tiller
e4fe844b67
s/CreateChannel/CreateChannelDeprecated
...
For the 2-argument version of CreateChannel.
This is a temporary step until #711 is ready to roll out.
10 years ago
Julien Boeuf
c66f2a816e
Addressing iniitial feedback.
...
- Renaming default credentials -> google default credentials.
- Various other things in cpp:
- Adding Cpp wrapping for JWT Tokens.
- Renaming ComposeCredentials -> CompositeCredentials.
10 years ago
Craig Tiller
fd1b49b757
Move to unique_ptr for all GRPC returned objects
10 years ago
Nicolas Noble
a7b8b69d23
Addressing security concerns.
...
-) 0x7f (Backspace) isn't a printable character.
-) use sizeof(var) instead of sizeof(type).
10 years ago
Craig Tiller
42bc87c097
Update C++ server with new core API
...
And reflects the C++ API in ServerBuilder.
10 years ago
Craig Tiller
759026cbf0
Server API simplification
...
Remove 'secure_serer_create', and instead attach credentials to ports, meaning different ports can serve different credentials.
10 years ago
Craig Tiller
47c83fdaf7
Credentials prototyping
...
- Remove CredentialsFactory as it's unnecessary
- Effectively make Credentials a channel factory, allowing different credential types to create different channel types - this gives us a hook so that InsecureCredentials can at runtime instantiate a different kind of channel as required - giving us a way of generating an openssl free version of grpc++.
- Server credentials not touched yet, but they'll need to be updated.
10 years ago