[Webkit-unassigned] [Bug 218994] New: [ews] Add timeout to network requests

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Nov 16 11:35:22 PST 2020


https://bugs.webkit.org/show_bug.cgi?id=218994

            Bug ID: 218994
           Summary: [ews] Add timeout to network requests
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: aakash_jain at apple.com

Sometimes network requests can get stuck or take very long time. It can introduce delays on EWS. Few days back (on nov 13), we noticed slowness on EWS when bugs.webkit.org requests were taking extremely long or getting stuck. 

We should add an explicit timeout to network requests, so that the network request is timely terminated.


Also, as per https://requests.readthedocs.io/en/master/user/quickstart/#timeouts:
"Nearly all production code should use this parameter in nearly all requests. Failure to do so can cause your program to hang indefinitely"

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20201116/f551e163/attachment.htm>


More information about the webkit-unassigned mailing list