Integrated browser: bounded favicon loading

Problem. Favicons are fetched in the main process and the whole body is buffered. A page can point its icon at a huge response.

Fix. Stream with a byte cap and abort when it is exceeded. Accept image types only.

Do you like what you are reading? Subscribe to receive updates.

Unsubscribe anytime