Title: `request.abort()` still destroys the socket on a successful request · Issue #32851 · nodejs/node · GitHub
Open Graph Title: `request.abort()` still destroys the socket on a successful request · Issue #32851 · nodejs/node
X Title: `request.abort()` still destroys the socket on a successful request · Issue #32851 · nodejs/node
Description: Version: v13.12.0 Platform: Linux solus 5.5.11-151.current #1 SMP PREEMPT Tue Mar 24 18:06:46 UTC 2020 x86_64 GNU/Linux Subsystem: http What steps will reproduce the bug? $ node Welcome to Node.js v13.12.0. Type ".help" for more informat...
Open Graph Description: Version: v13.12.0 Platform: Linux solus 5.5.11-151.current #1 SMP PREEMPT Tue Mar 24 18:06:46 UTC 2020 x86_64 GNU/Linux Subsystem: http What steps will reproduce the bug? $ node Welcome to Node.js ...
X Description: Version: v13.12.0 Platform: Linux solus 5.5.11-151.current #1 SMP PREEMPT Tue Mar 24 18:06:46 UTC 2020 x86_64 GNU/Linux Subsystem: http What steps will reproduce the bug? $ node Welcome to Node.js ...
Opengraph URL: https://github.com/nodejs/node/issues/32851
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"`request.abort()` still destroys the socket on a successful request","articleBody":"* **Version**: v13.12.0\r\n* **Platform**: `Linux solus 5.5.11-151.current #1 SMP PREEMPT Tue Mar 24 18:06:46 UTC 2020 x86_64 GNU/Linux`\r\n* **Subsystem**: http\r\n\r\n### What steps will reproduce the bug?\r\n\r\n```\r\n$ node\r\nWelcome to Node.js v13.12.0.\r\nType \".help\" for more information.\r\n> z = https.get('https://google.com', {agent: new https.Agent({keepAlive: true})})\r\nClientRequest { ... }\r\n> z._ended\r\ntrue\r\n> z.socket.destroyed\r\nfalse\r\n> z.abort()\r\nundefined\r\n> z.socket.destroyed\r\ntrue\r\n> \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\nThe socket should be still alive.\r\n\r\n### What do you see instead?\r\n\r\nThe socket is destroyed.","author":{"url":"https://github.com/szmarczak","@type":"Person","name":"szmarczak"},"datePublished":"2020-04-14T17:45:06Z","url":"https://github.com/nodejs/node/issues/32851"}
| 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:39ec62d1-1d28-6502-9623-ef9d916e356c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | EA38:119BBD:61B5CC:7EA408:6AED2BC9 |
| html-safe-nonce | 5ea66ba8e8eab905ace5512fc2d409781753c24fff670406cbbfa099dbefd775 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQTM4OjExOUJCRDo2MUI1Q0M6N0VBNDA4OjZBRUQyQkM5IiwidmlzaXRvcl9pZCI6IjgyMjAyMDE1MTgwNzM5ODE4OTciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 1f29cc76544d077f2ab7a8432b36a5f51f0aeceafa5c10a817ce150e7d6c59d5 |
| hovercard-subject-tag | issue:599746927 |
| 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/32851/issue_layout |
| twitter:image | https://opengraph.githubassets.com/e2c80981dc12f043f8f01603016fe482954730488f6019562d0b0065013d6796/nodejs/node/issues/32851 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e2c80981dc12f043f8f01603016fe482954730488f6019562d0b0065013d6796/nodejs/node/issues/32851 |
| og:image:alt | Version: v13.12.0 Platform: Linux solus 5.5.11-151.current #1 SMP PREEMPT Tue Mar 24 18:06:46 UTC 2020 x86_64 GNU/Linux Subsystem: http What steps will reproduce the bug? $ node Welcome to Node.js ... |
| 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