diff --git a/changelog b/changelog index 9a8519f..7539ac0 100644 --- a/changelog +++ b/changelog @@ -2,7 +2,7 @@ ## Fixed -- TBD +- Enable TCP keepalive socket option to fix "Connection reset by peer" problem. https://github.com/psf/requests/issues/4664 ## [3.0.0] - 2024-04-08 diff --git a/requirements.txt b/requirements.txt index bd5d96e..023768a 100644 --- a/requirements.txt +++ b/requirements.txt @@ -3,8 +3,9 @@ arrow>=1.0.0,<2.0.0; python_version >= '3.6' iso8601>=0.1.14 six>=1.11.0 qiniu>=7.3.1 -requests>=2.25.1 -requests-toolbelt>=1.0.0 +requests<=2.31.0 +urllib3<=1.26.18 +requests-toolbelt==1.0.0 Werkzeug>=0.16.0,<2.0.0 secure-cookie>=0.1.0,<1.0.0 gevent>=22.10.2,<23.0.0