servo/components/net
arthmis 90c5685d61
add minimal implementation of FetchParams (#34833)
* add minimal implementation of fetchParams and fetch controller for cancellation support

fix something

removing fetch params from http network or cache fetch due to implementation difficult

Signed-off-by: Lloyd Massiah <artmis9@protonmail.com>

* run formatter

Signed-off-by: Lloyd Massiah <artmis9@protonmail.com>

* fix incorrect spec implementation and add comments with related step number and description

Signed-off-by: Lloyd Massiah <artmis9@protonmail.com>

* fix double borrow issue

Signed-off-by: Lloyd Massiah <artmis9@protonmail.com>

* remove unused code from FetchParams

Signed-off-by: Lloyd Massiah <artmis9@protonmail.com>

* add workaround for double mutable borrow error

Signed-off-by: Lloyd Massiah <artmis9@protonmail.com>

* remove unnecessary comments, move import and format

Signed-off-by: Lloyd Massiah <artmis9@protonmail.com>

* fix comments that state spec instructions

Signed-off-by: Lloyd Massiah <artmis9@protonmail.com>

* update comment

Signed-off-by: Lloyd Massiah <artmis9@protonmail.com>

* refactor tests

Signed-off-by: Lloyd Massiah <artmis9@protonmail.com>

* refactor tests

Signed-off-by: Lloyd Massiah <artmis9@protonmail.com>

---------

Signed-off-by: Lloyd Massiah <artmis9@protonmail.com>
Co-authored-by: lazypassion <25536767+lazypassion@users.noreply.github.com>
2025-01-12 14:37:25 +00:00
..
fetch add minimal implementation of FetchParams (#34833) 2025-01-12 14:37:25 +00:00
protocols Update all network-related dependencies to the latest versions (#34630) 2025-01-08 05:47:58 +00:00
tests add minimal implementation of FetchParams (#34833) 2025-01-12 14:37:25 +00:00
async_runtime.rs Add prefs to limit threadpool sizes (#34478) 2024-12-07 05:25:17 +00:00
Cargo.toml Add http2 feature for hyper-util (#34920) 2025-01-09 13:37:08 +00:00
connector.rs Update all network-related dependencies to the latest versions (#34630) 2025-01-08 05:47:58 +00:00
cookie.rs Upgrade rustc to 1.83 (#34793) 2025-01-01 09:38:28 +00:00
cookie_storage.rs net: Stop using both versions of the time crate in the cookie code (#33260) 2024-08-30 17:15:47 +00:00
decoder.rs Update all network-related dependencies to the latest versions (#34630) 2025-01-08 05:47:58 +00:00
filemanager_thread.rs net: Use RequestId to cancel fetches instead of creating an IPC channel (#34883) 2025-01-11 11:49:22 +00:00
hosts.rs Replace the lazy_static crate with std::sync::LazyLock in components/net (#33046) 2024-08-14 12:15:55 +00:00
hsts.rs doc(resources): Preferences, HstsPreloadList, RippyPNG (#33775) 2024-10-10 18:19:41 +00:00
http_cache.rs Update all network-related dependencies to the latest versions (#34630) 2025-01-08 05:47:58 +00:00
http_loader.rs add minimal implementation of FetchParams (#34833) 2025-01-12 14:37:25 +00:00
image_cache.rs net: Raed RippyPNG resource once at startup. (#34954) 2025-01-12 01:42:24 +00:00
lib.rs add minimal implementation of FetchParams (#34833) 2025-01-12 14:37:25 +00:00
local_directory_listing.rs clippy: Fix a bunch of warnings in script (#32680) 2024-07-04 11:40:23 +00:00
mime_classifier.rs clippy: Fix a bunch of warnings in script (#32680) 2024-07-04 11:40:23 +00:00
resource_thread.rs add minimal implementation of FetchParams (#34833) 2025-01-12 14:37:25 +00:00
storage_thread.rs build: upgrade rustc to 1.81.0 (#34270) 2024-12-12 07:26:16 +00:00
subresource_integrity.rs clippy: Fix warnings in components/net (#31626) 2024-03-13 09:40:04 +00:00
websocket_loader.rs build(deps): bump async-tungstenite from 0.28.0 to 0.28.2 (#34904) 2025-01-08 21:51:38 +00:00