{"action":"created","issue":{"url":"https://api.github.com/repos/quicwg/base-drafts/issues/74","repository_url":"https://api.github.com/repos/quicwg/base-drafts","labels_url":"https://api.github.com/repos/quicwg/base-drafts/issues/74/labels{/name}","comments_url":"https://api.github.com/repos/quicwg/base-drafts/issues/74/comments","events_url":"https://api.github.com/repos/quicwg/base-drafts/issues/74/events","html_url":"https://github.com/quicwg/base-drafts/issues/74","id":193618748,"number":74,"title":"Application-defined error codes","user":{"login":"MikeBishop","id":4273797,"avatar_url":"https://avatars.githubusercontent.com/u/4273797?v=3","gravatar_id":"","url":"https://api.github.com/users/MikeBishop","html_url":"https://github.com/MikeBishop","followers_url":"https://api.github.com/users/MikeBishop/followers","following_url":"https://api.github.com/users/MikeBishop/following{/other_user}","gists_url":"https://api.github.com/users/MikeBishop/gists{/gist_id}","starred_url":"https://api.github.com/users/MikeBishop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MikeBishop/subscriptions","organizations_url":"https://api.github.com/users/MikeBishop/orgs","repos_url":"https://api.github.com/users/MikeBishop/repos","events_url":"https://api.github.com/users/MikeBishop/events{/privacy}","received_events_url":"https://api.github.com/users/MikeBishop/received_events","type":"User","site_admin":false},"labels":[{"id":517015527,"url":"https://api.github.com/repos/quicwg/base-drafts/labels/confirm-consensus","name":"confirm-consensus","color":"bfdadc","default":false},{"id":481871399,"url":"https://api.github.com/repos/quicwg/base-drafts/labels/transport","name":"transport","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-12-05T21:45:16Z","updated_at":"2017-01-12T19:52:09Z","closed_at":null,"body":"If applications want to terminate a stream or connection for a reason that isn't specific to the QUIC transport layer, they currently need to define their own error communication mechanism and wait for the frame to be acknowledged before they tell QUIC to terminate the stream/connection.  That's not necessarily practical.\r\n\r\nCould we carve out a segment of the error space and define them to be application-defined, so each application mapping can add whatever error codes are relevant to it?  E.g. QUIC currently defines  QUIC_DECOMPRESSION_FAILURE, but QUIC defines no compression.  That's really there for HPACK, I presume.\r\n\r\nWe could do likewise for handshake errors, since that's also pluggable -- QUIC will have its own AEAD error codes, but things that could go wrong in the handshake will vary by which handshake protocol we're using."},"comment":{"url":"https://api.github.com/repos/quicwg/base-drafts/issues/comments/272264464","html_url":"https://github.com/quicwg/base-drafts/issues/74#issuecomment-272264464","issue_url":"https://api.github.com/repos/quicwg/base-drafts/issues/74","id":272264464,"user":{"login":"MikeBishop","id":4273797,"avatar_url":"https://avatars.githubusercontent.com/u/4273797?v=3","gravatar_id":"","url":"https://api.github.com/users/MikeBishop","html_url":"https://github.com/MikeBishop","followers_url":"https://api.github.com/users/MikeBishop/followers","following_url":"https://api.github.com/users/MikeBishop/following{/other_user}","gists_url":"https://api.github.com/users/MikeBishop/gists{/gist_id}","starred_url":"https://api.github.com/users/MikeBishop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MikeBishop/subscriptions","organizations_url":"https://api.github.com/users/MikeBishop/orgs","repos_url":"https://api.github.com/users/MikeBishop/repos","events_url":"https://api.github.com/users/MikeBishop/events{/privacy}","received_events_url":"https://api.github.com/users/MikeBishop/received_events","type":"User","site_admin":false},"created_at":"2017-01-12T19:52:09Z","updated_at":"2017-01-12T19:52:09Z","body":"Proposed resolution in #131."}}
{"actor":{"display_login":"MikeBishop"}}