<?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>170664</bug_id>
          
          <creation_ts>2017-04-09 21:50:37 -0700</creation_ts>
          <short_desc>[Windows] update-webkit-auxiliary-libs cannot download the zip using ActivePerl behind HTTP proxy</short_desc>
          <delta_ts>2017-04-09 21:53:45 -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>Tools / Tests</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></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Fujii Hironori">fujii</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>lforschler</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1295878</commentid>
    <comment_count>0</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2017-04-09 21:50:37 -0700</bug_when>
    <thetext>I see the following error with ActivePerl 5.24.1 for Windows (64-bit, x64):

&gt; C:\webkit\gb&gt;perl Tools\Scripts\update-webkit-auxiliary-libs
&gt; Checking for newer version of WebKitAuxiliaryLibrary.zip...
&gt; Could not access https://developer.apple.com/opensource/internet/WebKitAuxiliaryLibrary.zip:
&gt; Content-Type: text/plain
&gt; Client-Date: Mon, 10 Apr 2017 02:26:52 GMT
&gt; Client-Warning: Internal response
&gt; 
&gt; Please ensure that https://developer.apple.com/opensource/internet/WebKitAuxiliaryLibrary.zip is reachable and that Perl can use LWP::Simple to connect to HTTPS URLs.
&gt; You may have to run &quot;$ cpan LWP::Protocol::https&quot;.
&gt; No existing version of WebKitAuxiliaryLibrary to fall back to.
&gt; Died at Tools\Scripts\update-webkit-auxiliary-libs line 42.
&gt; 
&gt; C:\webkit\gb&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1295879</commentid>
    <comment_count>1</comment_count>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2017-04-09 21:52:40 -0700</bug_when>
    <thetext>It works after I applied the patch of a following bug to my lib/LWP/Protocol/https.pm manually.

  Bug #112145 for LWP-Protocol-https: LWP::Protocol::https - SNI support not used for proxy connect
  https://rt.cpan.org/Public/Bug/Display.html?id=112145</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1295880</commentid>
    <comment_count>2</comment_count>
      <attachid>306649</attachid>
    <who name="Fujii Hironori">fujii</who>
    <bug_when>2017-04-09 21:53:45 -0700</bug_when>
    <thetext>Created attachment 306649
a test script</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>306649</attachid>
            <date>2017-04-09 21:53:45 -0700</date>
            <delta_ts>2017-04-09 21:53:45 -0700</delta_ts>
            <desc>a test script</desc>
            <filename>get.pl</filename>
            <type>text/plain</type>
            <size>335</size>
            <attacher name="Fujii Hironori">fujii</attacher>
            
              <data encoding="base64">dXNlIExXUDo6U2ltcGxlOwp1c2UgTFdQOjpVc2VyQWdlbnQ7CnVzZSBEYXRhOjpEdW1wZXI7Cgpt
eSAkdXJsID0gc2hpZnQ7CgpteSAkdWEgPSBMV1A6OlVzZXJBZ2VudC0+bmV3KCk7CiR1YS0+ZW52
X3Byb3h5OwokdWEtPm1heF9zaXplKDApOwpteSAkcmVzcG9uc2UgPSAkdWEtPmdldCgkdXJsLCAi
UmFuZ2UiLCAiYnl0ZXM9MC0wIik7CgpwcmludCBEdW1wZXIoJHJlc3BvbnNlLT5pc19zdWNjZXNz
KCkpOwpwcmludCBEdW1wZXIoJHJlc3BvbnNlLT5tZXNzYWdlKTsKcHJpbnQgRHVtcGVyKCRyZXNw
b25zZS0+aGVhZGVycyk7CnByaW50IER1bXBlcigkcmVzcG9uc2UtPmNvbnRlbnQpOwo=
</data>

          </attachment>
      

    </bug>

</bugzilla>