{"action":"opened","issue":{"url":"https://api.github.com/repos/daurnimator/lua-http/issues/2","labels_url":"https://api.github.com/repos/daurnimator/lua-http/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/daurnimator/lua-http/issues/2/comments","events_url":"https://api.github.com/repos/daurnimator/lua-http/issues/2/events","html_url":"https://github.com/daurnimator/lua-http/issues/2","id":121008785,"number":2,"title":"HTTP2: Check for malformed stream due to content-length","user":{"login":"daurnimator","id":127971,"avatar_url":"https://avatars.githubusercontent.com/u/127971?v=3","gravatar_id":"","url":"https://api.github.com/users/daurnimator","html_url":"https://github.com/daurnimator","followers_url":"https://api.github.com/users/daurnimator/followers","following_url":"https://api.github.com/users/daurnimator/following{/other_user}","gists_url":"https://api.github.com/users/daurnimator/gists{/gist_id}","starred_url":"https://api.github.com/users/daurnimator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daurnimator/subscriptions","organizations_url":"https://api.github.com/users/daurnimator/orgs","repos_url":"https://api.github.com/users/daurnimator/repos","events_url":"https://api.github.com/users/daurnimator/events{/privacy}","received_events_url":"https://api.github.com/users/daurnimator/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/daurnimator/lua-http/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/daurnimator/lua-http/milestones/1","html_url":"https://github.com/daurnimator/lua-http/milestones/h2spec%20compliance","labels_url":"https://api.github.com/repos/daurnimator/lua-http/milestones/1/labels","id":1446924,"number":1,"title":"h2spec compliance","description":"[h2spec](https://github.com/summerwind/h2spec) is a test suite for http2 server implementations.\r\nWe should pass all the tests.","creator":{"login":"daurnimator","id":127971,"avatar_url":"https://avatars.githubusercontent.com/u/127971?v=3","gravatar_id":"","url":"https://api.github.com/users/daurnimator","html_url":"https://github.com/daurnimator","followers_url":"https://api.github.com/users/daurnimator/followers","following_url":"https://api.github.com/users/daurnimator/following{/other_user}","gists_url":"https://api.github.com/users/daurnimator/gists{/gist_id}","starred_url":"https://api.github.com/users/daurnimator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daurnimator/subscriptions","organizations_url":"https://api.github.com/users/daurnimator/orgs","repos_url":"https://api.github.com/users/daurnimator/repos","events_url":"https://api.github.com/users/daurnimator/events{/privacy}","received_events_url":"https://api.github.com/users/daurnimator/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":0,"state":"open","created_at":"2015-12-07T05:14:41Z","updated_at":"2015-12-08T13:44:18Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2015-12-08T13:44:18Z","updated_at":"2015-12-08T13:44:18Z","closed_at":null,"body":"h2spec failure:\r\n```\r\n  8.1. HTTP Request/Response Exchange\r\n    8.1.2. HTTP Header Fields\r\n      8.1.2.6. Malformed Requests and Responses\r\n        × Sends a HEADERS frame that contains the \"content-length\" header field which does not equal the sum of the DATA frame payload lengths\r\n          - The endpoint MUST respond with a stream error of type PROTOCOL_ERROR.\r\n            Expected: GOAWAY frame (ErrorCode: PROTOCOL_ERROR)\r\n                      RST_STREAM frame (ErrorCode: PROTOCOL_ERROR)\r\n                      Connection close\r\n              Actual: DATA frame (Length: 3, Flags: 1)\r\n        × Sends a HEADERS frame that contains the \"content-length\" header field which does not equal the sum of the multiple DATA frame payload lengths\r\n          - The endpoint MUST respond with a stream error of type PROTOCOL_ERROR.\r\n            Expected: GOAWAY frame (ErrorCode: PROTOCOL_ERROR)\r\n                      RST_STREAM frame (ErrorCode: PROTOCOL_ERROR)\r\n                      Connection close\r\n              Actual: DATA frame (Length: 3, Flags: 1)\r\n```"}}