Closed
Bug 716380
Opened 14 years ago
Closed 14 years ago
socket transport n != 0 assertion
Categories
(Core :: Networking: HTTP, defect)
Tracking
()
RESOLVED
FIXED
mozilla12
People
(Reporter: mcmanus, Assigned: mcmanus)
References
Details
Attachments
(1 file)
1017 bytes,
patch
|
mayhemer
:
review+
|
Details | Diff | Splinter Review |
- NS_ASSERTION(n != 0, "unexpected return value");
is firing when doing ssl handshakes with spdy enabled. (nsSocketTransport2.cpp around 585)
it is checking the PR_Write() return value - 0 is actually fine and expected in this case (where 0 was submitted), I've read through the sockettransport code as well as the nsIOutputStream interface and it shouldn't be a problem.
the error seems to be with the NSPR documentation of PR_Write(). Brian is going to follow up on that one.
Assignee | ||
Comment 1•14 years ago
|
||
Attachment #586813 -
Flags: review?(honzab.moz)
![]() |
||
Comment 2•14 years ago
|
||
Comment on attachment 586813 [details] [diff] [review]
patch 0
Review of attachment 586813 [details] [diff] [review]:
-----------------------------------------------------------------
r=honzab
Maybe, do this check/assertion only if count != 0 ?
Attachment #586813 -
Flags: review?(honzab.moz) → review+
Assignee | ||
Comment 3•14 years ago
|
||
Comment 4•14 years ago
|
||
Assignee: nobody → mcmanus
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla12
You need to log in
before you can comment on or make changes to this bug.
Description
•