Bug 227942 - [curl] CurlRequestScheduler thread runs busily while all active handles are paused to wait for completeDidReceiveResponse
Summary: [curl] CurlRequestScheduler thread runs busily while all active handles are p...
Status: RESOLVED DUPLICATE of bug 227966
Alias: None
Product: WebKit
Classification: Unclassified
Component: Platform (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-07-13 22:35 PDT by Fujii Hironori
Modified: 2021-08-02 13:47 PDT (History)
0 users

See Also:


Attachments
logging patch (1.28 KB, patch)
2021-07-13 22:35 PDT, Fujii Hironori
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Fujii Hironori 2021-07-13 22:35:08 PDT
Created attachment 433489 [details]
logging patch

[curl] CurlRequestScheduler thread runs busily while all active handles are paused to wait for completeDidReceiveResponse

1. Apply the logging patch and compile WinCairo WebKit
2. Remove the cache directory manually
   C:\Users\<username>\AppData\Local\Apple Computer\WebKit
3. $env:WebCoreLogging = "Network"
4. Start WinCairo WK2 MiniBrowser
5. Go to https://www.asahi.com/
6. Server Trust Evaluation Request dialogs are popped up
7. Close the dialogs
8. Wait for finish loading
9. Check the log

The log contains a lot of maxfd=-1 lines.

> CurlRequestScheduler::workerThread maxfd=-1 rc=0
> CurlRequestScheduler::workerThread activeCount=1
> CurlRequestScheduler::workerThread maxfd=-1 rc=0
> CurlRequestScheduler::workerThread activeCount=1
> CurlRequestScheduler::workerThread maxfd=-1 rc=0
> CurlRequestScheduler::workerThread activeCount=1
Comment 1 Fujii Hironori 2021-07-16 14:15:58 PDT
r279993 fixed this bug.

*** This bug has been marked as a duplicate of bug 227966 ***