Summary: | only the first of FindProxyForURL()'s results is honored | ||
---|---|---|---|
Product: | [Unmaintained] kio | Reporter: | mi+kde |
Component: | http | Assignee: | Unassigned bugs mailing-list <unassigned-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | CC: | adawit, jjm |
Priority: | NOR | ||
Version: | 4.0 | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | FreeBSD | ||
Latest Commit: | Version Fixed In: | 4.7.0 | |
Sentry Crash Report: |
Description
mi+kde
2003-09-23 19:26:44 UTC
If it's direct, it's not by proxy. I don't think the code was written to do what you are asking of it, so I don't think it will ever work. I'll leave for someone else to make a final word on this, but I can already tell you that: 1) this is probably a "wishlist", since the feature is not implemented 2) it will probably be closed as WONTFIX I frivolously suspect, that even the list, which contains multiple proxies would not work as expected, but I have not tested this. Multiple proxy hosts are not supported at the moment, likewise multiple hosts (IPs) for a single hostname are not supported either. In both cases only the first one is tried. Changed to wishlist. Probably useful to implement after KDE 3.2 3.3 is out and this feature is still not in :-( Nobody is even looking at wish-list items, I suspect. I'd like to be able to add another possible result to the FindProxyForURL(): "REJECT". This way all sorts of censorship can be implemented -- such as ad-blocking -- without adding advertisers' servers to the /etc/hosts: function FindProxyForURL(url, host) { if (isPlainHostName(host)) return "DIRECT"; if (shExpMatch(url, "*advert*") return "REJECT"; return "PROXY 10.0.2.100:2880; PROXY 10.0.3.100; DIRECT"; } *** Bug 118854 has been marked as a duplicate of this bug. *** This will probably be fixed for KDE 4.7. I have already committed one half portion of the code that would make this possible. The other more important half is still pending and hopeful will be committed before 4.7 release. See the url below for details: https://git.reviewboard.kde.org/r/101037/ See comment #6. |