News for hackers. Stuff that matters.
Re:Browsers barely care what HTTP status code your web pages... by bhelkey on Friday August 11, 2023 @03:42AM (#37086145)
> Unless a blocked domain corresponds to the front page I visit in a URL, the unavailable resource represents a silent failure

Is this not intended behavior? Were you not expecting ads to be silently removed?

Re:Browsers barely care what HTTP status code your web pages... by sclu1034 on Friday August 11, 2023 @04:10AM (#37086279)
From the user's point of view, yes, that is intended behavior. But the browser can't know that, all it sees is a dropped connection. For all it knows, there could be an actual issue with the network.

But unless you open the dev tools' network tab, you don't know about that request failing.

Re:Browsers barely care what HTTP status code your web pages... by NoZebra120vClip on Friday August 11, 2023 @06:35AM (#37087119)
TCP RST is indeed considered a transient failure, and the RFCs specify that it should be retried several times before giving up.

My ad blocker returns "0.0.0.0" for A records, which in practice means attempts to connect to 127.0.0.1, which isn't running a server of any kind on port 443/tcp or 80/tcp. So a standards-compliant client would really hang awhile, or hold rendering, until several connects have been attempted and they all failed.