{"action":"created","issue":{"url":"https://api.github.com/repos/bradfitz/http2/issues/59","labels_url":"https://api.github.com/repos/bradfitz/http2/issues/59/labels{/name}","comments_url":"https://api.github.com/repos/bradfitz/http2/issues/59/comments","events_url":"https://api.github.com/repos/bradfitz/http2/issues/59/events","html_url":"https://github.com/bradfitz/http2/issues/59","id":73739218,"number":59,"title":"Support h2c (HTTP/2 without TLS)","user":{"login":"Joushou","id":176245,"avatar_url":"https://avatars.githubusercontent.com/u/176245?v=3","gravatar_id":"","url":"https://api.github.com/users/Joushou","html_url":"https://github.com/Joushou","followers_url":"https://api.github.com/users/Joushou/followers","following_url":"https://api.github.com/users/Joushou/following{/other_user}","gists_url":"https://api.github.com/users/Joushou/gists{/gist_id}","starred_url":"https://api.github.com/users/Joushou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Joushou/subscriptions","organizations_url":"https://api.github.com/users/Joushou/orgs","repos_url":"https://api.github.com/users/Joushou/repos","events_url":"https://api.github.com/users/Joushou/events{/privacy}","received_events_url":"https://api.github.com/users/Joushou/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-05-06T21:16:03Z","updated_at":"2015-05-08T17:32:06Z","closed_at":null,"body":"This library currently supports h2, which negotiates over TLS. However, it appears that it does not support the Upgrade negotiation of h2c, which requires a bit deeper integration with the http lib, rather than hijacking the protocol at the TLS level.\r\n\r\nSome people seem to find TLS-less HTTP to be a controversial subject, for some peculiar reason, but it is part of the spec. I unfortunately also happened to look at this project because I needed it. Oh well."},"comment":{"url":"https://api.github.com/repos/bradfitz/http2/issues/comments/100306022","html_url":"https://github.com/bradfitz/http2/issues/59#issuecomment-100306022","issue_url":"https://api.github.com/repos/bradfitz/http2/issues/59","id":100306022,"user":{"login":"Joushou","id":176245,"avatar_url":"https://avatars.githubusercontent.com/u/176245?v=3","gravatar_id":"","url":"https://api.github.com/users/Joushou","html_url":"https://github.com/Joushou","followers_url":"https://api.github.com/users/Joushou/followers","following_url":"https://api.github.com/users/Joushou/following{/other_user}","gists_url":"https://api.github.com/users/Joushou/gists{/gist_id}","starred_url":"https://api.github.com/users/Joushou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Joushou/subscriptions","organizations_url":"https://api.github.com/users/Joushou/orgs","repos_url":"https://api.github.com/users/Joushou/repos","events_url":"https://api.github.com/users/Joushou/events{/privacy}","received_events_url":"https://api.github.com/users/Joushou/received_events","type":"User","site_admin":false},"created_at":"2015-05-08T17:32:06Z","updated_at":"2015-05-08T17:32:06Z","body":"Ah, damn, I missed the argument of middleware breaking the protocol. That is indeed a good argument against opening for h2c by default. But I still seriously doubt that h2 would see widespread adoption past those previously mentioned TLS terminators, due to things like certificate management nightmares, and some companies potentially not wanting to waste power on crypto between their servers. Without h2c, they'll probably end up sticking to HTTP/1.1, either internally or all the way through, which would be annoying as well...\r\n\r\nI will cross my fingers for it not to be too difficult to enable. I apologise for taking that much of your time. Thanks!"}}