<?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>177128</bug_id>
          
          <creation_ts>2017-09-19 02:11:02 -0700</creation_ts>
          <short_desc>[Curl] Fix r222147</short_desc>
          <delta_ts>2017-09-27 12:28:24 -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>WebCore Misc.</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="Daewoong Jang">daewoong.jang</reporter>
          <assigned_to name="Daewoong Jang">daewoong.jang</assigned_to>
          <cc>achristensen</cc>
    
    <cc>basuke</cc>
    
    <cc>bfulgham</cc>
    
    <cc>buildbot</cc>
    
    <cc>commit-queue</cc>
    
    <cc>darin</cc>
    
    <cc>don.olmstead</cc>
    
    <cc>galpeter</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1350274</commentid>
    <comment_count>0</comment_count>
    <who name="Daewoong Jang">daewoong.jang</who>
    <bug_when>2017-09-19 02:11:02 -0700</bug_when>
    <thetext>-Fix can&apos;t load https pages.
-Build fix for platforms other than Windows.
-Replace OS(WINDOWS) with PLATFORM(WIN).
-Some style fix.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1350275</commentid>
    <comment_count>1</comment_count>
      <attachid>321189</attachid>
    <who name="Daewoong Jang">daewoong.jang</who>
    <bug_when>2017-09-19 02:13:51 -0700</bug_when>
    <thetext>Created attachment 321189
patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1350462</commentid>
    <comment_count>2</comment_count>
      <attachid>321189</attachid>
    <who name="Basuke Suzuki">basuke</who>
    <bug_when>2017-09-19 13:07:40 -0700</bug_when>
    <thetext>Comment on attachment 321189
patch

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

&gt; Source/WebCore/platform/network/curl/CurlSSLVerifier.cpp:56
&gt; +    if (!verifier)

Oh my. Sorry about this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1350463</commentid>
    <comment_count>3</comment_count>
      <attachid>321189</attachid>
    <who name="Don Olmstead">don.olmstead</who>
    <bug_when>2017-09-19 13:08:40 -0700</bug_when>
    <thetext>Comment on attachment 321189
patch

