{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/hhvm/issues/2146","labels_url":"https://api.github.com/repos/facebook/hhvm/issues/2146/labels{/name}","comments_url":"https://api.github.com/repos/facebook/hhvm/issues/2146/comments","events_url":"https://api.github.com/repos/facebook/hhvm/issues/2146/events","html_url":"https://github.com/facebook/hhvm/issues/2146","id":29959981,"number":2146,"title":"Missing support for \"flags\" in stream_socket_client","user":{"login":"bzikarsky","id":225374,"avatar_url":"https://avatars.githubusercontent.com/u/225374?v=3","gravatar_id":"","url":"https://api.github.com/users/bzikarsky","html_url":"https://github.com/bzikarsky","followers_url":"https://api.github.com/users/bzikarsky/followers","following_url":"https://api.github.com/users/bzikarsky/following{/other_user}","gists_url":"https://api.github.com/users/bzikarsky/gists{/gist_id}","starred_url":"https://api.github.com/users/bzikarsky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bzikarsky/subscriptions","organizations_url":"https://api.github.com/users/bzikarsky/orgs","repos_url":"https://api.github.com/users/bzikarsky/repos","events_url":"https://api.github.com/users/bzikarsky/events{/privacy}","received_events_url":"https://api.github.com/users/bzikarsky/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/facebook/hhvm/labels/low-pri","name":"low-pri","color":"fef2c0"},{"url":"https://api.github.com/repos/facebook/hhvm/labels/php5%20incompatibility","name":"php5 incompatibility","color":"837ced"}],"state":"open","locked":false,"assignee":{"login":"JoelMarcey","id":3757713,"avatar_url":"https://avatars.githubusercontent.com/u/3757713?v=3","gravatar_id":"","url":"https://api.github.com/users/JoelMarcey","html_url":"https://github.com/JoelMarcey","followers_url":"https://api.github.com/users/JoelMarcey/followers","following_url":"https://api.github.com/users/JoelMarcey/following{/other_user}","gists_url":"https://api.github.com/users/JoelMarcey/gists{/gist_id}","starred_url":"https://api.github.com/users/JoelMarcey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JoelMarcey/subscriptions","organizations_url":"https://api.github.com/users/JoelMarcey/orgs","repos_url":"https://api.github.com/users/JoelMarcey/repos","events_url":"https://api.github.com/users/JoelMarcey/events{/privacy}","received_events_url":"https://api.github.com/users/JoelMarcey/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2014-03-22T12:16:10Z","updated_at":"2015-01-31T06:46:20Z","closed_at":null,"body":"The current implementation of `stream_socket_client` ignores the `$flags` parameter: https://github.com/facebook/hhvm/blob/HHVM-2.4/hphp/runtime/ext/ext_stream.cpp#L452-L460\r\n\r\nThe constants `STREAM_CLIENT_CONNECT`, `STREAM_CLIENT_ASYNC_CONNECT` and  `STREAM_CLIENT_PERSISTENT` are available, but therefore currently useless."},"comment":{"url":"https://api.github.com/repos/facebook/hhvm/issues/comments/72307306","html_url":"https://github.com/facebook/hhvm/issues/2146#issuecomment-72307306","issue_url":"https://api.github.com/repos/facebook/hhvm/issues/2146","id":72307306,"user":{"login":"jrobeson","id":56908,"avatar_url":"https://avatars.githubusercontent.com/u/56908?v=3","gravatar_id":"","url":"https://api.github.com/users/jrobeson","html_url":"https://github.com/jrobeson","followers_url":"https://api.github.com/users/jrobeson/followers","following_url":"https://api.github.com/users/jrobeson/following{/other_user}","gists_url":"https://api.github.com/users/jrobeson/gists{/gist_id}","starred_url":"https://api.github.com/users/jrobeson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrobeson/subscriptions","organizations_url":"https://api.github.com/users/jrobeson/orgs","repos_url":"https://api.github.com/users/jrobeson/repos","events_url":"https://api.github.com/users/jrobeson/events{/privacy}","received_events_url":"https://api.github.com/users/jrobeson/received_events","type":"User","site_admin":false},"created_at":"2015-01-31T06:46:20Z","updated_at":"2015-01-31T06:46:20Z","body":"here is a link to (what i think is) the current work on this issue: https://reviews.facebook.net/D30147"}}