<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>173449</bug_id>
          
          <creation_ts>2017-06-15 17:16:29 -0700</creation_ts>
          <short_desc>[Curl] Use pipe in SocketStreamHandle rather than polling</short_desc>
          <delta_ts>2020-02-03 18:50:49 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebCore Misc.</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows 10</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=187984</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>172630</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Basuke Suzuki">basuke</reporter>
          <assigned_to name="Basuke Suzuki">basuke</assigned_to>
          <cc>don.olmstead</cc>
    
    <cc>fujii</cc>
    
    <cc>takashi.komori</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1319787</commentid>
    <comment_count>0</comment_count>
    <who name="Basuke Suzuki">basuke</who>
    <bug_when>2017-06-15 17:16:29 -0700</bug_when>
    <thetext>Current implementation uses polling by calling ::select with a timeout. It can be better using pipe to wake up the thread when data is waiting to send.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1442894</commentid>
    <comment_count>1</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2018-07-17 19:41:25 -0700</bug_when>
    <thetext>c++ - How to cancel waiting in select() on Windows - Stack Overflow
https://stackoverflow.com/questions/3333361/how-to-cancel-waiting-in-select-on-windows</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1614342</commentid>
    <comment_count>2</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2020-02-03 18:50:49 -0800</bug_when>
    <thetext>libcurl 7.68.0 added curl_multi_wakeup 
https://curl.haxx.se/libcurl/c/curl_multi_wakeup.html</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>