I don&apos;t see how changing to PLATFORM(WIN) solves anything here.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1350473</commentid>
    <comment_count>4</comment_count>
    <who name="Basuke Suzuki">basuke</who>
    <bug_when>2017-09-19 13:30:19 -0700</bug_when>
    <thetext>(In reply to Don Olmstead from comment #3)
&gt; Comment on attachment 321189 [details]
&gt; patch
&gt; 
&gt; I don&apos;t see how changing to PLATFORM(WIN) solves anything here.

I guess that for Qt on Windows?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1350495</commentid>
    <comment_count>5</comment_count>
    <who name="Don Olmstead">don.olmstead</who>
    <bug_when>2017-09-19 14:04:36 -0700</bug_when>
    <thetext>(In reply to Basuke Suzuki from comment #4)
&gt; (In reply to Don Olmstead from comment #3)
&gt; &gt; Comment on attachment 321189 [details]
&gt; &gt; patch
&gt; &gt; 
&gt; &gt; I don&apos;t see how changing to PLATFORM(WIN) solves anything here.
&gt; 
&gt; I guess that for Qt on Windows?

Believe this is for his Android port. I&apos;m just not sure wanted to know why it would be a problem as android shouldn&apos;t be OS(WINDOWS) in this case.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1350561</commentid>
    <comment_count>6</comment_count>
    <who name="Daewoong Jang">daewoong.jang</who>
    <bug_when>2017-09-19 15:52:13 -0700</bug_when>
    <thetext>(In reply to Don Olmstead from comment #5)
&gt; (In reply to Basuke Suzuki from comment #4)
&gt; &gt; (In reply to Don Olmstead from comment #3)
&gt; &gt; &gt; Comment on attachment 321189 [details]
&gt; &gt; &gt; patch
&gt; &gt; &gt; 
&gt; &gt; &gt; I don&apos;t see how changing to PLATFORM(WIN) solves anything here.
&gt; &gt; 
&gt; &gt; I guess that for Qt on Windows?
&gt; 
&gt; Believe this is for his Android port. I&apos;m just not sure wanted to know why
&gt; it would be a problem as android shouldn&apos;t be OS(WINDOWS) in this case.

I&apos;d have kept these changes downstream if it only affects Android port. I submitted it because the guarded code shouldn&apos;t be OS dependent.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1350590</commentid>
    <comment_count>7</comment_count>
      <attachid>321189</attachid>
    <who name="Alex Christensen">achristensen</who>
    <bug_when>2017-09-19 17:52:30 -0700</bug_when>
    <thetext>Comment on attachment 321189
patch

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

I don&apos;t understand the need for this patch.

&gt; Source/WebCore/ChangeLog:3
&gt; +        [Curl] Fix r222147

What exactly does this fix?  Does it fix the build?  Does it fix https on Windows?  Does it fix https on non-windows?  Does it fix bypassing certificate warnings on certain systems?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1350597</commentid>
    <comment_count>8</comment_count>
    <who name="Daewoong Jang">daewoong.jang</who>
    <bug_when>2017-09-19 18:10:47 -0700</bug_when>
    <thetext>(In reply to Alex Christensen from comment #7)
&gt; Comment on attachment 321189 [details]
&gt; patch
&gt; 
&gt; View in context:
&gt; https://bugs.webkit.org/attachment.cgi?id=321189&amp;action=review
&gt; 
&gt; I don&apos;t understand the need for this patch.
&gt; 
&gt; &gt; Source/WebCore/ChangeLog:3
&gt; &gt; +        [Curl] Fix r222147
&gt; 
&gt; What exactly does this fix?  Does it fix the build?  Does it fix https on
&gt; Windows?  Does it fix https on non-windows?  Does it fix bypassing
&gt; certificate warnings on certain systems?

Does it fix the build?

&gt;&gt; Yes. It fixes building curl without OS(WINDOWS).

Does it fix https on Windows? Does it fix https on non-windows?

&gt;&gt; Yes. https://bugs.webkit.org/show_bug.cgi?id=177128#c2

Does it fix bypassing certificate warnings on certain systems?

&gt;&gt; I don&apos;t know. The problem is not loading https pages at all, not bypassing certificate warnings.

I&apos;m sure this is needed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1350604</commentid>
    <comment_count>9</comment_count>
    <who name="Daewoong Jang">daewoong.jang</who>
    <bug_when>2017-09-19 18:34:45 -0700</bug_when>
    <thetext>(In reply to Alex Christensen from comment #7)
&gt; Comment on attachment 321189 [details]
&gt; patch
&gt; 
&gt; View in context:
&gt; https://bugs.webkit.org/attachment.cgi?id=321189&amp;action=review
&gt; 
&gt; I don&apos;t understand the need for this patch.
&gt; 
&gt; &gt; Source/WebCore/ChangeLog:3
&gt; &gt; +        [Curl] Fix r222147
&gt; 
&gt; What exactly does this fix?  Does it fix the build?  Does it fix https on
&gt; Windows?  Does it fix https on non-windows?  Does it fix bypassing
&gt; certificate warnings on certain systems?

Thanks for your review and giving a cq+ but you set r? instead of r+. Is this a mistake or should I have to ask another reviewer to give a r+? Thank you.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1350641</commentid>
    <comment_count>10</comment_count>
      <attachid>321189</attachid>
    <who name="Alex Christensen">achristensen</who>
    <bug_when>2017-09-19 20:56:19 -0700</bug_when>
    <thetext>Comment on attachment 321189
patch

mistake.
r=me</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1350650</commentid>
    <comment_count>11</comment_count>
      <attachid>321189</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2017-09-19 21:25:56 -0700</bug_when>
    <thetext>Comment on attachment 321189
patch

Clearing flags on attachment: 321189

Committed r222248: &lt;http://trac.webkit.org/changeset/222248&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1350651</commentid>
    <comment_count>12</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2017-09-19 21:25:57 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1353412</commentid>
    <comment_count>13</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2017-09-27 12:28:24 -0700</bug_when>
    <thetext>&lt;rdar://problem/34693341&gt;</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>321189</attachid>
            <date>2017-09-19 02:13:51 -0700</date>
            <delta_ts>2017-09-19 21:25:56 -0700</delta_ts>
            <desc>patch</desc>
            <filename>bug177128.diff</filename>
            <type>text/plain</type>
            <size>3530</size>
            <attacher name="Daewoong Jang">daewoong.jang</attacher>
            
              <data encoding="base64">SW5kZXg6IFNvdXJjZS9XZWJDb3JlL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBTb3VyY2UvV2Vi
Q29yZS9DaGFuZ2VMb2cJKHJldmlzaW9uIDIyMjIwNSkKKysrIFNvdXJjZS9XZWJDb3JlL0NoYW5n
ZUxvZwkod29ya2luZyBjb3B5KQpAQCAtMSwzICsxLDE1IEBACisyMDE3LTA5LTE5ICBEYWV3b29u
ZyBKYW5nICA8ZGFld29vbmcuamFuZ0BuYXZlcmxhYnMuY29tPgorCisgICAgICAgIFtDdXJsXSBG
aXggcjIyMjE0NworICAgICAgICBodHRwczovL2J1Z3Mud2Via2l0Lm9yZy9zaG93X2J1Zy5jZ2k/
aWQ9MTc3MTI4CisKKyAgICAgICAgUmV2aWV3ZWQg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