{"action":"closed","issue":{"url":"https://api.github.com/repos/warmcat/libwebsockets/issues/1008","repository_url":"https://api.github.com/repos/warmcat/libwebsockets","labels_url":"https://api.github.com/repos/warmcat/libwebsockets/issues/1008/labels{/name}","comments_url":"https://api.github.com/repos/warmcat/libwebsockets/issues/1008/comments","events_url":"https://api.github.com/repos/warmcat/libwebsockets/issues/1008/events","html_url":"https://github.com/warmcat/libwebsockets/issues/1008","id":253546744,"number":1008,"title":"missing lws_vhost_user","user":{"login":"sejvlond","id":5747824,"avatar_url":"https://avatars1.githubusercontent.com/u/5747824?v=4","gravatar_id":"","url":"https://api.github.com/users/sejvlond","html_url":"https://github.com/sejvlond","followers_url":"https://api.github.com/users/sejvlond/followers","following_url":"https://api.github.com/users/sejvlond/following{/other_user}","gists_url":"https://api.github.com/users/sejvlond/gists{/gist_id}","starred_url":"https://api.github.com/users/sejvlond/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sejvlond/subscriptions","organizations_url":"https://api.github.com/users/sejvlond/orgs","repos_url":"https://api.github.com/users/sejvlond/repos","events_url":"https://api.github.com/users/sejvlond/events{/privacy}","received_events_url":"https://api.github.com/users/sejvlond/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-08-29T06:55:21Z","updated_at":"2017-08-29T07:42:40Z","closed_at":"2017-08-29T07:42:40Z","body":"Hi,\r\nwhen creating context, it is possible to set the void *user. While when creating vhost, the same structure is used (the lws_context_creation_info) but void *user is ignored and there is no way how to obtain in later. Is there a reason? \r\n\r\nI'm creating some C++ wrapper around the libwebsockets for our own purposes and I'm using those void* to point to our wrapper objects, for lws*, lws_protocols*, lws_context* it is possible, but for lws_vhost* it is not.\r\n\r\nThanks for clarification.\r\n\r\nOndrej"}}
{"actor":{"display_login":"lws-team"}}