Closed
Bug 716380
Opened 13 years ago
Closed 12 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•13 years ago
|
||
Attachment #586813 -
Flags: review?(honzab.moz)
Comment 2•12 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•12 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/a9823c18b423
Comment 4•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/a9823c18b423
Assignee: nobody → mcmanus
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla12
You need to log in
before you can comment on or make changes to this bug.
Description
•