-
Notifications
You must be signed in to change notification settings - Fork 49
request idle timeout #456
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
request idle timeout #456
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #456 +/- ##
==========================================
- Coverage 79.48% 79.40% -0.09%
==========================================
Files 27 27
Lines 11511 11546 +35
==========================================
+ Hits 9150 9168 +18
- Misses 2361 2378 +17
☔ View full report in Codecov by Sentry. |
Co-authored-by: Michael Graeb <graebm@amazon.com>
include/aws/http/connection.h
Outdated
| * This can be overridden per-request by aws_http_make_request_options.idle_request_timeout. | ||
| * TODO: Only supported in HTTP/1.1 now, support it in HTTP/2 | ||
| */ | ||
| uint64_t idle_timeout_ms; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe we just call this "response timeout" all the way down
| * This can be overridden per-request by aws_http_make_request_options.idle_request_timeout. | |
| * TODO: Only supported in HTTP/1.1 now, support it in HTTP/2 | |
| */ | |
| uint64_t idle_timeout_ms; | |
| * This can be overridden per-request by aws_http_make_request_options.response_timeout_ms. | |
| * TODO: Only supported in HTTP/1.1 now, support it in HTTP/2 | |
| */ | |
| uint64_t response_timeout_ms; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
discussed, sold on response_first_byte_timeout_ms
Co-authored-by: Michael Graeb <graebm@amazon.com>
Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.