Closed florian-berger closed 5 years ago
The cause is one of the icons being returned as "200 OK" despite being invalid. FaviconFetcher should skip it, but it is throwing the exception instead.
Are you getting this exception from the version on NuGet? I am able to replicate this behavior from that, but it is working for the GitHub version. I'll be able to get the right version up by Saturday morning.
Yes, I get this issue when using the NuGet version. Thanks for your quick response.
The NuGet package has been updated with a fix, and your test code is working now. Thanks for reporting this!
Hello,
I have a little problem with using FaviconFetcher in my test software. In some cases I get an System.IO.EndOfStreamException with message
I am using the following code:
The exception is thrown in the line starting with
var image =
. When changing the size to 32x32 or lower it works without any problem. Other URIs like 'https://google.com' are working without any problems when using 128x128.Stacktrace:
Is it possible to prevent this exception without changing the dimensions of the expected image?