[3.7] bpo-33654: Support BufferedProtocol in set_protocol() and start_tls() (GH-7130) by miss-islington · Pull Request #7164 · python/cpython

Conversation

@miss-islington

In this commit:

  • Support BufferedProtocol in set_protocol() and start_tls()
  • Fix proactor to cancel readers reliably
  • Update tests to be compatible with OpenSSL 1.1.1
  • Clarify BufferedProtocol docs
  • Bump TLS tests timeouts to 60 seconds; eliminate possible race from start_serving
  • Rewrite test_start_tls_server_1
    (cherry picked from commit dbf1022)

Co-authored-by: Yury Selivanov yury@magic.io

https://bugs.python.org/issue33654

…pythonGH-7130)

In this commit:

* Support BufferedProtocol in set_protocol() and start_tls()
* Fix proactor to cancel readers reliably
* Update tests to be compatible with OpenSSL 1.1.1
* Clarify BufferedProtocol docs
* Bump TLS tests timeouts to 60 seconds; eliminate possible race from start_serving
* Rewrite test_start_tls_server_1
(cherry picked from commit dbf1022)

Co-authored-by: Yury Selivanov <yury@magic.io>

1st1

1st1 approved these changes May 28, 2018

@miss-islington

@1st1: Backport status check is done, and it's a success ✅ .

@miss-islington