certbot/acme/tests
alexzorin 4ca86d9482
acme: socket timeout for HTTP standalone servers (#7388)
* acme: socket timeout for HTTP standalone servers

Adds a default 30 second timeout to the StreamRequestHandler for clients
connecting to standalone HTTP-01 servers. This should prevent most cases
of an idle client connection from preventing the standalone server from
shutting down.

Fixes #7386

* use idiomatic kwargs default value

* move HTTP01Server lower to fix mypy forward ref.

* fix test crash on macOS due to socket double-close

* maybe its not an OSError?

* disable coverage check on useless branch
2020-04-01 23:53:58 +02:00
..
testdata Reimplement tls-alpn-01 in acme (#6886) 2020-03-12 13:53:19 -07:00
challenges_test.py Fix acme compliance to RFC 8555 (#7176) 2020-03-13 09:56:35 -07:00
client_test.py Cleanup more pylint issues (#7848) 2020-03-16 09:43:48 -07:00
crypto_util_test.py Cleanup more pylint issues (#7848) 2020-03-16 09:43:48 -07:00
errors_test.py Refactor tests out of packaged module for acme plugin (#7600) 2019-11-26 15:25:41 -08:00
fields_test.py Refactor tests out of packaged module for acme plugin (#7600) 2019-11-26 15:25:41 -08:00
jose_test.py Lint certbot code on Python 3, and update Pylint to the latest version (#7551) 2019-12-10 14:12:50 -08:00
jws_test.py Reorganize imports (#7616) 2019-12-09 15:50:20 -05:00
magic_typing_test.py Cleanup more pylint issues (#7848) 2020-03-16 09:43:48 -07:00
messages_test.py Cleanup more pylint issues (#7848) 2020-03-16 09:43:48 -07:00
standalone_test.py acme: socket timeout for HTTP standalone servers (#7388) 2020-04-01 23:53:58 +02:00
test_util.py Lint certbot code on Python 3, and update Pylint to the latest version (#7551) 2019-12-10 14:12:50 -08:00
util_test.py Refactor tests out of packaged module for acme plugin (#7600) 2019-11-26 15:25:41 -08:00