<?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>185746</bug_id>
          
          <creation_ts>2018-05-17 14:35:33 -0700</creation_ts>
          <short_desc>[Curl] Enable HTTP/2 Multiplexing</short_desc>
          <delta_ts>2018-05-17 17:12:21 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Platform</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Don Olmstead">don.olmstead</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bfulgham</cc>
    
    <cc>commit-queue</cc>
    
    <cc>ews-watchlist</cc>
    
    <cc>galpeter</cc>
    
    <cc>pvollan</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>youennf</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1424921</commentid>
    <comment_count>0</comment_count>
    <who name="Don Olmstead">don.olmstead</who>
    <bug_when>2018-05-17 14:35:33 -0700</bug_when>
    <thetext>libcurl requires setup to enable HTTP/2 multiplexing in a multi handle.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1424941</commentid>
    <comment_count>1</comment_count>
      <attachid>340654</attachid>
    <who name="Don Olmstead">don.olmstead</who>
    <bug_when>2018-05-17 14:55:26 -0700</bug_when>
    <thetext>Created attachment 340654
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1424958</commentid>
    <comment_count>2</comment_count>
      <attachid>340654</attachid>
    <who name="youenn fablet">youennf</who>
    <bug_when>2018-05-17 15:13:18 -0700</bug_when>
    <thetext>Comment on attachment 340654
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=340654&amp;action=review

&gt; Source/WebCore/ChangeLog:3
&gt; +        [Curl] Enable HTTP/2 Multiplexing

Nice!

&gt; Source/WebCore/ChangeLog:8
&gt; +        Covered by existing tests.

I do not think WebKit has HTTP/2 test infra so I guess you have your own internal tests?

&gt; Source/WebCore/platform/network/curl/CurlContext.cpp:202
&gt; +        curl_multi_setopt(m_multiHandle, CURLMOPT_PIPELINING, CURLPIPE_MULTIPLEX);

Will the handle support both HTTP/2 and HTTP/1.1?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1424990</commentid>
    <comment_count>3</comment_count>
    <who name="Don Olmstead">don.olmstead</who>
    <bug_when>2018-05-17 16:26:20 -0700</bug_when>
    <thetext>(In reply to youenn fablet from comment #2)
&gt; Comment on attachment 340654 [details]
&gt; Patch
&gt; 
&gt; View in context:
&gt; https://bugs.webkit.org/attachment.cgi?id=340654&amp;action=review
&gt; 
&gt; &gt; Source/WebCore/ChangeLog:3
&gt; &gt; +        [Curl] Enable HTTP/2 Multiplexing
&gt; 
&gt; Nice!

Getting closer to having it working all the way but this flag is needed for us to keep digging deeper into it. This particular flag on curl_multi got lost in us dividing up patches to land.

&gt; 
&gt; &gt; Source/WebCore/ChangeLog:8
&gt; &gt; +        Covered by existing tests.
&gt; 
&gt; I do not think WebKit has HTTP/2 test infra so I guess you have your own
&gt; internal tests?

Oh my mistake. I figured there was something in there to test that HTTP/2 is working properly.

&gt; 
&gt; &gt; Source/WebCore/platform/network/curl/CurlContext.cpp:202
&gt; &gt; +        curl_multi_setopt(m_multiHandle, CURLMOPT_PIPELINING, CURLPIPE_MULTIPLEX);
&gt; 
&gt; Will the handle support both HTTP/2 and HTTP/1.1?

Yea internally curl makes that decision.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1425004</commentid>
    <comment_count>4</comment_count>
      <attachid>340654</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2018-05-17 17:05:05 -0700</bug_when>
    <thetext>Comment on attachment 340654
Patch

Clearing flags on attachment: 340654

Committed r231932: &lt;https://trac.webkit.org/changeset/231932&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1425005</commentid>
    <comment_count>5</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2018-05-17 17:05:06 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1425006</commentid>
    <comment_count>6</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2018-05-17 17:12:21 -0700</bug_when>
    <thetext>&lt;rdar://problem/40350788&gt;</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>340654</attachid>
            <date>2018-05-17 14:55:26 -0700</date>
            <delta_ts>2018-05-17 17:05:05 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-185746.diff</filename>
            <type>text/plain</type>
            <size>1231</size>
            <attacher name="Don Olmstead">don.olmstead</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL1NvdXJjZS9XZWJDb3JlL0NoYW5nZUxvZyBiL1NvdXJjZS9XZWJDb3JlL0No
YW5nZUxvZwppbmRleCAxY2JlY2EwMmYxZC4uNDU2NTJjZWU0MTAgMTAwNjQ0Ci0tLSBhL1NvdXJj
ZS9XZWJDb3JlL0NoYW5nZUxvZworKysgYi9Tb3VyY2UvV2ViQ29yZS9DaGFuZ2VMb2cKQEAgLTEs
MyArMSwxNSBAQAorMjAxOC0wNS0xNyAgRG9uIE9sbXN0Z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