Mark D. Roth
5794061764
Improvements to grpc_byte_stream API and handling.
...
- Add shutdown() method (to be used in forthcoming call combiner code).
- Use a vtable instead of storing method pointers in each instance.
- Check all callers of pull() to make sure that they are properly
handling errors.
- Clarify ownership rules and attempt to adhere to them.
- Added a new grpc_caching_byte_stream implementation, which is used in
http_client_filter to avoid having to read the whole send_message byte
stream before passing control down the stack. (This class may also be
used in the retry code I'm working on separately.)
- As part of this, did a major rewrite of http_client_filter, which
made the code more readable and fixed a number of potential bugs.
Note that some of this code is hard to test right now, due to the fact
that the send_message byte stream is always a slice_buffer stream, for
which next() is always synchronous and no destruction is needed.
However, some future work (specifically, my call combiner work and
Craig's incremental send work) will start leveraging this.
7 years ago
David Garcia Quintas
c22c65b58d
grpclb: deal with all-drops serverlists
7 years ago
yang-g
59ef64898a
Adding exec_ctx to avl vtable functions
7 years ago
Vijay Pai
bc81eee4d4
Remove a follow-on internal that was added post-internalization, keep the templated QPS worker rather than going back to internal API
7 years ago
Vijay Pai
6abd20020b
Revert "Separate internal-only and public parts of C++ API"
7 years ago
Mark D. Roth
e0778b2c18
Add cancellation to asynchronous security APIs.
7 years ago
Yash Tibrewal
d0c1e50ea9
Changing a few variable names and adding few safety conditions
7 years ago
Vijay Pai
c50cf03f32
Move gtest last
7 years ago
Yash Tibrewal
c62ce80b80
Test credentials are passed with channel arg. Renamed macros and refactored code as per suggestions. Renamed test to proxy_auth and changed it to use simple_request instead of a payload.
7 years ago
Yash Tibrewal
78d7125017
Removing a few style issues
7 years ago
Yash Tibrewal
ad11680be7
remove unnecessary code
7 years ago
Yash Tibrewal
f7350ea6b7
Adding connect auth feature. Proxy-Authorization header is being inserted when user creds are present in uri
7 years ago
Vijay Pai
0f95fa4909
Add idiomatic C++ API for grpc::Slice construction that doesn't
...
require using grpc_slice
7 years ago
Yuchen Zeng
9968c253cd
Update bm_pollset with the fd_orphan change
7 years ago
Yuchen Zeng
d40a7ae6c3
Add already_closed in grpc_fd_orphan
7 years ago
Craig Tiller
d996379030
Reset OWNERS state
7 years ago
Guantao Liu
29a7050c35
Fixed sanity.
7 years ago
Guantao Liu
91d8f0b5a8
Added the missing header file and fixed a syntax error.
7 years ago
Guantao Liu
ac9fdfbc40
Removed unnecessary default values and fixed sanity.
7 years ago
Vijay Pai
8dc4f101cb
Disbable a specific check on async_end2end_test and revisit later if that expectation was really required by the API
7 years ago
Vijay Pai
3d7d5f4ed2
Create inproc transport, add relevant tests, exclude irrelevant tests
7 years ago
Sree Kuchibhotla
a69878a217
fix memory leaks due to not calling grpc_shutdown in bm_cq_multiple_threads
7 years ago
Mark D. Roth
0696611fb5
Do not return calls on server when request proto fails to deserialize.
7 years ago
Julien Boeuf
da8eca56e2
Better handling of token lifetime.
...
- In C++, we need a constant for the max lifetime.
- In C, make sure that we crop the lifetime in the credentials object
itself and not just later during the creation of the token. This will
allow the refresh to occur based on the actual token lifetime as opposed
to the one from the user (which may be cropped).
7 years ago
David Garcia Quintas
51d0ff0f3d
Fix deadlocks in grpclb_end2end_test
7 years ago
Ken Payson
f47c063d02
Restore interop_client_main
...
This target is used internally.
7 years ago
Craig Tiller
41690d1ad8
Detach ownership of core/c++
7 years ago
David Garcia Quintas
9a4ed686b1
Improved testing
7 years ago
Craig Tiller
5e47758d53
Make @vjpai an owner of qps_test
7 years ago
murgatroid99
b5984601b8
Add myself as owner of files in several directories
7 years ago
Nicolas "Pixel" Noble
68ce2564fd
Sanitizing repo.
7 years ago
Craig Tiller
e251fbac20
clang-format
7 years ago
Nicolas "Pixel" Noble
61f21d91b8
Fixing merge failures on test/cpp/interop.
7 years ago
yang-g
fdcb774cea
Regenerate projects and fixes
7 years ago
Craig Tiller
a7e5a0bd9c
Add a test of repeatedly calling grpc_init then grpc_shutdown
7 years ago
Craig Tiller
e4985cbbb7
Add test tree owners for C/C++
7 years ago
yang-g
b575a34e05
Replace InitBenchmark with InitTest. Remove qps_test.cc
7 years ago
Guantao Liu
abe3cf51f0
Add a new metric 'Queries/CPU-sec'.
...
Enable internal credential types.
7 years ago
Anna Sapek
4318df0571
Update tsi_fake_handshaker to implement the asynchronous TSI
7 years ago
Sree Kuchibhotla
eede875bdb
Disable health check service in async end2end tests as it is causing flakes in mac
7 years ago
Noah Eisen
7e4c1dd4c9
Add fuzzer repro
7 years ago
Mark D. Roth
5dd24897a5
Do multiple reads if needed to read full server response.
7 years ago
Ken Payson
a4710a090d
Revert "Remove lockfree-stack implementation that is no longer used"
...
This reverts commit 3d04e025bc
.
7 years ago
David Garcia Quintas
6636b5036e
Fix codegen_test_full
7 years ago
Vijay Pai
c0baec60a1
Internalize structs and methods meant for being exposed through codegen
...
or that interface with core and are only for internal use
7 years ago
Muxi Yan
dfe402781e
Fix windows test failure
7 years ago
Muxi Yan
fbd06f7202
Comments and fixes
7 years ago
David Garcia Quintas
4b2def361a
Fix RR concurrent updates
7 years ago
Craig Tiller
873ee82277
Add channel args to qps server
7 years ago
David Garcia Quintas
3f223e342f
Move gtest include after proto include
7 years ago