<?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>164329</bug_id>
          
          <creation_ts>2016-11-02 11:08:42 -0700</creation_ts>
          <short_desc>Shoutcast/Icecast stream served over non-default port is blocked</short_desc>
          <delta_ts>2016-11-09 09:41:30 -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>Mac</rep_platform>
          <op_sys>macOS 10.12</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=164530</see_also>
          <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="Łukasz Zaroda">luken</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
    
    <cc>bfulgham</cc>
    
    <cc>dbates</cc>
    
    <cc>leo.andrews</cc>
    
    <cc>luken</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1247384</commentid>
    <comment_count>0</comment_count>
    <who name="Łukasz Zaroda">luken</who>
    <bug_when>2016-11-02 11:08:42 -0700</bug_when>
    <thetext>The problem is with the Shoutcast server at least, possibly with some other servers as well.

I think the source of the problem is this: https://trac.webkit.org/changeset/201895/trunk/Source

Shoutcast stream doesn&apos;t have HTTP headers, and because of that it is interpreted as HTTP/0.9 running on the non-default port. So for example jPlayer request for the stream, will be immediately shut down. The problem came to light with the macOS &quot;Sierra&quot; release. On on macOS &quot;Sierra&quot; any stream on shoutcast.com doesn&apos;t seem to work.

See also: https://github.com/happyworm/jPlayer/issues/380

Was this expected?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1247644</commentid>
    <comment_count>1</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2016-11-02 21:14:18 -0700</bug_when>
    <thetext>This is being tracked internally by Apple as &lt;rdar://problem/28734311&gt;. It&apos;s not quite clear yet if the fix would be in WebKit, or in system libraries below it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1249147</commentid>
    <comment_count>2</comment_count>
    <who name="Daniel Bates">dbates</who>
    <bug_when>2016-11-08 15:36:15 -0800</bug_when>
    <thetext>&lt;rdar://problem/29167064&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1249148</commentid>
    <comment_count>3</comment_count>
    <who name="Daniel Bates">dbates</who>
    <bug_when>2016-11-08 15:37:24 -0800</bug_when>
    <thetext>(In reply to comment #2)
&gt; &lt;rdar://problem/29167064&gt;

Disregard this comment.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1249163</commentid>
    <comment_count>4</comment_count>
    <who name="Daniel Bates">dbates</who>
    <bug_when>2016-11-08 15:50:56 -0800</bug_when>
    <thetext>As a way to ameliorate the effects of bug #158589, filed bug #164530 to allow an Shoutcast/Icecast stream served over a default port (e.g. 80).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1249292</commentid>
    <comment_count>5</comment_count>
    <who name="Leo A">leo.andrews</who>
    <bug_when>2016-11-09 09:41:30 -0800</bug_when>
    <thetext>Daniel, as mentioned in my comment on the bug you raised, the proposed solution is inadequate. https://bugs.webkit.org/show_bug.cgi?id=164530#c7 explains why.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>