mirror of
https://github.com/servo/servo.git
synced 2025-07-24 15:50:21 +01:00
This allows reusing the asynchrnous fetch mechanism that we use for page resources and is likely a step toward removing the `FetchThread`. Benefits: - Reduces IPC traffic during navigation. Now instead of bouncing between the constellation and the `ScriptThread` responses are sent directly to the `ScriptThread`. - Allows cancelling loads after redirects, which was not possible before. There is the question of what to do when a redirect is cross-origin (#23037). This currently isn't handled properly as the `Constellation` sends data to the same `Pipeline` that initiated the load. This change doesn't fix this issue, but does make it more possible for the `ScriptThread` to shut down the pipeline and ask the `Constellation` to replace it with a new one. Signed-off-by: Martin Robinson <mrobinson@igalia.com> |
||
---|---|---|
.. | ||
fetch | ||
protocols | ||
tests | ||
async_runtime.rs | ||
Cargo.toml | ||
connector.rs | ||
cookie.rs | ||
cookie_storage.rs | ||
decoder.rs | ||
filemanager_thread.rs | ||
hosts.rs | ||
hsts.rs | ||
http_cache.rs | ||
http_loader.rs | ||
image_cache.rs | ||
lib.rs | ||
local_directory_listing.rs | ||
mime_classifier.rs | ||
resource_thread.rs | ||
storage_thread.rs | ||
subresource_integrity.rs | ||
websocket_loader.rs |