mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-05 06:32:30 +02:00
By creating a new FetchController here, we prevent the original FetchController from affecting the actual ongoing request. This is necessary to allow FetchController::stop_fetch() to stop an ongoing fetch in the subsequent commit. The purpose of the copy appears to be only to change the httpFetchParams' request over to the newly-cloned httpRequest, so all existing references should refer back to the originals rather than new instances.
4.9 KiB
4.9 KiB