Closed
Bug 1215880
Opened 9 years ago
Closed 7 years ago
Allow registering async proxy filter
Categories
(Core :: Networking, defect, P5)
Core
Networking
Tracking
()
RESOLVED
DUPLICATE
of bug 1152332
Tracking | Status | |
---|---|---|
firefox44 | --- | affected |
People
(Reporter: xidorn, Unassigned)
References
(Blocks 1 open bug)
Details
(Whiteboard: [necko-would-take])
Currently, the only mechanism for addon to change proxy (apart from modifying the prefs) is adding proxy filter, and the interface of proxy filter is designed that it can only return proxy info synchronously.
However, proxy decision may rely on the IP address of the target instead of only the url. In that case, the filter have to synchronously resolve the address because of the limitation above, which can block the requesting thread. It is undesired.
OTOH, for PAC file, we do that in a separate thread, and make the dnsResolve() function be handled asynchronously. It is funny that something we can do in pac file cannot be done via internal interface for addon.
So I suggest we add API to allow having async proxy filter.
Updated•9 years ago
|
Whiteboard: [necko-would-take]
Updated•7 years ago
|
Blocks: webextensions-proxy-api
Comment 1•7 years ago
|
||
Bulk change to priority: https://bugzilla.mozilla.org/show_bug.cgi?id=1399258
Priority: -- → P5
Updated•7 years ago
|
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•