Closed
Bug 45337
Opened 25 years ago
Closed 25 years ago
HTTP channel loses track of SecurityInfo
Categories
(Core :: Networking, defect, P3)
Tracking
()
VERIFIED
FIXED
People
(Reporter: jgmyers, Assigned: ruslan)
References
Details
(Whiteboard: awaiting review [nsbeta3+])
Attachments
(1 file)
|
866 bytes,
patch
|
Details | Diff | Splinter Review |
Running with the patch attached to bug 31982, my OnStatusChange() handler is
receiving the flag_stop notification for cookie.js after the SecurityInfo for
the channel has been removed. I need the flag_stop notification while the
nsIChannel::GetSecurityInfo() value previously returned is still there.
Entry at index 0 is https://scopus/bugsplat
1024[8063d60]: SecureUI:874c288: OnStateChange: 70001 :https://scopus/bugsplat
pushing io layer: ssl
1024[8063d60]: SecureUI:874c288: OnStateChange: 10001 :https://scopus/bugsplat/
pushing io layer: ssl
1024[8063d60]: SecureUI:874c288: OnStateChange: 10010 :https://scopus/bugsplat
Opening file 56955828.s failed
WEBSHELL+ = 5
->>>>>>>>>>>>>> Write Clipboard to memory
nsWidget::~nsWidget() of toplevel: 12 widgets still exist.
WEBSHELL- = 4
1024[8063d60]: SecureUI:874c288: OnStateChange: 10001 :https://scopus/bugsplat/
pushing io layer: ssl
1024[8063d60]: SecureUI:874c288: OnStateChange: 10010 :https://scopus/bugsplat/
Enabling Quirk StyleSheet
Enabling Quirk StyleSheet
1024[8063d60]: SecureUI:874c288: OnStateChange: 70010 :https://scopus/bugsplat
Document: Done (25.808 secs)
Error loading URL https://scopus/bugsplat
1024[8063d60]: SecureUI:874c288: OnStateChange: 70001
:https://scopus/bugsplat/index.cgi
pushing io layer: ssl
Enabling Quirk StyleSheet
Enabling Quirk StyleSheet
1024[8063d60]: SecureUI:874c288: OnStateChange: 10001
:https://scopus/bugsplat/cookie.js
pushing io layer: ssl
1024[8063d60]: SecureUI:874c288: OnStateChange: 30004
:https://scopus/bugsplat/index.cgi
1024[8063d60]: SecureUI: GetSecurityState:8885f60 - info is 89fa538
1024[8063d60]: SecureUI:874c288: OnStateChange: 10010
:https://scopus/bugsplat/index.cgi
1024[8063d60]: SecureUI: GetSecurityState:8885f60 - info is 89fa538
1024[8063d60]: SecureUI:874c288: OnStateChange: 10004
:https://scopus/bugsplat/cookie.js
1024[8063d60]: SecureUI: GetSecurityState:8acf7b0 - info is 8a18a38
1024[8063d60]: SecureUI:874c288: OnStateChange: 10001
:https://scopus/bugsplat/nslogo.jpg
pushing io layer: ssl
1024[8063d60]: SecureUI:874c288: OnStateChange: 10001
:https://scopus/bugsplat/redbull.jpg
pushing io layer: ssl
1024[8063d60]: SecureUI:874c288: OnStateChange: 10001
:https://scopus/bugsplat/bugchart1.jpg
pushing io layer: ssl
1024[8063d60]: SecureUI:874c288: OnStateChange: 10010
:https://scopus/bugsplat/cookie.js
1024[8063d60]: SecureUI: GetSecurityState:8acf7b0 - no nsIPSMSocketInfo for 0
1024[8063d60]: SecureUI: GetSecurityState:8acf7b0 - no nsIPSMSocketInfo for 0
1024[8063d60]: SecureUI:874c288: OnStateChange - Icon set to broken: 1
1024[8063d60]: SecureUI:874c288: OnStateChange: 10004
:https://scopus/bugsplat/nslogo.jpg
1024[8063d60]: SecureUI:874c288: OnStateChange: 10004
:https://scopus/bugsplat/redbull.jpg
1024[8063d60]: SecureUI:874c288: OnStateChange: 10004
:https://scopus/bugsplat/bugchart1.jpg
1024[8063d60]: SecureUI:874c288: OnStateChange: 10010
:https://scopus/bugsplat/nslogo.jpg
1024[8063d60]: SecureUI:874c288: OnStateChange: 10010
:https://scopus/bugsplat/redbull.jpg
1024[8063d60]: SecureUI:874c288: OnStateChange: 70010
:https://scopus/bugsplat/index.cgi
1024[8063d60]: SecureUI:874c288: Icon set to broken
| Reporter | ||
Comment 1•25 years ago
|
||
I have confirmed this also happens with unmodified psm-glue code. This also
blocks 41863, so I am nominating it for nsbeta3.
Keywords: nsbeta3
Comment 2•25 years ago
|
||
Cc'ing embedding API pals who may be able to help before rpotts gets back from
vacation.
/be
Comment 3•25 years ago
|
||
who is removing the security info, and why?
Comment 4•25 years ago
|
||
cache? I thought that we were addrefing these objects.
| Reporter | ||
Comment 5•25 years ago
|
||
Further investigation shows that in nsHTTPChannel::GetSecurityInfo(), trans is
null, mCacheEntry is non-null, and mSecurityInfo is non-null before and null
after the call to mCacheEntry->GetSecurityInfo().
| Reporter | ||
Comment 6•25 years ago
|
||
| Reporter | ||
Comment 7•25 years ago
|
||
Change Summary, was "OnStatusChange() flag_stop notification arriving too late"
Summary: OnStatusChange() flag_stop notification arriving too late → HTTP channel loses track of SecurityInfo
| Reporter | ||
Comment 8•25 years ago
|
||
Ruslan has is name on the HTTP channel code that attempts to save security info
before the transport disappears. Reassigning to him.
Assignee: rpotts → ruslan
approving. someone still needs to review.
Whiteboard: awaiting review & approval → awaiting review [nsbeta3+]
| Assignee | ||
Comment 10•25 years ago
|
||
Gagan, can I put you as r/a?
| Assignee | ||
Comment 11•25 years ago
|
||
The patch is in
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•