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
Muxi Yan
68a0fd5416
Separate stream compression from message-wise compression
7 years ago
Sree Kuchibhotla
fc58bd827e
Fix streaming_error_response test (failing in epoll1 but bug is not related to epoll1)
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
Muxi Yan
c97fc14a0e
Revert "Stream compression configuration"
...
This reverts commit a4dc077d3c
.
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.
8 years ago
Craig Tiller
b4bb1cdce4
Add counters, fix race
8 years ago
Yash Tibrewal
78d7125017
Removing a few style issues
8 years ago
Craig Tiller
b89304652b
Build simplification
8 years ago
Yash Tibrewal
ad11680be7
remove unnecessary code
8 years ago
Yash Tibrewal
f7350ea6b7
Adding connect auth feature. Proxy-Authorization header is being inserted when user creds are present in uri
8 years ago
ncteisen
3c909d55fd
Pull out flow control objects
8 years ago
ncteisen
06f052b35d
Get rid of local window, fix qps worker
8 years ago
ncteisen
268a82398c
Pull flow control into one module
8 years ago
Craig Tiller
280866817f
Add a simple stats framework to gRPC C core
8 years ago
Vijay Pai
0f95fa4909
Add idiomatic C++ API for grpc::Slice construction that doesn't
...
require using grpc_slice
8 years ago
Yuchen Zeng
9968c253cd
Update bm_pollset with the fd_orphan change
8 years ago
Yuchen Zeng
d40a7ae6c3
Add already_closed in grpc_fd_orphan
8 years ago
Craig Tiller
d996379030
Reset OWNERS state
8 years ago
Guantao Liu
29a7050c35
Fixed sanity.
8 years ago
Guantao Liu
91d8f0b5a8
Added the missing header file and fixed a syntax error.
8 years ago
Guantao Liu
ac9fdfbc40
Removed unnecessary default values and fixed sanity.
8 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
8 years ago
Vijay Pai
3d7d5f4ed2
Create inproc transport, add relevant tests, exclude irrelevant tests
8 years ago
Sree Kuchibhotla
a69878a217
fix memory leaks due to not calling grpc_shutdown in bm_cq_multiple_threads
8 years ago
Mark D. Roth
0696611fb5
Do not return calls on server when request proto fails to deserialize.
8 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).
8 years ago
David Garcia Quintas
51d0ff0f3d
Fix deadlocks in grpclb_end2end_test
8 years ago
Ken Payson
f47c063d02
Restore interop_client_main
...
This target is used internally.
8 years ago
Craig Tiller
41690d1ad8
Detach ownership of core/c++
8 years ago
David Garcia Quintas
9a4ed686b1
Improved testing
8 years ago
Craig Tiller
5e47758d53
Make @vjpai an owner of qps_test
8 years ago
murgatroid99
b5984601b8
Add myself as owner of files in several directories
8 years ago
Nicolas "Pixel" Noble
68ce2564fd
Sanitizing repo.
8 years ago
Craig Tiller
e251fbac20
clang-format
8 years ago
Nicolas "Pixel" Noble
61f21d91b8
Fixing merge failures on test/cpp/interop.
8 years ago
yang-g
fdcb774cea
Regenerate projects and fixes
8 years ago
Craig Tiller
a7e5a0bd9c
Add a test of repeatedly calling grpc_init then grpc_shutdown
8 years ago
Craig Tiller
e4985cbbb7
Add test tree owners for C/C++
8 years ago
yang-g
b575a34e05
Replace InitBenchmark with InitTest. Remove qps_test.cc
8 years ago
Guantao Liu
abe3cf51f0
Add a new metric 'Queries/CPU-sec'.
...
Enable internal credential types.
8 years ago
Muxi Yan
59827dd739
generate project
8 years ago
Muxi Yan
121e789f1d
Add tests
8 years ago
Muxi Yan
a4dc077d3c
Stream compression configuration
8 years ago