Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
huuu
on Aug 27, 2015
|
parent
|
context
|
favorite
| on:
Ad Blocking Extensions Tested for Performance
I'm not sure: isn't it faster to just refuse the request than directing it to localhost and waiting for a time out?
jlgaddis
on Aug 28, 2015
|
next
[–]
As long as you don't have a firewall blocking traffic to/from localhost, the TCP connection will be reset almost immediately (assuming you don't have an httpd running on port 80) so you won't have to wait for a timeout.
rocky1138
on Aug 27, 2015
|
prev
|
next
[–]
That's the point. We'd like to see which is faster.
JoachimSchipper
on Aug 27, 2015
|
prev
[–]
localhost will RST the connection just fine, provided you don't have a webserver listening there.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: