Title: AsyncWrap: HTTP has no handle context · Issue #3241 · nodejs/node · GitHub
Open Graph Title: AsyncWrap: HTTP has no handle context · Issue #3241 · nodejs/node
X Title: AsyncWrap: HTTP has no handle context · Issue #3241 · nodejs/node
Description: When creating a simple HTTPserver and connecting to it one looses the handle context. Meaning there is no way to know what handle or callback created the new handle. 'use strict'; const http = require('http'); const server = http.createS...
Open Graph Description: When creating a simple HTTPserver and connecting to it one looses the handle context. Meaning there is no way to know what handle or callback created the new handle. 'use strict'; const http = requ...
X Description: When creating a simple HTTPserver and connecting to it one looses the handle context. Meaning there is no way to know what handle or callback created the new handle. 'use strict'; const htt...
Opengraph URL: https://github.com/nodejs/node/issues/3241
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"AsyncWrap: HTTP has no handle context","articleBody":"When creating a simple HTTPserver and connecting to it one looses the handle context. Meaning there is no way to know what handle or callback created the new handle.\n\n``` javascript\n'use strict';\nconst http = require('http');\nconst server = http.createServer(function (req, res) {\n res.end('hallo world');\n});\n\nserver.listen(0, 'localhost', function () {\n const addr = server.address();\n const req = http.get(`http://${addr.address}:${addr.port}`, function (res) {\n res.resume();\n res.once('end', server.close.bind(server));\n });\n});\n```\n\nNote that this issues exists even after applying https://github.com/nodejs/node/pull/3216 (adds parent to init hook)\n\n**complete test case**: https://gist.github.com/AndreasMadsen/f56bbdbcd18a2c6358f3\n**dprof dump:** http://bl.ocks.org/AndreasMadsen/raw/6c460eb0e7d6eeadb31a/\n\n\n\n/cc @trevnorris \n","author":{"url":"https://github.com/AndreasMadsen","@type":"Person","name":"AndreasMadsen"},"datePublished":"2015-10-07T18:22:09.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/3241/node/issues/3241"}
| 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:04f011ca-cd9b-f6bb-042e-eadebcd37838 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9818:2F874:2B5F3C:3E4BD1:6A4E69B9 |
| html-safe-nonce | 3de8d2d40fc7da37ba3450cd2c2344423fedd39f3f0257780b2ba5bc27931f1f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5ODE4OjJGODc0OjJCNUYzQzozRTRCRDE6NkE0RTY5QjkiLCJ2aXNpdG9yX2lkIjoiODQxNzg0MjcxNDU5MDk5NjkyMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 2a4b8598bbdd69ea2b7120e7048d9af423447deea533f99748cae602e4a9627f |
| hovercard-subject-tag | issue:110286379 |
| 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/3241/issue_layout |
| twitter:image | https://opengraph.githubassets.com/fdb0df985bd6cfa7f4527e9e8b4b5a5b617f4f182d1cb4bebd9347cf7fb4807f/nodejs/node/issues/3241 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/fdb0df985bd6cfa7f4527e9e8b4b5a5b617f4f182d1cb4bebd9347cf7fb4807f/nodejs/node/issues/3241 |
| og:image:alt | When creating a simple HTTPserver and connecting to it one looses the handle context. Meaning there is no way to know what handle or callback created the new handle. 'use strict'; const http = requ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | AndreasMadsen |
| hostname | github.com |
| expected-hostname | github.com |
| None | 41b6ab3ba6d20a71766ac245b5a4a94c6fc672a9cd4da7d44c1b33ab8bf6a21c |
| 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 | e6a744804e8e70f97b4d5a18a94dcc63db22f97a |
| ui-target | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width