Skip to content
This repository has been archived by the owner on Apr 16, 2020. It is now read-only.

Error handling #37

Open
4 tasks
hawkw opened this issue Sep 7, 2018 · 3 comments
Open
4 tasks

Error handling #37

hawkw opened this issue Sep 7, 2018 · 3 comments

Comments

@hawkw
Copy link
Member

hawkw commented Sep 7, 2018

Places where errors are discarded:

Loss of specificity:

  • server::Background::poll: error always sends an INTERNAL_ERROR:

    tower-h2/src/server/mod.rs

    Lines 430 to 432 in e209b83

    // TODO: do something better the error?
    let reason = Reason::INTERNAL_ERROR;
    respond.send_reset(reason);

(N.B. that I'm still adding to the list)

@seanmonstar
Copy link
Contributor

Something to consider is that hyper provides most (all?) of the functionality of tower-h2, we may be able to just switch to it entirely in Linkerd2.

@hawkw
Copy link
Member Author

hawkw commented Sep 7, 2018

@seanmonstar
screen shot 2018-09-07 at 3 33 16 pm
Maybe it's time? (cc @carllerche)

@carllerche
Copy link
Member

@seanmonstar I mean, my hope was that the tower-h2 impl was available to use standalone and hyper used it to provide HTTP/2.0 support. I'm not sure how possible that is.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants