Title: [SocketClent] Connector::create() should return a Connection instance and provide getRemoteAddress() · Issue #188 · reactphp/reactphp · GitHub
Open Graph Title: [SocketClent] Connector::create() should return a Connection instance and provide getRemoteAddress() · Issue #188 · reactphp/reactphp
X Title: [SocketClent] Connector::create() should return a Connection instance and provide getRemoteAddress() · Issue #188 · reactphp/reactphp
Description: Connector::create() currently creates a Stream instance with no access to the remote address. When connecting to hostnames instead of IP addresses the target remote address is particularly useful. Instead, it should return a React\Stream...
Open Graph Description: Connector::create() currently creates a Stream instance with no access to the remote address. When connecting to hostnames instead of IP addresses the target remote address is particularly useful. ...
X Description: Connector::create() currently creates a Stream instance with no access to the remote address. When connecting to hostnames instead of IP addresses the target remote address is particularly useful. ...
Opengraph URL: https://github.com/reactphp/reactphp/issues/188
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[SocketClent] Connector::create() should return a Connection instance and provide getRemoteAddress()","articleBody":"`Connector::create()` currently creates a `Stream` instance with no access to the remote address. When connecting to hostnames instead of IP addresses the target remote address is particularly useful.\n\nInstead, it should return a `React\\Stream\\Connection` instance with implements the `ConnectionInterface` in order to provide a `getRemoteAddress()` method.\n\nWhile this change is quite simple, it has a couple of drawbacks:\n- Is it accepted practice to create additional dependencies between react's sub-packages?\n- `Connection` currently uses `stream_socket_recvfrom()` which bypasses stream wrappers (in particular SSL streams won't be decrypted anymore). Maybe this should be handled in a separate ticket anyway? (Also considering bergie/dnode-php#24 here...)\n","author":{"url":"https://github.com/clue","@type":"Person","name":"clue"},"datePublished":"2013-04-23T08:04:58Z","url":"https://github.com/reactphp/reactphp/issues/188"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| 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:1e86a6c6-8a3f-1ce3-1345-fcad4cef793c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8184:27E5CD:847EB3:AD1436:6B00DB26 |
| html-safe-nonce | 62f3944e3c5ecd0b8b40f309828113bd30e9a5db168015f9551d0fd855debd5f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MTg0OjI3RTVDRDo4NDdFQjM6QUQxNDM2OjZCMDBEQjI2IiwidmlzaXRvcl9pZCI6Ijg0MDIxNTQxMDUzMDg1MDI4MjIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | fc32868a49b442a339ac5fd564ddde002530fedcff6af92d69034a4c31d8f3ed |
| hovercard-subject-tag | issue:13523442 |
| 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/reactphp/reactphp/188/issue_layout |
| twitter:image | https://opengraph.githubassets.com/260cd3603b05f66a4824f18176687dfcc13ee37a562f72467e89e15b218b4d16/reactphp/reactphp/issues/188 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/260cd3603b05f66a4824f18176687dfcc13ee37a562f72467e89e15b218b4d16/reactphp/reactphp/issues/188 |
| og:image:alt | Connector::create() currently creates a Stream instance with no access to the remote address. When connecting to hostnames instead of IP addresses the target remote address is particularly useful. ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | clue |
| hostname | github.com |
| expected-hostname | github.com |
| None | a481f62a1e04c9b9bdcb5628230682c66d59006f5b13b080f79cba84a176905b |
| turbo-cache-control | no-preview |
| go-import | github.com/reactphp/reactphp git https://github.com/reactphp/reactphp.git |
| octolytics-dimension-user_id | 1696866 |
| octolytics-dimension-user_login | reactphp |
| octolytics-dimension-repository_id | 4287921 |
| octolytics-dimension-repository_nwo | reactphp/reactphp |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 4287921 |
| octolytics-dimension-repository_network_root_nwo | reactphp/reactphp |
| 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 | 84c8c5cc25e2fb7f2308428458538436baecc6d2 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width