Closed
Bug 346151
Opened 20 years ago
Closed 20 years ago
Want nsIProxiedChannel
Categories
(Core :: Networking, enhancement, P1)
Core
Networking
Tracking
()
RESOLVED
FIXED
mozilla1.9alpha1
People
(Reporter: Biesinger, Assigned: Biesinger)
References
Details
Attachments
(1 file)
|
24.00 KB,
patch
|
darin.moz
:
review+
bzbarsky
:
superreview+
|
Details | Diff | Splinter Review |
I think it would be a good idea to expose the proxyInfo that a channel was constructed with on the channel. That way, users can find out exactly where the connection went. The interface would look like:
/**
* An interface for accessing the proxy info that a channel was constructed with.
*
* @see nsIProxiedProtocolHandler
*/
interface nsIProxiedChannel : nsISupports {
readonly attribute nsIProxyInfo proxyInfo;
};
This should maybe be a cloned proxy info to ensure callers can't mess with the channel's state, although nsIProxyInfo does not currently expose a clone method...
| Assignee | ||
Updated•20 years ago
|
Assignee: nobody → cbiesinger
Blocks: 265780
Severity: normal → enhancement
OS: Linux → All
Hardware: PC → All
| Assignee | ||
Comment 1•20 years ago
|
||
OK, so currently nsIHttpChannelInternal has this same attribute, but a more generic way seems more useful, especially as there _are_ other channels that support proxies (although only SOCKS).
Priority: -- → P1
Target Milestone: --- → mozilla1.9alpha
| Assignee | ||
Comment 2•20 years ago
|
||
Attachment #231041 -
Flags: superreview?
Attachment #231041 -
Flags: review?(darin)
| Assignee | ||
Updated•20 years ago
|
Attachment #231041 -
Flags: superreview? → superreview?(bzbarsky)
Comment 3•20 years ago
|
||
Comment on attachment 231041 [details] [diff] [review]
patch
Looks reasonable.
Attachment #231041 -
Flags: superreview?(bzbarsky) → superreview+
| Assignee | ||
Updated•20 years ago
|
Status: NEW → ASSIGNED
| Assignee | ||
Comment 4•20 years ago
|
||
oh, in case someone wonders about the bug 265780 dependency - the authprompt implementation needs a way to figure out what the proxy was when the PROXY_AUTH flag is set, and this would be a way to provide that.
Updated•20 years ago
|
Attachment #231041 -
Flags: review?(darin) → review+
| Assignee | ||
Comment 5•20 years ago
|
||
fixed on trunk
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•