Julien Boeuf
6bdc9b47bc
Getting started on metadata processor set on server creds.
10 years ago
Julien Boeuf
a87d6c2af6
Cannot figure out server filter logic for error in auth md processing.
...
- Positive tests pass even if we will have to change the interface to
add the processor to the server credentials (will be done in a
separate pull request).
- ASAN leaks for the error case.
- The client should get a GRPC_STATUS_UNAUTHENTICATED as opposed to
GPRC_STATUS_INTERNAL.
10 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
06fabde1b7
add missed 'class'
10 years ago
yang-g
7ef7232dd9
split iterator into its own file
10 years ago
vjpai
a2e1bb1577
Change name of thread_pool files to fixed_size_thread_pool when
...
appropriate
10 years ago
yang-g
14b3684dee
Remove const_iterator typedef and add a range based loop test
10 years ago
Vijay Pai
69f2410086
Make thread_pool.h a public header
...
Rename ThreadPool -> FixedSizeThreadPool to allow for later introduction
of DynamicSizeThreadPool
10 years ago
yang-g
811536efce
auth context iterator
10 years ago
Vijay Pai
94fd462df8
override and final
10 years ago
yang-g
94d6225ae7
Create server side auth context lazily
10 years ago
Vijay Pai
181ef45f5e
Addressing outstanding typos and comments
...
Clang-format of changed files
10 years ago
vjpai
7d980e44b2
Remove lambda function with lambda capture to allow building with pre-lambda
...
compilers
10 years ago
David Garcia Quintas
664cda0ef5
Removed spurious check
10 years ago
David Garcia Quintas
6a3cf974f7
Added WriteOptions for per-message flags and modified CallOps to use it.
10 years ago
Nicolas "Pixel" Noble
717ea0eb74
Install simple Windows exception handlers.
...
Will prevent Windows tests to display a pop-up message in case of a failure. Essential for Jenkins testing.
10 years ago
Craig Tiller
2e622bc16a
Add a version string and a function to retrieve it
10 years ago
jboeuf
69cb6b41c8
Backport of pull request #2313 into release-0_10.
10 years ago
yang-g
f9e8e59b1c
Resolve comments
10 years ago
Julien Boeuf
b037bb6488
Adding tests and fixing mem leak in default creds.
10 years ago
Craig Tiller
b09caa967d
Remove extraneous explicit
10 years ago
Craig Tiller
2ee8f0b978
Update comments
10 years ago
yang-g
85c04f938f
resolve comments
10 years ago
Craig Tiller
d9b6fcfee4
Support older compilers
10 years ago
Craig Tiller
822d2c7beb
Support registering services against specific hosts
10 years ago
yang-g
3abe60b9d0
compiles
10 years ago
Craig Tiller
f1bff01631
clang-format changed files
10 years ago
Craig Tiller
f3756c1e0d
Introduce multiple clocks to GPR
10 years ago
Craig Tiller
ae65f1a212
Remove random includes of windows.h
...
Instead, include a stanza in port_platform.h that:
- gets windows.h included
- defines things that we needs to define
- tries to respect applications configurations by leaving things as
untouched as possible
10 years ago
Julien Boeuf
2805be1aa5
Adding support for raw access token credentials.
10 years ago
Alistair Veitch
e2aa487936
review changes
10 years ago
Craig Tiller
079a11bb9b
clang-format affected files
10 years ago
Craig Tiller
11bf14ec33
Trip through transient failure on disconnection
10 years ago
Julien Boeuf
da13cd201b
Adding gpr_dump and gpr_hexdump as discussed. Removed gpr_slice_to_cstring as well.
10 years ago
Alistair Veitch
fc62dddd1c
add client side census context
10 years ago
Masood Malekghassemi
b70b70956d
Clarify caller contract for grpc_call_start_batch
10 years ago
Craig Tiller
3f475422ec
chop chop chop
10 years ago
Julien Boeuf
abc09d8b12
Adding util to get a NULL terminated string from a slice.
10 years ago
Nicolas "Pixel" Noble
d8c04b3603
std::function is no longer implicitly included. Fixing this.
10 years ago
yang-g
adfed03146
Add missing headers to build.json
10 years ago
Yang Gao
89c5a56233
Add const to ByteBuffer methods and add tests
10 years ago
Jan Tattermusch
aadc13adc0
clarify grpc_call_start_batch thread safety.
10 years ago
Craig Tiller
026e600b5b
Update to set flags=0 on all ops
10 years ago
Craig Tiller
e9fad15b0b
Remove redundant decls
10 years ago
murgatroid99
04a0395670
Added casts to a macro
10 years ago
Masood Malekghassemi
aeb1a9fab6
Clarify behavior of grpc_server_register_completion_queue
10 years ago
Julien Boeuf
a96ba40f0d
Base definition of the C++ auth context API.
10 years ago
David Garcia Quintas
3df5c44c84
Introduced function to create byte buffers from the output of a byte buffer reader.
10 years ago
Masood Malekghassemi
7128a90cc4
Document core behavior w.r.t. argument lifetimes
...
Also clean up some excess whitespace and make some notes about ownership.
10 years ago
Craig Tiller
9a57633233
clang-format affected files
10 years ago