Yuchen Zeng
9f0a115f05
Test if the user agent string is copied correctly
8 years ago
Yuchen Zeng
4564b8cde7
Copy value at SetPointerWithVtable
8 years ago
Craig Tiller
eb022becae
Fix compile
8 years ago
Craig Tiller
05fbe3c518
Get gtest building with Bazel, add first test in test/cpp/common/BUILD
8 years ago
Robbie Shade
ca7effcdff
Replace timeout/scaling macros with functions.
8 years ago
Mark D. Roth
13f3574642
clang-format
8 years ago
Mark D. Roth
42663fb20e
Fix bug.
8 years ago
Mark D. Roth
aa1cd14729
Clean up C++ filter API.
8 years ago
Craig Tiller
25910a2896
Fix compilation
8 years ago
Craig Tiller
73ee7dc559
C++ compiles
8 years ago
Yuchen Zeng
7810898658
Add grpc_socket_mutator_compare
8 years ago
Craig Tiller
cd78879c56
Fix test
8 years ago
Mark D. Roth
0e44a258cb
Fix C++ filter API and add test for it.
8 years ago
Vijay Pai
c0b2acb1a0
Use C++11 final and override
8 years ago
Yuchen Zeng
87772d5b88
Fix asan issues, clean up
8 years ago
Yuchen Zeng
de3daf5d63
More interfaces for grpc_socket_mutator
8 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
Craig Tiller
2e1903638e
Fix copyrights
9 years ago
Craig Tiller
f40df23eeb
Auto-changes
9 years ago
David Garcia Quintas
e2f243ba7c
clang format
9 years ago
David Garcia Quintas
0160873273
PR comments addressed
9 years ago
Vijay Pai
e32ef7acde
Make timeout instant as well
9 years ago
Vijay Pai
64e7875510
Should have a test for 0 and negative alarms to make sure that those make
...
it on to the CQ like any other.
9 years ago
David Garcia Quintas
1689990ff3
clang format
9 years ago
David Garcia Quintas
4105505b33
Fixed refactoring of grpc_arg pointer vtable
9 years ago
vjpai
dbca72fb01
init test
9 years ago
vjpai
8fdafede06
tag fed in by user should be any arbitrary tag, not a CompletionQueueTag
...
type
9 years ago
vjpai
04e992a750
Make C++ alarm class usable and testable - there were some build issues and
...
it was not actually even included in the library or the test suite.
9 years ago
yang-g
1945ae4285
Fix copyright
9 years ago
yang-g
d59ad7ef39
Provide explicit API for user to set user agent string prefix
9 years ago
Alistair Veitch
75d5c0f024
post merge
9 years ago
David Garcia Quintas
a43aadd7e1
fixed copyrights
9 years ago
David Garcia Quintas
08a0a3306e
Made "codedgen" directories closed over #includes
9 years ago
Craig Tiller
7536af02cf
Eliminate gpr_ int types - and insist on C99 variants instead
9 years ago
yang-g
52705590e4
Add set pointer api to channel_arguments
9 years ago
David Garcia Quintas
7fd0fd5023
C++ Alarm implementation (with tests).
9 years ago
Julien Boeuf
5be92a316d
Shuffling headers around.
9 years ago
Julien Boeuf
68ff03a952
Fixing AuthContext tests.
9 years ago
yang-g
d090fe1379
auth context api change for string_ref
9 years ago
yang-g
9e2f90cd06
headers reorg
9 years ago
Craig Tiller
d6c98df792
clang-format all source
9 years ago
Julien Boeuf
c2274e7069
Adding C++ auth metadata processor.
...
- We always do the processing asynchronously but maintain a synchronous
API for the implementor of the processor.
- there are a lot of string copies right now. Having a StringPiece
object in grpc++ would really help with that (as we would use it for
C++ metadata).
- Please review the API carefully and if you're happy with it, I'll
proceed with tests.
9 years ago
Julien Boeuf
54b5018dd8
Fixing cpp tests.
9 years ago
Vijay Pai
e66165dead
Remove iterator-based test altogether
9 years ago
Vijay Pai
c4af224970
Remove one range-based for and do appropriate static casts on nullptr
9 years ago
Julien Boeuf
ea456fc2bf
Server auth metadata processor.
...
- Right now it is a global function: would be better to have this per
(secure) port.
- Changed the interface of the auth_context slightly to make it more
friendly.
- Positive tests pass. Still need some work on error case (have a
negative case as well).
- Fixing cpp auth context tests so that they use the shiny new C API.
10 years ago
yang-g
7ef7232dd9
split iterator into its own file
10 years ago
yang-g
14b3684dee
Remove const_iterator typedef and add a range based loop test
10 years ago