Closed
Bug 132812
Opened 22 years ago
Closed 22 years ago
Need to handle the EINTR error from the sendfilev() system call
Categories
(NSPR :: NSPR, defect, P1)
Tracking
(Not tracked)
RESOLVED
FIXED
4.2
People
(Reporter: wtc, Assigned: wtc)
References
Details
Attachments
(1 file)
728 bytes,
patch
|
Details | Diff | Splinter Review |
The new Solaris sendfilev() system call occasionally fails with EINTR, even though all the signals we handle have the SA_RESTART flag set. So, PR_SendFile sometimes fails with the NSPR error PR_PENDING_INTERRUPT_ERROR and OS error EINTR under stress. I found that we handle the EINTR error in pt_SolarisSendFile but not in pt_solaris_sendfile_cont. I will attach a patch.
Assignee | ||
Comment 1•22 years ago
|
||
This patch should fix the PR_PENDING_INTERRUPT_ERROR from PR_SendFile and PR_TransmitFile.
Assignee | ||
Comment 2•22 years ago
|
||
Fix checked into the tip of NSPR.
Status: NEW → RESOLVED
Closed: 22 years ago
Priority: -- → P1
Resolution: --- → FIXED
Target Milestone: --- → 4.2
You need to log in
before you can comment on or make changes to this bug.
Description
•