Title: SNICallback doesn't appear to work with `tls.createSecurePair()` · Issue #4878 · nodejs/node · GitHub
Open Graph Title: SNICallback doesn't appear to work with `tls.createSecurePair()` · Issue #4878 · nodejs/node
X Title: SNICallback doesn't appear to work with `tls.createSecurePair()` · Issue #4878 · nodejs/node
Description: Test case: https://gist.github.com/adammw/cf4327506d4293e69014 Testing hitting the server with cURL: curl -v --resolve www.example.com:4443:127.0.0.1 https://www.example.com:4443/ Docs say that there should be two arguments passed to SNI...
Open Graph Description: Test case: https://gist.github.com/adammw/cf4327506d4293e69014 Testing hitting the server with cURL: curl -v --resolve www.example.com:4443:127.0.0.1 https://www.example.com:4443/ Docs say that the...
X Description: Test case: https://gist.github.com/adammw/cf4327506d4293e69014 Testing hitting the server with cURL: curl -v --resolve www.example.com:4443:127.0.0.1 https://www.example.com:4443/ Docs say that the...
Opengraph URL: https://github.com/nodejs/node/issues/4878
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"SNICallback doesn't appear to work with `tls.createSecurePair()`","articleBody":"Test case: https://gist.github.com/adammw/cf4327506d4293e69014\n\nTesting hitting the server with cURL:\n\n```\ncurl -v --resolve www.example.com:4443:127.0.0.1 https://www.example.com:4443/\n```\n\nDocs say that there should be two arguments passed to SNICallback, the servername and the callback to call with the secure context. The second argument doesn't appear to be passed through when the TLS connection is created as a stream with tls.createSecurePair().\n\nI get the error:\n\n```\nTypeError: cb is not a function\n at Object.tls.createSecurePair.SNICallback [as onselect]\n```\n\nI note that when removing the callback argument I get an OpenSSL error in my terminal:\n\n```\nError: 140735169483536:error:1408A0C1:SSL routines:ssl3_get_client_hello:no shared cipher:../deps/openssl/openssl/ssl/s3_srvr.c:1411:\n```\n\nPotentially related PR: https://github.com/nodejs/node/pull/2441 /cc @socketpair\n","author":{"url":"https://github.com/adammw","@type":"Person","name":"adammw"},"datePublished":"2016-01-26T11:44:48.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":13},"url":"https://github.com/4878/node/issues/4878"}
| 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:96080951-1190-1e97-d87f-cf63d46e6f50 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B130:3C1583:D74991:DC66D7:6A4DC14A |
| html-safe-nonce | a896e1c7c0a06dc1adbfe6889c094f72d6bcb17dfe65d6df11b0c5935b20ff82 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMTMwOjNDMTU4MzpENzQ5OTE6REM2NkQ3OjZBNERDMTRBIiwidmlzaXRvcl9pZCI6Ijc4MjE4MDYzNTE3NTU4ODY5MjIiLCJyZWdpb25fZWRnZSI6InNlYSIsInJlZ2lvbl9yZW5kZXIiOiJzZWEifQ== |
| visitor-hmac | b75c76b9a3d1151aa1d6bdbf3cf398ba230cd4c7eaea0950526c821968d5e0c3 |
| hovercard-subject-tag | issue:128797632 |
| 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/4878/issue_layout |
| twitter:image | https://opengraph.githubassets.com/f2156be2c39c4e8bb8c28827a5729094da7456ab7b21378f60bf0c4a6daba6f2/nodejs/node/issues/4878 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f2156be2c39c4e8bb8c28827a5729094da7456ab7b21378f60bf0c4a6daba6f2/nodejs/node/issues/4878 |
| og:image:alt | Test case: https://gist.github.com/adammw/cf4327506d4293e69014 Testing hitting the server with cURL: curl -v --resolve www.example.com:4443:127.0.0.1 https://www.example.com:4443/ Docs say that the... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | adammw |
| hostname | github.com |
| expected-hostname | github.com |
| None | 06b8a6144231bf3a234f1c2e9993861e07ce98a905912b114aa386c2d7e84b33 |
| 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 | 1d344bdb7547fe6bca17a59bb2b8aac3dc9532a0 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width