aboutsummaryrefslogtreecommitdiffstats
path: root/components/net/resource_task.rs
Commit message (Collapse)AuthorAgeFilesLines
* task -> threadrohan.prinja2016-01-101-367/+0
|
* Enable MIME sniffing via a pref instead of a global option.Josh Matthews2015-12-311-2/+2
|
* Resolves #4183 - Implemementing context-based MIME type sniffingDavid Rajchenbach-Teller2015-12-311-5/+9
| | | | | The version of the standard is not finalized at the time of this writing. Specifications may be found here: https://mimesniff.spec.whatwg.org/#context-specific-sniffing .
* move websocket creation to resource taskNova Fallen2015-12-081-0/+10
|
* Testing cancellation during redirectsRavi Shankar2015-11-141-5/+11
|
* Added support for synchronization along with an unit test for cancellation ↵Ravi Shankar2015-11-121-0/+3
| | | | listener
* Implement cancellation listener for cancelling network requestsRavi Shankar2015-11-121-21/+106
|
* Consistently use content-type sniffing with all protocols.Eli Friedman2015-10-311-8/+2
|
* Auto merge of #7984 - eefriedman:net-send-error, r=jdmbors-servo2015-10-141-0/+9
|\ | | | | | | | | | | | | | | | | | | Refactor resource loaders to use send_error utility. No substantial functional change. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7984) <!-- Reviewable:end -->
| * Refactor resource loaders to use send_error utility.Eli Friedman2015-10-131-0/+9
| | | | | | | | No substantial functional change.
* | Auto merge of #7967 - eefriedman:mime-handling, r=jdmbors-servo2015-10-141-7/+7
|\ \ | |/ |/| | | | | | | | | | | | | | | MIMEClassifier::classify always succeeds; fix the type to reflect this. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7967) <!-- Reviewable:end -->
| * MIMEClassifier::classify always succeeds; fix the type to reflect this.Eli Friedman2015-10-131-7/+7
| |
* | Removed user agent parameter from being unnecessarily passedDavid Raifaizen2015-10-131-4/+5
|/
* Fix issues found by rust-clippyCorey Farwell2015-10-121-2/+2
|
* Cleanup code that was warned by rust-clippyCorey Farwell2015-10-111-1/+1
|
* Check for Extra pointer dereferencing. Issue #7640.Jaydeep2015-09-261-2/+2
|
* sorted the extern crate, mod & use declarationsRavi Shankar2015-09-241-5/+5
|
* Add plugins for compositing and net crates #7699Maciej Skrzypkowski2015-09-221-1/+1
| | | | | Changed to_string calls to to_owned calls where was a need.
* General cleanup for HSTS/Cookie ArcSam Gibson2015-09-191-2/+2
|
* Move HSTS/CookieStorage to Arc<RwLock> from IpcSam Gibson2015-09-191-43/+23
| | | | servo/servo#7421
* Auto merge of #7447 - ddrmanxbxfr:master, r=jdmbors-servo2015-09-181-11/+22
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Issue #7382 Use descriptive enums instead of booleans for MIMEClassifier::classifer Hi guys i've done a small pass of refactor in the MIMEClassifier implementation. (See issue #7382 ) - Moved the predicates to separate functions - Added a mimetype enum so we can compare them easily after calling MIMEClassifier::get_media_type I hope it follows rust good pratices (care it's my first time doing rust). Improvements and tips are welcome :). Thanks for looking at it. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7447) <!-- Reviewable:end -->
| * Remove unused import in components/net/resource_task.rsMathieu Rheaume2015-09-121-1/+1
| |
| * Issue #7382 Use descriptive enums instead of booleans for ↵Mathieu Rheaume2015-09-121-11/+22
| | | | | | | | MIMEClassifier::classifer
* | Move setting UserAgent header into http_loader::load,João Oliveira2015-09-141-6/+5
|/ | | | closes #7541
* net: use connection poolingSean McArthur2015-09-021-4/+9
|
* Only use the resource manager's HSTS list.Sam Gibson2015-08-301-23/+25
| | | | Simplifies a bunch of stuff.
* sort all usesJohann Tuffe2015-08-201-4/+4
|
* Auto merge of #7257 - jxs:master, r=Ms2gerbors-servo2015-08-181-1/+1
|\ | | | | | | | | | | | | | | | | | | | | Replace uses of `for foo in bar.iter()`, and `for foo in bar.iter_mut(), and for foo in bar.into_iter() (continuation of #7197) <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7257) <!-- Reviewable:end -->
| * Replace uses of `for foo in bar.iter()`,João Oliveira2015-08-181-1/+1
| | | | | | | | | | and `for foo in bar.iter_mut(), and for foo in bar.into_iter() (continuation of #7197)
* | Add a simple method to emulate a platform UA (e.g. pretend a desktop build ↵Glenn Watson2015-08-181-6/+4
|/ | | | is an android UA).
* Use hosts-replaced URL only when loading resourcesJames Graham2015-08-051-73/+0
|
* Obey Strict-Transport-Security headerSam Gibson2015-08-021-1/+1
|
* script: Fix merge fallout.Patrick Walton2015-07-311-5/+5
|
* script: Make the resource task communication use IPC channels.Patrick Walton2015-07-311-20/+15
|
* net: Use a thread for each `AsyncResponseTarget` to avoid having to sendPatrick Walton2015-07-311-1/+1
| | | | trait objects across process boundaries.
* net: Make most of the resource task messages serializable.Patrick Walton2015-07-311-5/+10
|
* Moves HSTS includeSubdomains enum to net_traitsSam Gibson2015-07-221-8/+2
|
* Passes an Arc<Mutex<HSTSList>> to threads instead of cloningSam Gibson2015-07-221-4/+5
|
* Responds to more code review feedbackSam Gibson2015-07-221-16/+11
| | | | | * Use regex from resource task * Don't have an option of an HSTS list, default to empty
* Moves the HSTS replacement code to http_loaderSam Gibson2015-07-221-19/+5
| | | | This respects STS for redirects as well.
* Moves HSTS code to it's own moduleSam Gibson2015-07-221-131/+6
|
* Resolves remaining code review issuesSam Gibson2015-07-221-13/+31
| | | | | | | * Don't pass a boolean to the HSTSEntry constructor, use an enum instead * Don't clone when securing load data * Comment about the Url bug * Change remaining assert!(... == ...) to assert_eq!(..., ...)
* Resolves code review commentsSam Gibson2015-07-221-42/+23
| | | | | * Lots of rust-isms * Mutable iterator for modifying entries (much better)
* Don't unnecessarily clone stringsSam Gibson2015-07-221-5/+5
|
* Re-parse URL to not have inconsistent stateSam Gibson2015-07-221-1/+1
|
* Adds control message for HSTS headersSam Gibson2015-07-221-0/+7
|
* Abstract out ResourceManager messaging from implSam Gibson2015-07-221-35/+59
| | | | De-coupling makes testing a bit easier.
* Evict HSTS entries when a max-age of 0 is seenSam Gibson2015-07-221-1/+1
|
* Rename/refactorSam Gibson2015-07-221-22/+26
|
* Expire HSTS entries that have exceeded their max-ageSam Gibson2015-07-221-4/+14
| | | | servo/servo#6105