Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use `ROUTER::add_typed_route` instead of `ROUTER::add_route` everywhere (#33866) | Simon Wülker | 2024-10-18 | 1 | -3/+3 |
| | | | | | | | | | | | | | * Use ROUTER::add_typed_route where possible Signed-off-by: Simon Wülker <simon.wuelker@arcor.de> * Update webxr, media and ipc-channel Signed-off-by: Simon Wülker <simon.wuelker@arcor.de> --------- Signed-off-by: Simon Wülker <simon.wuelker@arcor.de> | ||||
* | dependencies: Upgrade `cookie` and rename Servo's `Cookie` to `ServoCookie` ↵ | Martin Robinson | 2024-07-26 | 1 | -2/+2 |
| | | | | | | | | | | | | | | (#32861) This changes updates to the new version of the `cookie` crate in Servo which no longer uses the old `time@0.1` data types. This requires using a new version of `time` while we transition off of the old one. This is the first step in that process. In addition, the overloading of the `cookie::Cookie` name was causing a great deal of confusion, so I've renamed the Servo wrapper to `ServoCookie` like we do with `ServoUrl`. Signed-off-by: Martin Robinson <mrobinson@igalia.com> | ||||
* | Net: fold websocket and http tokio runtime into one (#31771) | tannal | 2024-03-21 | 1 | -11/+2 |
| | | | | | | | | | * net: use the same tokio runtime in websocket loader #31648 * readability * license | ||||
* | clippy: fix warnings in components/net (#31564) | eri | 2024-03-10 | 1 | -3/+3 |
| | | | | | | | * clippy: fix some warnings in components/net * fix: review comments * fix: tidy | ||||
* | Strict import formatting (grouping and granularity) (#30325) | Samson | 2023-09-11 | 1 | -11/+11 |
| | | | | | * 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 | -23/+17 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | bump base64 from 0.10 to 0.21 (#29804) | Tuna | 2023-08-02 | 1 | -1/+2 |
| | | | | | | | | | * bump base64 from 0.10 to 0.21 * Fix configuration of bitflags --------- Co-authored-by: Martin Robinson <mrobinson@igalia.com> | ||||
* | Update tungstenite | Fabrice Desré | 2023-05-20 | 1 | -59/+43 |
| | |||||
* | Upgrade Hyper | Naveen Gattu | 2022-01-16 | 1 | -3/+3 |
| | |||||
* | net: Remove explicit Host header from websocket connection. | Josh Matthews | 2020-07-16 | 1 | -26/+1 |
| | |||||
* | net: Replace ws-rs with async-tungstenite. | Josh Matthews | 2020-07-08 | 1 | -241/+435 |
| | |||||
* | net: Allow SSL websockets to use dynamic list of certs as well. | Josh Matthews | 2020-06-09 | 1 | -2/+12 |
| | |||||
* | net: Pass certs that fail the SSL handshake out of the network layer. | Josh Matthews | 2020-06-09 | 1 | -2/+3 |
| | |||||
* | net: Add an SSL verification callback to support checking a dynamic list of ↵ | Josh Matthews | 2020-06-09 | 1 | -2/+2 |
| | | | | certs. | ||||
* | Remove duplicate Host header from initial websocket request. | Josh Matthews | 2020-05-22 | 1 | -22/+0 |
| | |||||
* | Don't panic when dealing with disconnected websockets. | Josh Matthews | 2020-02-25 | 1 | -7/+17 |
| | |||||
* | Cookie header values can be utf8 | Patrick Shaughnessy | 2020-01-28 | 1 | -1/+1 |
| | |||||
* | Cookies are now expired immediately before each lookup | Patrick Shaughnessy | 2020-01-24 | 1 | -0/+1 |
| | |||||
* | Fix HSTS | Jan Andre Ikenmeyer | 2020-01-07 | 1 | -0/+17 |
| | |||||
* | Add ALPN and signature algorithms to OpenSSL config | Jan Andre Ikenmeyer | 2019-11-30 | 1 | -3/+4 |
| | |||||
* | use ipc router to handle ws dom-action messages | Gregory Terzian | 2019-10-09 | 1 | -4/+7 |
| | |||||
* | Upgrade headers, headers-core, and hyper_serde. | Josh Matthews | 2019-06-13 | 1 | -1/+1 |
| | |||||
* | Net: removed opts::get() usage | oneturkmen | 2019-06-06 | 1 | -2/+4 |
| | |||||
* | Implementing the builder pattern for RequestInit | Lucas Fantacuci | 2019-04-10 | 1 | -13/+15 |
| | |||||
* | Remove redundant `.clone()`s | Shotaro Yamada | 2018-12-11 | 1 | -1/+1 |
| | |||||
* | Update MPL license to https (part 4) | Jan Andre Ikenmeyer | 2018-11-19 | 1 | -1/+1 |
| | |||||
* | Reorder imports | Pyfisch | 2018-11-06 | 1 | -4/+7 |
| | |||||
* | Sort `use` statements | Simon Sapin | 2018-11-06 | 1 | -2/+2 |
| | |||||
* | `cargo fix --edition` | Simon Sapin | 2018-11-06 | 1 | -5/+5 |
| | |||||
* | Rustfmt net crate | Pyfisch | 2018-11-03 | 1 | -104/+133 |
| | |||||
* | Update hyper to 0.12 | Bastien Orivel | 2018-11-01 | 1 | -15/+20 |
| | |||||
* | The WS protocols should be case sensitive, not insensitive | Bastien Orivel | 2018-08-16 | 1 | -3/+3 |
| | |||||
* | Handle secure websockets | Bastien Orivel | 2018-08-16 | 1 | -0/+29 |
| | | | | Fixes #20816 | ||||
* | Replace servo-websocket by ws | Bastien Orivel | 2018-08-15 | 1 | -603/+151 |
| | | | | | | This is heavily based on previous work done in #16012. Fixes #14517 | ||||
* | Update servo-websocket to 0.21 | Bastien Orivel | 2018-03-15 | 1 | -18/+33 |
| | |||||
* | Upgrade to rustc 1.23.0-nightly (02004ef78 2017-11-08) | Simon Sapin | 2017-11-09 | 1 | -1/+0 |
| | |||||
* | Merge functionality of WebsocketConnect into Fetch | Keith Yeung | 2017-10-24 | 1 | -23/+24 |
| | |||||
* | Merge request type and destination | Keith Yeung | 2017-10-23 | 1 | -3/+3 |
| | |||||
* | Rename basic fetch to scheme fetch | Keith Yeung | 2017-08-08 | 1 | -3/+3 |
| | |||||
* | Move hosts module into net crate. Remove obsolete functions. | Josh Matthews | 2017-04-06 | 1 | -1/+1 |
| | |||||
* | Pass the url by value to websocket_loader::main_fetch | Anthony Ramine | 2017-04-05 | 1 | -6/+6 |
| | |||||
* | Use set_default_accept in websocket_loader | Anthony Ramine | 2017-04-04 | 1 | -17/+5 |
| | |||||
* | Properly set Accept-Language in websocket_loader | Anthony Ramine | 2017-04-04 | 1 | -2/+2 |
| | |||||
* | Use cookie::from_cookie_string in websocket_loader | Anthony Ramine | 2017-04-04 | 1 | -5/+2 |
| | |||||
* | Pass http_state around in websocket_loader | Anthony Ramine | 2017-04-03 | 1 | -18/+17 |
| | |||||
* | Move Arc out of HttpState | Anthony Ramine | 2017-04-03 | 1 | -10/+10 |
| | |||||
* | Update Hyper and OpenSSL | ddh | 2017-03-31 | 1 | -2/+5 |
| | |||||
* | Disable wss support | Anthony Ramine | 2017-03-31 | 1 | -38/+24 |
| | | | | | | None of the existing websocket libraries are currently able to cope with openssl 0.9 and be featureful, so we are disabling wss for now to land openssl 0.9. | ||||
* | Make the WebSocket handshake ourselves to ease switching libs | Anthony Ramine | 2017-03-29 | 1 | -67/+554 |
| | | | | | | We need to switch to tungstenite to finally update openssl, this commit rewrites the whole websocket infrastructure to properly follow the Fetch spec and to make switching to a different websocket library easier. |