Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | task -> thread | rohan.prinja | 2016-01-10 | 1 | -367/+0 |
| | |||||
* | Enable MIME sniffing via a pref instead of a global option. | Josh Matthews | 2015-12-31 | 1 | -2/+2 |
| | |||||
* | Resolves #4183 - Implemementing context-based MIME type sniffing | David Rajchenbach-Teller | 2015-12-31 | 1 | -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 task | Nova Fallen | 2015-12-08 | 1 | -0/+10 |
| | |||||
* | Testing cancellation during redirects | Ravi Shankar | 2015-11-14 | 1 | -5/+11 |
| | |||||
* | Added support for synchronization along with an unit test for cancellation ↵ | Ravi Shankar | 2015-11-12 | 1 | -0/+3 |
| | | | | listener | ||||
* | Implement cancellation listener for cancelling network requests | Ravi Shankar | 2015-11-12 | 1 | -21/+106 |
| | |||||
* | Consistently use content-type sniffing with all protocols. | Eli Friedman | 2015-10-31 | 1 | -8/+2 |
| | |||||
* | Auto merge of #7984 - eefriedman:net-send-error, r=jdm | bors-servo | 2015-10-14 | 1 | -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 Friedman | 2015-10-13 | 1 | -0/+9 |
| | | | | | | | | No substantial functional change. | ||||
* | | Auto merge of #7967 - eefriedman:mime-handling, r=jdm | bors-servo | 2015-10-14 | 1 | -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 Friedman | 2015-10-13 | 1 | -7/+7 |
| | | |||||
* | | Removed user agent parameter from being unnecessarily passed | David Raifaizen | 2015-10-13 | 1 | -4/+5 |
|/ | |||||
* | Fix issues found by rust-clippy | Corey Farwell | 2015-10-12 | 1 | -2/+2 |
| | |||||
* | Cleanup code that was warned by rust-clippy | Corey Farwell | 2015-10-11 | 1 | -1/+1 |
| | |||||
* | Check for Extra pointer dereferencing. Issue #7640. | Jaydeep | 2015-09-26 | 1 | -2/+2 |
| | |||||
* | sorted the extern crate, mod & use declarations | Ravi Shankar | 2015-09-24 | 1 | -5/+5 |
| | |||||
* | Add plugins for compositing and net crates #7699 | Maciej Skrzypkowski | 2015-09-22 | 1 | -1/+1 |
| | | | | | Changed to_string calls to to_owned calls where was a need. | ||||
* | General cleanup for HSTS/Cookie Arc | Sam Gibson | 2015-09-19 | 1 | -2/+2 |
| | |||||
* | Move HSTS/CookieStorage to Arc<RwLock> from Ipc | Sam Gibson | 2015-09-19 | 1 | -43/+23 |
| | | | | servo/servo#7421 | ||||
* | Auto merge of #7447 - ddrmanxbxfr:master, r=jdm | bors-servo | 2015-09-18 | 1 | -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.rs | Mathieu Rheaume | 2015-09-12 | 1 | -1/+1 |
| | | |||||
| * | Issue #7382 Use descriptive enums instead of booleans for ↵ | Mathieu Rheaume | 2015-09-12 | 1 | -11/+22 |
| | | | | | | | | MIMEClassifier::classifer | ||||
* | | Move setting UserAgent header into http_loader::load, | João Oliveira | 2015-09-14 | 1 | -6/+5 |
|/ | | | | closes #7541 | ||||
* | net: use connection pooling | Sean McArthur | 2015-09-02 | 1 | -4/+9 |
| | |||||
* | Only use the resource manager's HSTS list. | Sam Gibson | 2015-08-30 | 1 | -23/+25 |
| | | | | Simplifies a bunch of stuff. | ||||
* | sort all uses | Johann Tuffe | 2015-08-20 | 1 | -4/+4 |
| | |||||
* | Auto merge of #7257 - jxs:master, r=Ms2ger | bors-servo | 2015-08-18 | 1 | -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 Oliveira | 2015-08-18 | 1 | -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 Watson | 2015-08-18 | 1 | -6/+4 |
|/ | | | | is an android UA). | ||||
* | Use hosts-replaced URL only when loading resources | James Graham | 2015-08-05 | 1 | -73/+0 |
| | |||||
* | Obey Strict-Transport-Security header | Sam Gibson | 2015-08-02 | 1 | -1/+1 |
| | |||||
* | script: Fix merge fallout. | Patrick Walton | 2015-07-31 | 1 | -5/+5 |
| | |||||
* | script: Make the resource task communication use IPC channels. | Patrick Walton | 2015-07-31 | 1 | -20/+15 |
| | |||||
* | net: Use a thread for each `AsyncResponseTarget` to avoid having to send | Patrick Walton | 2015-07-31 | 1 | -1/+1 |
| | | | | trait objects across process boundaries. | ||||
* | net: Make most of the resource task messages serializable. | Patrick Walton | 2015-07-31 | 1 | -5/+10 |
| | |||||
* | Moves HSTS includeSubdomains enum to net_traits | Sam Gibson | 2015-07-22 | 1 | -8/+2 |
| | |||||
* | Passes an Arc<Mutex<HSTSList>> to threads instead of cloning | Sam Gibson | 2015-07-22 | 1 | -4/+5 |
| | |||||
* | Responds to more code review feedback | Sam Gibson | 2015-07-22 | 1 | -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_loader | Sam Gibson | 2015-07-22 | 1 | -19/+5 |
| | | | | This respects STS for redirects as well. | ||||
* | Moves HSTS code to it's own module | Sam Gibson | 2015-07-22 | 1 | -131/+6 |
| | |||||
* | Resolves remaining code review issues | Sam Gibson | 2015-07-22 | 1 | -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 comments | Sam Gibson | 2015-07-22 | 1 | -42/+23 |
| | | | | | * Lots of rust-isms * Mutable iterator for modifying entries (much better) | ||||
* | Don't unnecessarily clone strings | Sam Gibson | 2015-07-22 | 1 | -5/+5 |
| | |||||
* | Re-parse URL to not have inconsistent state | Sam Gibson | 2015-07-22 | 1 | -1/+1 |
| | |||||
* | Adds control message for HSTS headers | Sam Gibson | 2015-07-22 | 1 | -0/+7 |
| | |||||
* | Abstract out ResourceManager messaging from impl | Sam Gibson | 2015-07-22 | 1 | -35/+59 |
| | | | | De-coupling makes testing a bit easier. | ||||
* | Evict HSTS entries when a max-age of 0 is seen | Sam Gibson | 2015-07-22 | 1 | -1/+1 |
| | |||||
* | Rename/refactor | Sam Gibson | 2015-07-22 | 1 | -22/+26 |
| | |||||
* | Expire HSTS entries that have exceeded their max-age | Sam Gibson | 2015-07-22 | 1 | -4/+14 |
| | | | | servo/servo#6105 |