aws-sdk-rust
aws-sdk-rust copied to clipboard
Enabling TCP keepalive
Describe the feature
Node.js and Python SDKs allow you to configure TCP keepalive. It would be great if the Rust SDK also offered an easy way to set it.
Use Case
https://docs.aws.amazon.com/lambda/latest/dg/best-practices.html
Proposed Solution
The default-client uses Hyper, so it’s possible to configure TCP keepalive there. Legacy 0.14 is also supported.
https://github.com/hyperium/hyper/blob/d77c2599bc023b258b90a17f5b633c8b7b0cbd4b/src/client/conn/http2.rs#L345
https://github.com/hyperium/hyper/blob/72ebcffb7d82cda15aa74507b2cc522ca2a7a94d/tests/client.rs#L3059
Other Information
No response
Acknowledgements
- [ ] I may be able to implement this feature request
- [ ] This feature might incur a breaking change
A note for the community
Community Note
- Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
- Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
- If you are interested in working on this issue, please leave a comment