{"action":"created","issue":{"url":"https://api.github.com/repos/quicwg/base-drafts/issues/1535","repository_url":"https://api.github.com/repos/quicwg/base-drafts","labels_url":"https://api.github.com/repos/quicwg/base-drafts/issues/1535/labels{/name}","comments_url":"https://api.github.com/repos/quicwg/base-drafts/issues/1535/comments","events_url":"https://api.github.com/repos/quicwg/base-drafts/issues/1535/events","html_url":"https://github.com/quicwg/base-drafts/issues/1535","id":339188082,"node_id":"MDU6SXNzdWUzMzkxODgwODI=","number":1535,"title":"Long header + token and PNE","user":{"login":"huitema","id":7464128,"node_id":"MDQ6VXNlcjc0NjQxMjg=","avatar_url":"https://avatars0.githubusercontent.com/u/7464128?v=4","gravatar_id":"","url":"https://api.github.com/users/huitema","html_url":"https://github.com/huitema","followers_url":"https://api.github.com/users/huitema/followers","following_url":"https://api.github.com/users/huitema/following{/other_user}","gists_url":"https://api.github.com/users/huitema/gists{/gist_id}","starred_url":"https://api.github.com/users/huitema/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/huitema/subscriptions","organizations_url":"https://api.github.com/users/huitema/orgs","repos_url":"https://api.github.com/users/huitema/repos","events_url":"https://api.github.com/users/huitema/events{/privacy}","received_events_url":"https://api.github.com/users/huitema/received_events","type":"User","site_admin":false},"labels":[{"id":481871399,"node_id":"MDU6TGFiZWw0ODE4NzEzOTk=","url":"https://api.github.com/repos/quicwg/base-drafts/labels/-transport","name":"-transport","color":"fbca04","default":false},{"id":481871361,"node_id":"MDU6TGFiZWw0ODE4NzEzNjE=","url":"https://api.github.com/repos/quicwg/base-drafts/labels/design","name":"design","color":"1d76db","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-07-08T01:27:41Z","updated_at":"2018-07-14T21:06:08Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Draft-13 says:\r\n```\r\nThe Initial packet has two additional header fields that follow the\r\nnormal Long Header.\r\n```\r\nBut of course, this means that the variable length token length follows the variable length PN, which is encrypted. I guess the editors wanted to make the header parsing code more interesting. It certainly will not help load balancers, firewalls, etc., which may want to parse the tokens during DDOS defense.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/quicwg/base-drafts/issues/comments/405049878","html_url":"https://github.com/quicwg/base-drafts/issues/1535#issuecomment-405049878","issue_url":"https://api.github.com/repos/quicwg/base-drafts/issues/1535","id":405049878,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNTA0OTg3OA==","user":{"login":"kazuho","id":41567,"node_id":"MDQ6VXNlcjQxNTY3","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-07-14T21:06:08Z","updated_at":"2018-07-14T21:06:08Z","author_association":"CONTRIBUTOR","body":"My interpretation of -3 will be that token_len and token are placed _after_ the payload, because payload is defined as the last element of the long header. But that means that -13 is impossible to implement, because the length of the payload can’t be determined without parsing the token_len field that follows the payload.\r\n\r\nAnyways my understanding is that the correct definition is to place token and token_len right before the encrypted pn field."}}
{"actor":{"display_login":"kazuho"}}