{"action":"opened","issue":{"url":"https://api.github.com/repos/nesQuick/elixir-hpack/issues/9","repository_url":"https://api.github.com/repos/nesQuick/elixir-hpack","labels_url":"https://api.github.com/repos/nesQuick/elixir-hpack/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/nesQuick/elixir-hpack/issues/9/comments","events_url":"https://api.github.com/repos/nesQuick/elixir-hpack/issues/9/events","html_url":"https://github.com/nesQuick/elixir-hpack/issues/9","id":241450563,"number":9,"title":"Decode error when working with firefox headers.","user":{"login":"CrowdHailer","id":5862302,"avatar_url":"https://avatars0.githubusercontent.com/u/5862302?v=3","gravatar_id":"","url":"https://api.github.com/users/CrowdHailer","html_url":"https://github.com/CrowdHailer","followers_url":"https://api.github.com/users/CrowdHailer/followers","following_url":"https://api.github.com/users/CrowdHailer/following{/other_user}","gists_url":"https://api.github.com/users/CrowdHailer/gists{/gist_id}","starred_url":"https://api.github.com/users/CrowdHailer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CrowdHailer/subscriptions","organizations_url":"https://api.github.com/users/CrowdHailer/orgs","repos_url":"https://api.github.com/users/CrowdHailer/repos","events_url":"https://api.github.com/users/CrowdHailer/events{/privacy}","received_events_url":"https://api.github.com/users/CrowdHailer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-07-08T13:31:15Z","updated_at":"2017-07-08T13:31:15Z","closed_at":null,"body":"Hi I am experimenting with building an HTTP2 server and am using this repo for header compression. When testing my server with firefox as a client I keep getting the following error.\r\n\r\n```\r\n** (FunctionClauseError) no function clause matching in HPack.Huffman.dec/3\r\n    (hpack) lib/hpack/huffman.ex:300: HPack.Huffman.dec(<<1::size(2)>>, 2, \"Ubuntu; Linux x86_64; rv:54.0) Gecko/20100101 Firefox/54.0yh/cfxt/html,application/xhtml+xml,application/xml;q=0\")\r\n    (hpack) lib/hpack.ex:220: HPack.parse_string/1\r\n    (hpack) lib/hpack.ex:125: HPack.parse/3\r\n    (ace) lib/ace/http2.ex:200: Ace.HTTP2.consume_frame/2\r\n    (ace) lib/ace/http2.ex:149: Ace.HTTP2.consume/2\r\n    (stdlib) gen_server.erl:616: :gen_server.try_dispatch/4\r\n    (stdlib) gen_server.erl:686: :gen_server.handle_msg/6\r\n    (stdlib) proc_lib.erl:247: :proc_lib.init_p_do_apply/3\r\n```\r\n\r\nObviously the problem is something to do with user agent header, but as of now I havent managed to debug much further"}}
{"actor":{"display_login":"CrowdHailer"}}