Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Strict import formatting (grouping and granularity) (#30325) | Samson | 2023-09-11 | 1 | -31/+30 |
| | | | | | * strict imports formatting * Reformat all imports | ||||
* | remove `extern crate` (#30311) | Samson | 2023-09-08 | 1 | -0/+2 |
| | | | | | | | | | | | * remove extern crate * Update components/script_plugins/lib.rs Co-authored-by: Martin Robinson <mrobinson@igalia.com> --------- Co-authored-by: Martin Robinson <mrobinson@igalia.com> | ||||
* | Switch to rustls and webpki-roots (#30025) | Martin Robinson | 2023-08-08 | 1 | -38/+58 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change replaces OpenSSL with rustls and also the manually curated CA certs file with webpki-roots (effectively the same thing, but as a crate). Generally speaking the design of the network stack is the same. Changes: - Code around certificate overrides needed to be refactored to work with rustls so the various thread-safe list of certificates is refactored into `CertificateErrorOverrideManager` - hyper-rustls takes care of setting ALPN protocols for HTTP requests, so for WebSockets this is moved to the WebSocket code. - The safe set of cypher suites is chosen, which seem to correspond to the "Modern" configuration from [1]. This can be adjusted later. - Instead of passing a string of PEM CA certificates around, an enum is used that includes parsed Certificates (or the default which reads them from webpki-roots). - Code for starting up an SSL server for testing is cleaned up a little, due to the fact that the certificates need to be overriden explicitly now. This is due to the fact that the `webpki` crate is more stringent with self-signed certificates than SSL (CA certificates cannot used as end-entity certificates). [2] 1. https://wiki.mozilla.org/Security/Server_Side_TLS 2. https://github.com/briansmith/webpki/issues/114 Fixes #7888. Fixes #13749. Fixes #26835. Fixes #29291. | ||||
* | Make sender and receiver name more coherent | atbrakhi | 2023-05-08 | 1 | -8/+8 |
| | |||||
* | Upgrade Hyper | Naveen Gattu | 2022-01-16 | 1 | -77/+56 |
| | |||||
* | Non-blocking network IO | Naveen Gattu | 2021-12-23 | 1 | -38/+52 |
| | |||||
* | Make reload button clear the network cache. | Josh Matthews | 2020-07-27 | 1 | -0/+3 |
| | |||||
* | net: Replace ws-rs with async-tungstenite. | Josh Matthews | 2020-07-08 | 1 | -3/+4 |
| | |||||
* | net: Allow SSL websockets to use dynamic list of certs as well. | Josh Matthews | 2020-06-09 | 1 | -0/+2 |
| | |||||
* | net: Pass certs that fail the SSL handshake out of the network layer. | Josh Matthews | 2020-06-09 | 1 | -10/+26 |
| | |||||
* | net: Add an SSL verification callback to support checking a dynamic list of ↵ | Josh Matthews | 2020-06-09 | 1 | -6/+12 |
| | | | | certs. | ||||
* | net: shutdown async runtime on exit | Gregory Terzian | 2020-05-30 | 1 | -2/+5 |
| | |||||
* | allow for a service worker network mediator per origin | Gregory Terzian | 2020-04-05 | 1 | -5/+7 |
| | |||||
* | add a fetch token for blob urls | Gregory Terzian | 2020-02-21 | 1 | -1/+34 |
| | |||||
* | add a core resource thread-pool | Gregory Terzian | 2020-02-14 | 1 | -8/+143 |
| | |||||
* | Cookies are now expired immediately before each lookup | Patrick Shaughnessy | 2020-01-24 | 1 | -0/+2 |
| | |||||
* | Fix some warnings in future Rust nightlies | Simon Sapin | 2020-01-02 | 1 | -13/+4 |
| | |||||
* | Let hyper automatically add a host header for HTTP/1 | Jan Andre Ikenmeyer | 2019-12-16 | 1 | -3/+3 |
| | |||||
* | Disable H2 ALPN. | Josh Matthews | 2019-12-13 | 1 | -3/+3 |
| | |||||
* | Add ALPN and signature algorithms to OpenSSL config | Jan Andre Ikenmeyer | 2019-11-30 | 1 | -3/+3 |
| | |||||
* | Use HSTS preload list for private HttpState, too. | Jan Andre Ikenmeyer | 2019-11-10 | 1 | -6/+18 |
| | |||||
* | continue messageport, transferable, postmessage options | Gregory Terzian | 2019-10-19 | 1 | -2/+2 |
| | |||||
* | http-cache: wait on pending stores | Gregory Terzian | 2019-10-08 | 1 | -0/+1 |
| | | | | and various small improvements | ||||
* | Move ResourceFetchTiming into Arc | Javed Nissar | 2019-09-18 | 1 | -1/+2 |
| | | | | | | | | | | | The purpose of this commit is to ensure that the Response object has access to Timing updates as previously the Response object simply stored a ResourceFetchTiming struct so updates on ResourceFetchTiming that were not explicitly done on the Response would not be passed down. The references to ServoArc are added because Response uses servo_arc::Arc rather than std::sync::Arc as is used elsewhere. So, we've switched those other places to servo_arc::Arc instead of switching Response to std::sync::Arc. | ||||
* | Responding to review comments | Alan Jeffrey | 2019-09-11 | 1 | -1/+2 |
| | |||||
* | Prefetch img and scripts during parsing | Alan Jeffrey | 2019-09-10 | 1 | -3/+8 |
| | |||||
* | Net: removed opts::get() usage | oneturkmen | 2019-06-06 | 1 | -8/+27 |
| | |||||
* | Auto merge of #22769 - gterzian:use_thread_pool_in_resource_thread, r=nox | bors-servo | 2019-04-19 | 1 | -36/+37 |
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use a threadpool for fetch <!-- Please describe your changes on the following line: --> --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: --> - [ ] `./mach build -d` does not report any errors - [ ] `./mach test-tidy` does not report any errors - [ ] These changes fix #22768 (GitHub issue number if applicable) <!-- Either: --> - [ ] There are tests for these changes OR - [ ] These changes do not require tests because ___ <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- 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/22769) <!-- Reviewable:end --> | ||||
| * | use a threadpool for fetch | Gregory Terzian | 2019-04-18 | 1 | -36/+37 |
| | | |||||
* | | Add webdriver deletecookies function | aditj | 2019-04-19 | 1 | -0/+8 |
|/ | |||||
* | Implementing the builder pattern for RequestInit | Lucas Fantacuci | 2019-04-10 | 1 | -6/+6 |
| | |||||
* | refactored performance timing to align with updated spec | ddh | 2018-11-20 | 1 | -4/+11 |
| | | | | | | | | | | | | refactoring with ResourceFetchMetadata implemented deprecated window.timing functionality created ResourceTimingListener trait fixed w3c links in navigation timing updated include.ini to run resource timing tests on ci | ||||
* | Update MPL license to https (part 4) | Jan Andre Ikenmeyer | 2018-11-19 | 1 | -1/+1 |
| | |||||
* | Update crossbeam-channel to 0.3 | Bastien Orivel | 2018-11-18 | 1 | -1/+1 |
| | |||||
* | Remove useless `use crate_name;` imports. | Simon Sapin | 2018-11-08 | 1 | -3/+0 |
| | | | | A `crate_name::foo` path always works in 2018 | ||||
* | `cargo fix --edition-idioms` | Simon Sapin | 2018-11-08 | 1 | -1/+2 |
| | |||||
* | Reorder imports | Pyfisch | 2018-11-06 | 1 | -8/+8 |
| | |||||
* | Sort `use` statements | Simon Sapin | 2018-11-06 | 1 | -5/+5 |
| | |||||
* | `cargo fix --edition` | Simon Sapin | 2018-11-06 | 1 | -12/+12 |
| | |||||
* | Rustfmt net crate | Pyfisch | 2018-11-03 | 1 | -142/+185 |
| | |||||
* | Update hyper to 0.12 | Bastien Orivel | 2018-11-01 | 1 | -6/+5 |
| | |||||
* | Add lots of derived Debug impls | Alan Jeffrey | 2018-10-29 | 1 | -2/+2 |
| | |||||
* | Replace mpsc with crossbeam/servo channel, update ipc-channel | Simon Sapin | 2018-09-12 | 1 | -1/+1 |
| | | | | Co-authored-by: Gregory Terzian <gterzian@users.noreply.github.com> | ||||
* | move msg to embedder_traits, use in script, handle send error in embedder | Gregory Terzian | 2018-05-23 | 1 | -1/+1 |
| | |||||
* | refactor(filemanager): uses embedderproxy directly | OJ Kwon | 2018-04-27 | 1 | -12/+12 |
| | |||||
* | refactor(filemanager): use filemanagermsg to request embedder | OJ Kwon | 2018-04-27 | 1 | -6/+6 |
| | |||||
* | refactor(filemanager): remove awareness to ui behavior | OJ Kwon | 2018-04-27 | 1 | -3/+1 |
| | |||||
* | refactor(filemanager): send constellationmsg to select file | OJ Kwon | 2018-04-27 | 1 | -2/+2 |
| | |||||
* | refactor(resourcethread): expose constellationmsg channel | OJ Kwon | 2018-04-27 | 1 | -8/+13 |
| | |||||
* | delegate resource reading to embedder | Paul Rouget | 2018-04-27 | 1 | -9/+11 |
| |