{"action":"created","issue":{"url":"https://api.github.com/repos/h2o/picotls/issues/126","repository_url":"https://api.github.com/repos/h2o/picotls","labels_url":"https://api.github.com/repos/h2o/picotls/issues/126/labels{/name}","comments_url":"https://api.github.com/repos/h2o/picotls/issues/126/comments","events_url":"https://api.github.com/repos/h2o/picotls/issues/126/events","html_url":"https://github.com/h2o/picotls/pull/126","id":303462374,"number":126,"title":"provide hook to associate application data to `ptls_t`","user":{"login":"kazuho","id":41567,"avatar_url":"https://avatars2.githubusercontent.com/u/41567?v=4","gravatar_id":"","url":"https://api.github.com/users/kazuho","html_url":"https://github.com/kazuho","followers_url":"https://api.github.com/users/kazuho/followers","following_url":"https://api.github.com/users/kazuho/following{/other_user}","gists_url":"https://api.github.com/users/kazuho/gists{/gist_id}","starred_url":"https://api.github.com/users/kazuho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kazuho/subscriptions","organizations_url":"https://api.github.com/users/kazuho/orgs","repos_url":"https://api.github.com/users/kazuho/repos","events_url":"https://api.github.com/users/kazuho/events{/privacy}","received_events_url":"https://api.github.com/users/kazuho/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-08T12:26:37Z","updated_at":"2018-03-08T12:29:32Z","closed_at":null,"author_association":"OWNER","pull_request":{"url":"https://api.github.com/repos/h2o/picotls/pulls/126","html_url":"https://github.com/h2o/picotls/pull/126","diff_url":"https://github.com/h2o/picotls/pull/126.diff","patch_url":"https://github.com/h2o/picotls/pull/126.patch"},"body":"```\r\nptls_t *tls;\r\nvoid *my_data;\r\n...\r\n\r\n// set\r\n*ptls_get_data_ptr(tls) = my_data;\r\n\r\n// get\r\nmy_data = *ptls_get_data_ptr(tls);\r\n```"},"comment":{"url":"https://api.github.com/repos/h2o/picotls/issues/comments/371473442","html_url":"https://github.com/h2o/picotls/pull/126#issuecomment-371473442","issue_url":"https://api.github.com/repos/h2o/picotls/issues/126","id":371473442,"user":{"login":"kazuho","id":41567,"avatar_url":"https://avatars2.githubusercontent.com/u/41567?v=4","gravatar_id":"","url":"https://api.github.com/users/kazuho","html_url":"https://github.com/kazuho","followers_url":"https://api.github.com/users/kazuho/followers","following_url":"https://api.github.com/users/kazuho/following{/other_user}","gists_url":"https://api.github.com/users/kazuho/gists{/gist_id}","starred_url":"https://api.github.com/users/kazuho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kazuho/subscriptions","organizations_url":"https://api.github.com/users/kazuho/orgs","repos_url":"https://api.github.com/users/kazuho/repos","events_url":"https://api.github.com/users/kazuho/events{/privacy}","received_events_url":"https://api.github.com/users/kazuho/received_events","type":"User","site_admin":false},"created_at":"2018-03-08T12:29:32Z","updated_at":"2018-03-08T12:29:32Z","author_association":"OWNER","body":"@larseggert My understanding is that you need to access to per-connection data in your `save_ticket` callback, and your preference is having a \"user pointer\" rather than creating a per-connection context.\r\n\r\nDoes the API provided by this PR suffice your needs?\r\n\r\n@huitema Do you have any concerns?"}}
{"actor":{"display_login":"kazuho"}}