Title: `request.destroyed` is `undefined` after `request.destroy()` · Issue #33336 · nodejs/node · GitHub
Open Graph Title: `request.destroyed` is `undefined` after `request.destroy()` · Issue #33336 · nodejs/node
X Title: `request.destroyed` is `undefined` after `request.destroy()` · Issue #33336 · nodejs/node
Description: Version: v10.20.1 v12.16.3 v13.13.0 Platform: Linux solus 5.6.4-152.current #1 SMP PREEMPT Mon Apr 20 03:18:11 UTC 2020 x86_64 GNU/Linux Subsystem: stream What steps will reproduce the bug? const https = require('https'); const request =...
Open Graph Description: Version: v10.20.1 v12.16.3 v13.13.0 Platform: Linux solus 5.6.4-152.current #1 SMP PREEMPT Mon Apr 20 03:18:11 UTC 2020 x86_64 GNU/Linux Subsystem: stream What steps will reproduce the bug? const h...
X Description: Version: v10.20.1 v12.16.3 v13.13.0 Platform: Linux solus 5.6.4-152.current #1 SMP PREEMPT Mon Apr 20 03:18:11 UTC 2020 x86_64 GNU/Linux Subsystem: stream What steps will reproduce the bug? const h...
Opengraph URL: https://github.com/nodejs/node/issues/33336
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"`request.destroyed` is `undefined` after `request.destroy()`","articleBody":"* **Version**: v10.20.1 v12.16.3 v13.13.0\r\n* **Platform**: Linux solus 5.6.4-152.current #1 SMP PREEMPT Mon Apr 20 03:18:11 UTC 2020 x86_64 GNU/Linux\r\n* **Subsystem**: stream\r\n\r\n### What steps will reproduce the bug?\r\n\r\n```js\r\nconst https = require('https');\r\n\r\nconst request = https.get('https://example.com');\r\nrequest.once('error', () => {});\r\n\r\nrequest.destroy();\r\nconsole.log(request.destroyed);\r\n```\r\n\r\n### How often does it reproduce? Is there a required condition?\r\n\r\nAlways.\r\n\r\n### What is the expected behavior?\r\n\r\n```\r\ntrue\r\n```\r\n\r\n### What do you see instead?\r\n\r\n```\r\nundefined\r\n```\r\n\r\n### Additional information\r\n\r\nThis is fixed starting Node.js 14.0.0","author":{"url":"https://github.com/szmarczak","@type":"Person","name":"szmarczak"},"datePublished":"2020-05-10T10:36:34Z","url":"https://github.com/nodejs/node/issues/33336"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf |
| 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:550c5fa2-118f-7d80-e85a-6ab79b1c35d3 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8A34:12AE65:552D6B:6E55BA:6AED27D4 |
| html-safe-nonce | d09423c493c1e72e5e8ca5743662ce199cf3c9c34e09bca4824b376302ecf511 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QTM0OjEyQUU2NTo1NTJENkI6NkU1NUJBOjZBRUQyN0Q0IiwidmlzaXRvcl9pZCI6Ijg5MDczOTAzMTExMzQ0NzIxNDgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | e796bed61f48ad5faaa8eaff6828b00f88763d0de18e3c3b97ea4b123642a59e |
| hovercard-subject-tag | issue:615363224 |
| 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/nodejs/node/33336/issue_layout |
| twitter:image | https://opengraph.githubassets.com/6c999f1e37003541f802b941a1bbd0a7284740967949291d6184b396c9aff372/nodejs/node/issues/33336 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6c999f1e37003541f802b941a1bbd0a7284740967949291d6184b396c9aff372/nodejs/node/issues/33336 |
| og:image:alt | Version: v10.20.1 v12.16.3 v13.13.0 Platform: Linux solus 5.6.4-152.current #1 SMP PREEMPT Mon Apr 20 03:18:11 UTC 2020 x86_64 GNU/Linux Subsystem: stream What steps will reproduce the bug? const h... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | szmarczak |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9d95365dda0576efe9b71f45807595e396bd0ca9286fba5367a05048e6ddf8f2 |
| turbo-cache-control | no-preview |
| go-import | github.com/nodejs/node git https://github.com/nodejs/node.git |
| octolytics-dimension-user_id | 9950313 |
| octolytics-dimension-user_login | nodejs |
| octolytics-dimension-repository_id | 27193779 |
| octolytics-dimension-repository_nwo | nodejs/node |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 27193779 |
| octolytics-dimension-repository_network_root_nwo | nodejs/node |
| 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 | 98b41fa4b5635ceb45a4c54320fced73817ff290 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width