Title: `test_ssl.test_wrong_cert_tls13` should accept "Broken pipe" as valid error · Issue #117483 · python/cpython · GitHub
Open Graph Title: `test_ssl.test_wrong_cert_tls13` should accept "Broken pipe" as valid error · Issue #117483 · python/cpython
X Title: `test_ssl.test_wrong_cert_tls13` should accept "Broken pipe" as valid error · Issue #117483 · python/cpython
Description: The test_wrong_cert_tls13 unit tests checks the behavior when the server rejects the client's ceritficate. On macOS, this can sometimes lead to a "Broken pipe" on the client instead of a "Connection reset by peer" when the connection is ...
Open Graph Description: The test_wrong_cert_tls13 unit tests checks the behavior when the server rejects the client's ceritficate. On macOS, this can sometimes lead to a "Broken pipe" on the client instead of a "Connectio...
X Description: The test_wrong_cert_tls13 unit tests checks the behavior when the server rejects the client's ceritficate. On macOS, this can sometimes lead to a "Broken pipe" on the client instead o...
Opengraph URL: https://github.com/python/cpython/issues/117483
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"`test_ssl.test_wrong_cert_tls13` should accept \"Broken pipe\" as valid error","articleBody":"The `test_wrong_cert_tls13` unit tests checks the behavior when the server rejects the client's ceritficate. On macOS, this can sometimes lead to a \"Broken pipe\" on the client instead of a \"Connection reset by peer\" when the connection is closed during the `s.write()` call.\r\n\r\nThis happens frequently in the free-threaded build, but can also be reproduced on the default (with GIL) build by adding a short `time.sleep(0.1)` immediately before the `s.write(b'data')`.\r\n\r\nhttps://github.com/python/cpython/blob/8eda146e87d5531c9d2bc62fd1fea3bd3163f9b1/Lib/test/test_ssl.py#L3153-L3178\r\n\r\n\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-117484\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/colesbury","@type":"Person","name":"colesbury"},"datePublished":"2024-04-02T20:00:28.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/117483/cpython/issues/117483"}
| 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:4e34f98e-7bbc-961c-1394-0dc3769ac5b7 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8552:1E4FEF:147BD2:1A0B58:696AD713 |
| html-safe-nonce | a20564922de6d4ccd175936f7fe478878cb1a59295fd8a00acdb6a632c5fdff8 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NTUyOjFFNEZFRjoxNDdCRDI6MUEwQjU4OjY5NkFENzEzIiwidmlzaXRvcl9pZCI6Ijg1MzI2NTM2MjQyNTkxNzIxMTUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 84ccec7f1c358cd9a0ee94812d55be2ec854668f1b85b777aa122c5ac907c146 |
| hovercard-subject-tag | issue:2221349165 |
| 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/117483/issue_layout |
| twitter:image | https://opengraph.githubassets.com/1dc88b1ea4b3a1634e86051566ed555d54c5229b3070ca85e829356fa8b790d5/python/cpython/issues/117483 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1dc88b1ea4b3a1634e86051566ed555d54c5229b3070ca85e829356fa8b790d5/python/cpython/issues/117483 |
| og:image:alt | The test_wrong_cert_tls13 unit tests checks the behavior when the server rejects the client's ceritficate. On macOS, this can sometimes lead to a "Broken pipe" on the client instead of a "Connectio... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | colesbury |
| hostname | github.com |
| expected-hostname | github.com |
| None | c785f4ce187e9e7331257791b36ddee01625bb8e292a9b4fe2c16d4c006abf5d |
| 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 | c718a376fcf780eb22089171adb84a543f660bf7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width