| Summary: | [Curl] Add curl option CURLOPT_NOSIGNAL to omit numerous sigaction calls | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Souju TANAKA <sojulibra> | ||||
| Component: | WebCore Misc. | Assignee: | Nobody <webkit-unassigned> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Minor | CC: | Basuke.Suzuki, chris.reid, don.olmstead, ews-watchlist, galpeter, Hironori.Fujii, stephan.szabo, takashi.komori, webkit-bug-importer | ||||
| Priority: | P2 | Keywords: | InRadar | ||||
| Version: | WebKit Nightly Build | ||||||
| Hardware: | Other | ||||||
| OS: | Other | ||||||
| Attachments: |
|
||||||
|
Description
Souju TANAKA
2021-06-17 04:53:02 PDT
Created attachment 431756 [details]
Patch
Why does curl block SIGPIPE even on platforms supporting MSG_NOSIGNAL and SO_NOSIGPIPE? Increasing sigaction calls as O(N^2) seems like a curl bug. Committed r279046 (238966@main): <https://commits.webkit.org/238966@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 431756 [details]. Not all systems provide enough way to avoid SIGPIPE. SO_NOSIGPIPE socket option is available in BSD based OS. MSG_NOSIGNAL flag has been brought in since Linux 2.2. Thank you for your review. |