Closed
Bug 29648
Opened 25 years ago
Closed 25 years ago
Need to be able to get the PRFileDesc from an nsIChannel
Categories
(Core :: Networking, defect, P3)
Tracking
()
CLOSED
WONTFIX
M15
People
(Reporter: dougt, Assigned: warrensomebody)
Details
I need the ablity to obtain the current PRFileDesc for a given nsIChannel. It
would be great if I could QI to the nsISocketTransport interface, then off of
that, get the descriptor.
The reason I need this is so that I can display page information about an ssl
connection. The ssl socket is nspr layered socket that contain cipher, key
length, and cert status in the upper layer. On a page load, I have a docloader
observer that needs to take the channel, get the filedescriptor, pop the secret
data, and save it, so that I can display correct page information if the user
requests it.
I am sure that imap(s) will have to do a similar thing.
| Reporter | ||
Comment 2•25 years ago
|
||
I am not sure that these should be combined. You have have a normal non-secure
channel, and want to get the socket of it. It does not make sense to get this
information of a nsISecurityInfo interface.
Comment 3•25 years ago
|
||
I don't think we should expose fd's to the channel consumer; feels dangerous.
| Assignee | ||
Comment 5•25 years ago
|
||
Invalid now with the solution to bug 29646, right?
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•