mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-09 08:33:28 +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.
2.6 KiB
2.6 KiB