botocore icon indicating copy to clipboard operation
botocore copied to clipboard

TCP Keep-Alive Environment Variable Support

Open adev-code opened this issue 2 months ago • 4 comments

Currently, TCP Keep-Alive can be configured using Config object and ~/.aws/config file as per Configuration Doc. This PR adds environment variable support via BOTOCORE_TCP_KEEPALIVE.

Example Usage: export BOTOCORE_TCP_KEEPALIVE=True or true or os.environ['BOTOCORE_TCP_KEEPALIVE'] = 'True' or 'true'

Addresses: https://github.com/boto/botocore/pull/2268

adev-code avatar Oct 14 '25 23:10 adev-code

Tests and Configuration Documentation edit will be added.

adev-code avatar Oct 14 '25 23:10 adev-code

:warning: Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

:white_check_mark: All modified and coverable lines are covered by tests. :white_check_mark: Project coverage is 93.15%. Comparing base (8121342) to head (98e2bd8). :warning: Report is 41 commits behind head on develop. :exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #3579      +/-   ##
===========================================
- Coverage    93.17%   93.15%   -0.02%     
===========================================
  Files           68       68              
  Lines        15411    15411              
===========================================
- Hits         14359    14356       -3     
- Misses        1052     1055       +3     

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

:rocket: New features to boost your workflow:
  • :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

codecov-commenter avatar Oct 15 '25 21:10 codecov-commenter

Created a PR for Doc change to add BOTOCORE_TCP_KEEPALIVE

https://github.com/boto/boto3/pull/4642

adev-code avatar Oct 16 '25 16:10 adev-code

Changelog added

adev-code avatar Oct 16 '25 16:10 adev-code