servo/components/net
bors-servo 00b3612fe9 Auto merge of #19274 - Manishearth:xhr-cancel, r=jdm
Fetch cancellation

This PR implements cancellation for fetch, and uses it for XHR. This means that fetch clients can now send a message to the fetch task asking for the network request to be aborted.

Previously, clients like XHR had abort functionality but would implement it by simply ignoring future messages from the network task; and would not actually cancel the network fetch.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/19274)
<!-- Reviewable:end -->
2017-11-20 20:48:17 -06:00
..
fetch Add aborted flag to response, set when fetch is aborted 2017-11-20 17:04:55 -08:00
blob_loader.rs Remove unused part of the return value of parse_blob_url(). 2017-01-30 15:16:27 +01:00
Cargo.toml Bump servo-websocket to 0.20 2017-11-16 10:51:38 +01:00
chrome_loader.rs Removed util. 2016-12-14 18:04:37 -06:00
connector.rs Untry 2017-06-18 13:21:51 +02:00
cookie.rs Fix commonmark Markdown warnings in docs, part 1 2017-10-17 11:24:57 -07:00
cookie_storage.rs Upgrade to rustc 1.21.0-nightly (13d94d5fa 2017-08-10) 2017-08-15 14:10:44 +02:00
data_loader.rs Replace use of rustc_serialize::base64 by base64 2017-03-26 14:15:31 +02:00
filemanager_thread.rs Untry 2017-06-18 13:21:51 +02:00
hosts.rs Use try syntax for Option where appropriate 2017-10-20 08:25:35 -07:00
hsts.rs Fix indentation errors in servo rust code that tidy now finds. 2017-04-18 14:56:13 -04:00
http_cache.rs add pref to disable http cache, mozilla tests 2017-11-19 13:52:13 +08:00
http_loader.rs Auto merge of #19274 - Manishearth:xhr-cancel, r=jdm 2017-11-20 20:48:17 -06:00
image_cache.rs Remove usage of unstable feature iterator_step_by 2017-10-11 20:17:16 +02:00
lib.rs Beginnings of a http cache 2017-11-14 17:20:39 +08:00
mime_classifier.rs Fix commonmark Markdown warnings in docs, part 1 2017-10-17 11:24:57 -07:00
resource_thread.rs Auto merge of #19274 - Manishearth:xhr-cancel, r=jdm 2017-11-20 20:48:17 -06:00
storage_thread.rs Removed util. 2016-12-14 18:04:37 -06:00
subresource_integrity.rs Fix commonmark Markdown warnings in docs, part 1 2017-10-17 11:24:57 -07:00
websocket_loader.rs Upgrade to rustc 1.23.0-nightly (02004ef78 2017-11-08) 2017-11-09 16:56:39 +01:00