Closed GoogleCodeExporter closed 9 years ago
There is an underlying performance problem here (1 extra DNS lookup per URL).
This
could perhaps be added at a later point (with caching, etc), but I wouldn't
want to
force the penalty on everyone.
Original comment by npmccallum@gmail.com
on 25 Feb 2009 at 8:31
Original comment by npmccallum@gmail.com
on 25 Feb 2009 at 8:31
Original comment by npmccallum@gmail.com
on 25 Feb 2009 at 8:32
I just verified what Firefox does in a similiar situation:
- Enter a proxy address
- Enter a exception to 10.0.0.0/8
- Browse to a site (using DNS name) that resolves to an IP in 10.0.0.0/8 network
-> Firefox forwards this request to the proxy.
so libproxy does exactly the same.
Typical example: default exception always contain localhost and 127.0.0.0/8. If
resolution would be performed to decide if the exception counts, localhost would
never have to be listed.
So I'm not sure libproxy should actually go down the road and perform the
(expensive
in respect to time) dns lookups.
Original comment by dominiqu...@gmail.com
on 26 Feb 2009 at 3:02
As the behaviour is consistent with other major implementations, we won't go
down the
road of slow performance due to dns requests.
Original comment by dominiqu...@gmail.com
on 27 Feb 2009 at 11:26
Original issue reported on code.google.com by
ke.w...@sun.com
on 16 Feb 2009 at 2:27