Mark D. Roth
d0cbf169bc
Fix retry code to hold refs to send_initial_metadata slices ( #27205 )
...
* add test proving that we fail to take refs to send_initial_metadart payload
* fix grpc_slice_from_copied_string() to take refs and grpc_metadata_batch_copy() to copy the mdelems when necessary
* fix criteria used to determine if mdelem is reffable
* add support for inline slices
* fix sanity
3 years ago
Ashitha Santhosh
1ff1f8fd83
SDK authorization filter. ( #26468 )
...
* SDK authorization filter.
3 years ago
Mark D. Roth
c9149526a6
fix retry handling of callbacks for pending batches ( #26803 )
...
* fix retry handling of callbacks for pending batches
* avoid scheduling the same callback twice
* fix some trace messages
* don't avoid starting recv_initial_metadata or recv_message due to recv_trailing_metadata already being started internally
* avoid restarting recv_trailing_metadata after commit if we've already started it internally
3 years ago
Mark D. Roth
d19802d42c
fix retry cancellation when a batch fails on call attempt ( #26789 )
...
* fix retry cancellation when a batch fails on call attempt
* fix clang-tidy
* fix client channel to pass down batches even after cancellation
3 years ago
Mark D. Roth
1f8aaf0e6a
fix handling of retry perAttemptRecvTimeout exceeded on last attempt ( #26737 )
...
* fix handling of retry perAttemptRecvTimeout exceeded on last attempt
* fix clang-tidy
3 years ago
Mark D. Roth
7172b00a96
Add perAttemptRecvTimeout to retryPolicy ( #26540 )
...
* add perAttemptTimeout to retry policy
* more WIP
* set deadline
* don't set deadline for perAttemptTimeout, do cancel on all recv ops
* finished functionality, maybe
* add test
* minor cleanups
* fix service config parsing and add missing tests
* remove unnecessary TODO
* clang-format
4 years ago
Mark D. Roth
62bfefae17
fix retry code to properly propagate recv_trailing_metadata_ready error ( #26485 )
...
* fix retry code to properly propagate recv_trailing_metadata_ready error
* fix build
4 years ago
Mark D. Roth
1e2f19b286
fix retry code to handle failed send ops ( #26418 )
...
* optimize retry per-call-attempt memory usage
* fix retry code to handle failed send ops
* clang-format
* fix memory leak
* clang-format
* fix proxy tests
* fix race condition in test
4 years ago
Mark D. Roth
6a014496b7
add test for exceeding retry buffer size during backoff delay ( #26384 )
...
* add test for exceeding retry buffer size during backoff delay
* clang-format
4 years ago
Mark D. Roth
d017ce5f25
Cancel retry timer on call cancellation ( #25890 )
4 years ago
Mark D. Roth
21e25a03d0
Don't retry when LB policy drops the call ( #25846 )
4 years ago
yang-g
c1df3bcbcf
Do not crash if server filter fails at ChannelData::Init
4 years ago
Yash Tibrewal
4331328fc2
Don't consider receiving non-OK status as an error for HTTP2
4 years ago
Yash Tibrewal
2723a1bae6
Add a new type of error, GRPC_ERROR_EOS for failing writes when end of stream has been received
5 years ago
Yash Tibrewal
2cdab491a3
Cleanup
5 years ago
Yash Tibrewal
c6fa7eefb9
testing with locks in ws
...
Remove no_logging and add missing mu locks
5 years ago
Prashant Jaikumar
1ac1ab7396
Flaky network test enhancements and cleanups
...
- Parameterized flaky_network_test to run with different packet sizes and
credentials.
- Cleanup debugger_macros
Parametrize flaky_network_test to run with different packet sizes and
credentials.
6 years ago
Mark D. Roth
a04b0646de
Don't use a separate call context for subchannel calls.
6 years ago
Prashant Jaikumar
95965f71d3
Remove network_status_tracker
...
Remove network_status_tracker and its unit test as it does nothing. We
can add tests for network status change in another commit.
6 years ago
Juanli Shen
f5f1d57d7a
Add load reporting filter
7 years ago
ncteisen
b8a52e0cf3
Add new end2end test for channelz
7 years ago
ncteisen
a94896ffea
Add no_error_on_hotpath test
7 years ago
Mark D. Roth
de077acf5d
Fix retry code handling of internally triggered recv_trailing_metadata.
7 years ago
David Garcia Quintas
861363d618
added call_host_override test
7 years ago
Mark D. Roth
718c8341ca
Retry support.
7 years ago
Ken Payson
b353297b43
Revert "Revert "Set error status correctly on server side""
...
This reverts commit 951f84aea0
.
7 years ago
David G. Quintas
951f84aea0
Revert "Set error status correctly on server side"
7 years ago
Ken Payson
6535cfd140
Set error status correctly on server side
7 years ago
Yash Tibrewal
1b4ab01f79
No Clang on end2end generated files
7 years ago
Yash Tibrewal
34a57d0346
rename all test core files to cc and a lot of C++ style conversions
7 years ago
Muxi Yan
a390072c72
generate project
7 years ago
Muxi Yan
44a46ad695
generate_project and clang_format
7 years ago
Muxi Yan
219d9f52de
generate_project
7 years ago
Muxi Yan
4078771049
generate projects
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
Yash Tibrewal
f7350ea6b7
Adding connect auth feature. Proxy-Authorization header is being inserted when user creds are present in uri
8 years ago
Muxi Yan
59827dd739
generate project
8 years ago
Muxi Yan
d19c112db0
Add test
8 years ago
Jan Tattermusch
7897ae9308
auto-fix most of licenses
8 years ago
Muxi Yan
29ff4665a8
Revert "Revert "Implement Server Backward Compatibility""
8 years ago
Nicolas Noble
7edcce2147
Revert "Implement Server Backward Compatibility"
8 years ago
Muxi Yan
bf5a5f92be
Add a separate test case for workaround_cronet_compression
8 years ago
Yuchen Zeng
af5c505fc1
Add bad_ping test, fix ping test
8 years ago
Yuchen Zeng
b2caafc911
Add max_connection_idle test
8 years ago
Yuchen Zeng
22321fc7e5
Add max_connection_age end2end test
8 years ago
Yuchen Zeng
990d9fe146
Client-side keepalive ping
...
Based on soltanmm-google's #9114
8 years ago
Craig Tiller
61eb40ce56
Put files in a better place
8 years ago
Craig Tiller
8b1d59cafa
Add some debug utilities
...
This PR adds a set of debug helpers that are intended for calling only from gdb. They cross abstraction boundaries and allow quickly accessing one thing from another thing.
I expect to grow this library significantly over time to aid debugging tricky problems.
8 years ago
Muxi Yan
dc739bd659
Remove packet coalescing testing on chttp2
8 years ago
Craig Tiller
2ef5a647bf
Add a test of finishing buffering with EOS
8 years ago