Title: ssl module with OpenSSL 3.0 does not throw SSLEOFError on unclean shutdown · Issue #95494 · python/cpython · GitHub
Open Graph Title: ssl module with OpenSSL 3.0 does not throw SSLEOFError on unclean shutdown · Issue #95494 · python/cpython
X Title: ssl module with OpenSSL 3.0 does not throw SSLEOFError on unclean shutdown · Issue #95494 · python/cpython
Description: Patch incoming. Filing this so there's a bug to attach the PR to. GH-25309 enabled SSL_OP_IGNORE_UNEXPECTED_EOF by default, with a comment that it restores OpenSSL 1.1.1 behavior, but this wasn't quite right. That option causes OpenSSL t...
Open Graph Description: Patch incoming. Filing this so there's a bug to attach the PR to. GH-25309 enabled SSL_OP_IGNORE_UNEXPECTED_EOF by default, with a comment that it restores OpenSSL 1.1.1 behavior, but this wasn't q...
X Description: Patch incoming. Filing this so there's a bug to attach the PR to. GH-25309 enabled SSL_OP_IGNORE_UNEXPECTED_EOF by default, with a comment that it restores OpenSSL 1.1.1 behavior, but this wasn...
Opengraph URL: https://github.com/python/cpython/issues/95494
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"ssl module with OpenSSL 3.0 does not throw SSLEOFError on unclean shutdown","articleBody":"Patch incoming. Filing this so there's a bug to attach the PR to.\r\n\r\nGH-25309 enabled SSL_OP_IGNORE_UNEXPECTED_EOF by default, with a comment that it restores OpenSSL 1.1.1 behavior, but this wasn't quite right. That option causes OpenSSL to treat transport EOF as the same as close_notify (i.e SSL_ERROR_ZERO_RETURN), whereas Python actually has distinct SSLEOFError and SSLZeroReturnError exceptions. (The latter is usually mapped to a zero return from read.) In OpenSSL 1.1.1, the ssl module would raise them for transport EOF and close_notify, respectively. In OpenSSL 3.0, both act like close_notify.\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-103006\n* gh-103007\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/davidben","@type":"Person","name":"davidben"},"datePublished":"2022-07-31T05:37:52.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/95494/cpython/issues/95494"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:c8557b19-7877-ddf1-c9e0-8ef0ae34f9b4 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D312:26177F:701BA1:8FB52D:696B149B |
| html-safe-nonce | d995063b5358e80c89d673b5f875f64b44e7ba3c7e466b36aefffb3efdf8b28f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMzEyOjI2MTc3Rjo3MDFCQTE6OEZCNTJEOjY5NkIxNDlCIiwidmlzaXRvcl9pZCI6Ijg1ODM1ODc1Mjk3NTMzMDIxNzEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 1c06addb16ac9d2f91eea7487839726403696df5a2f0632836eafac28e4ef25f |
| hovercard-subject-tag | issue:1323367934 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/95494/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b0074de4614b77e0aac4935e974aacd8e35acdcfce18fc0cff977b09f4b5a5fd/python/cpython/issues/95494 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b0074de4614b77e0aac4935e974aacd8e35acdcfce18fc0cff977b09f4b5a5fd/python/cpython/issues/95494 |
| og:image:alt | Patch incoming. Filing this so there's a bug to attach the PR to. GH-25309 enabled SSL_OP_IGNORE_UNEXPECTED_EOF by default, with a comment that it restores OpenSSL 1.1.1 behavior, but this wasn't q... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | davidben |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 82560a55c6b2054555076f46e683151ee28a19bc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width