Julien Boeuf
38c0cdee34
Fix double-free issue for optional_message.
...
Also better end to end testing of plumbing of plugin error message.
9 years ago
yang-g
39e71c33d1
fix compiling error
9 years ago
yang-g
080528abb7
Add parsing back to protobuf example
9 years ago
yang-g
4c07008610
Add a test for server returning error with debug info in trailer.
9 years ago
Julien Boeuf
8ca294e417
Refactoring the core security code.
...
As opposed to a flat directory, we now have the following structure:
- security
-context
- credentials
- composite
- fake
- google_default
- iam
- jwt
- oauth2
- plugin
- ssl
- transport
- util
We have not refactored the test code yet but this PR is already large
enough...
9 years ago
Craig Tiller
6169d5f7b0
Update copyrights
9 years ago
Craig Tiller
9533d042d4
Fix includes
9 years ago
Paul Querna
47d841de4d
Add support for IP Addresses in Subject Alt Names.
9 years ago
Dan Born
f2f7d57c01
Allow use of alternative credential types.
9 years ago
Sree Kuchibhotla
8d543e8e30
Fix ResponseStreamServerCancelAfter test flake
9 years ago
Vijay Pai
bdfec2c86c
SimultaneousReadWritesDone test was not observing the contract on the
...
streaming API. In particular, Finish should not be called until the client
is sure that there is no more message to be read (as documented in
the comments for ClientStreamingInterface::Finish)
9 years ago
yang-g
4c8aed3dba
Add a helper to return all the secure types
9 years ago
yang-g
17197ddc71
Revert "make an enum"
...
This reverts commit 5152cd29f8
.
9 years ago
yang-g
5152cd29f8
make an enum
9 years ago
yang-g
7d2a3e1917
Refactor end2end_test. Make the credentials a separate library.
9 years ago
yang-g
d59ad7ef39
Provide explicit API for user to set user agent string prefix
9 years ago
yang-g
9fd55b0d2d
remove duplicate functions
9 years ago
yang-g
7b0edbd1a3
remove the old impl caused by 4921
9 years ago
Alistair Veitch
75d5c0f024
post merge
9 years ago
yang-g
f8174ea37d
use huffman prefix
9 years ago
Sree Kuchibhotla
0f242acb9d
Comments and a minor fix
9 years ago
Sree Kuchibhotla
f25c6ba229
Comments and format
9 years ago
Sree Kuchibhotla
944f4cf14e
Sync server end2end and async_end2end tests
9 years ago
Craig Tiller
a0fef14784
clang-format code
9 years ago
Craig Tiller
b0f275e4af
Small testing fixes
...
- end2end test deadlines may complete before checking IsCancelled
=> don't expect it to be false in these cases
- add exponential backoff to port_posix
- ensure run_tests rebuilds targets with a regex I commonly use
9 years ago
yang-g
d6f7d99dc6
Add a hybrid end2end test mixing sync and async methods
9 years ago
David Garcia Quintas
2bf574f814
Added back trailing newlines
9 years ago
murgatroid99
ace28d3f98
Fix copyrights again
9 years ago
Sree Kuchibhotla
b0d0c8e8c2
FormatCode
9 years ago
Sree Kuchibhotla
5a05f51a1c
Rename TestService to EchoTestService to prevent name-conflict with
...
'TestService' in test.proto
9 years ago
Craig Tiller
1b4e33029e
Consolidate C++ proto files under src/proto
...
- make the directory structure match the package structure
- sanitize the package structure (test --> testing)
- add auto-detection of proto file dependencies
9 years ago
Craig Tiller
ca9a637877
Fix double read at end of stream bug
9 years ago
Julien Boeuf
114f39475f
Cpp example of how the plugins can be done.
9 years ago
yang-g
a89bf50cf1
Handle cancel before start case
9 years ago
Craig Tiller
93b944785c
stream_op cleanup: test fixes and updates
9 years ago
Julien Boeuf
e5adc0eb67
Fixing Cpp tests.
9 years ago
yang-g
c04610357c
The Writes may return false after the server cancels the stream
9 years ago
yang-g
0d55750cb2
Maybe it is already ready when we call getstatus
9 years ago
yang-g
bf22e0e8a0
remove anonymous namespace in anonymous namespace
9 years ago
yang-g
88d5d52d73
add tls and proxy as dimensions of end2end test
9 years ago
Craig Tiller
71a0f9d3b0
Fix clang-format script
9 years ago
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
Julien Boeuf
8b0b6f413d
It is a bad idea to have a map with string_refs as output params.
...
This is very much unsafe as the string_ref could point on a stack
variable of the callee.
9 years ago
yang-g
5e8abedd61
use seconds
9 years ago
yang-g
d886f33939
add a test
9 years ago
Julien Boeuf
1928d496a2
Adding C++ tests and fixing a few things.
9 years ago
Nicolas "Pixel" Noble
7fa51677bc
Removing pessimizing moves.
...
These have been reported by a (very recent) build of clang and its new -Wpessimizing-move option.
9 years ago
Julien Boeuf
821de3439f
Addressing comments.
9 years ago
Julien Boeuf
5be92a316d
Shuffling headers around.
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