Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upMove error handling out of the network loader #8678
Closed
Labels
Comments
|
This will both fix problems like |
bors-servo
added a commit
that referenced
this issue
Apr 20, 2016
Moving the error handling out of network loader Rebase of #8851. Fixes #8678. Fixes #9944. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9942) <!-- Reviewable:end -->
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There are a couple steps here:
Resultthat network listeners receive with the LoadError type fromhttp_loader.rsload_for_consumerto the network receiver instead of sending a stringservohtmlparser.rs)headers_availabletake aResult<Metadata, LoadError>value to reflect the possibility of early errors (such as SSL validation failure)