[Webkit-unassigned] [Bug 16071] New: Curl backend handles EINTR incorrectly

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Nov 20 08:09:27 PST 2007


http://bugs.webkit.org/show_bug.cgi?id=16071

           Summary: Curl backend handles EINTR incorrectly
           Product: WebKit
           Version: 525+ (Nightly build)
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Page Loading
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: dobey at wayofthemonkey.com


The curl backend is handling EINTR incorrectly by just stopping the stream. It
instead needs to try again when EINTR occurs in select(). We also need to use
perror() to print the error message when debug is enabled, so that the message
is useful, and not plainly "select() return -1". Failing to try again on EINTR
means that content is not downloadable as it should be. This occurs quite often
on YouTube and similar sites which stream data to a plug-in. By trying again on
EINTR we can watch the full videos and have the site behave as expected. With
this patch, the CPU usage and network usage patterns match those of firefox
when watching the same video on YouTube, where this problem occurs.


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list