<?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>27822</bug_id>
          
          <creation_ts>2009-07-29 17:18:47 -0700</creation_ts>
          <short_desc>REGRESSION (r46039): Should restore previous connections-per-host limit for non-http(s) hosts</short_desc>
          <delta_ts>2009-07-29 17:33:57 -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>Page Loading</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>OS X 10.5</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="Brady Eidson">beidson</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>darin</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>135746</commentid>
    <comment_count>0</comment_count>
    <who name="Brady Eidson">beidson</who>
    <bug_when>2009-07-29 17:18:47 -0700</bug_when>
    <thetext>We should restore previous connections-per-host limit for non-http(s) hosts

The change in r46039 to restrict even file urls without exception has broken other WebKit apps, including Adobe&apos;s installer (&lt;rdar://problem/7091659&gt;)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>135747</commentid>
    <comment_count>1</comment_count>
      <attachid>33756</attachid>
    <who name="Brady Eidson">beidson</who>
    <bug_when>2009-07-29 17:22:06 -0700</bug_when>
    <thetext>Created attachment 33756
A fix

No layout test, as we haven&apos;t yet figured out how reproducibly stress the loader in a reliable and predictable manner to test this class of bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>135748</commentid>
    <comment_count>2</comment_count>
      <attachid>33756</attachid>
    <who name="Darin Adler">darin</who>
    <bug_when>2009-07-29 17:27:04 -0700</bug_when>
    <thetext>Comment on attachment 33756
A fix

r=me

Does the non-named host limit ever do any good at all? Maybe we should remove the limit entirely for non-named hosts.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>135750</commentid>
    <comment_count>3</comment_count>
    <who name="Brady Eidson">beidson</who>
    <bug_when>2009-07-29 17:33:07 -0700</bug_when>
    <thetext>Thanks for the review!

The answer to your question is answered by a comment where the hard-coded limit of 20 is established for non-named hosts:

// Having a limit might still help getting more important resources first

...which, of course, was the original motivation for the limits in the first place.
It&apos;s unclear how much of a benefit this limit might be, but it is clear that there is theoretically a benefit.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>135751</commentid>
    <comment_count>4</comment_count>
    <who name="Brady Eidson">beidson</who>
    <bug_when>2009-07-29 17:33:57 -0700</bug_when>
    <thetext>Sending        ChangeLog
Sending        loader/loader.cpp
Transmitting file data ..
Committed revision 46569.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>33756</attachid>
            <date>2009-07-29 17:22:06 -0700</date>
            <delta_ts>2009-07-29 17:27:04 -0700</delta_ts>
            <desc>A fix</desc>
            <filename>patch.txt</filename>
            <type>text/plain</type>
            <size>1899</size>
            <attacher name="Brady Eidson">beidson</attacher>
            
              <data encoding="base64">SW5kZXg6IFdlYkNvcmUvQ2hhbmdlTG9nCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIFdlYkNvcmUvQ2hhbmdlTG9n
CShyZXZpc2lvbiA0NjU2OCkKKysrIFdlYkNvcmUvQ2hhbmdlTG9nCSh3b3JraW5nIGNvcH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XF1ZXN0c0luRmxpZ2h0ID49IG1fbWF4UmVxdWVzdHNJbkZsaWdodCkg
ewogICAgICAgICAgICAgc2VydmVMb3dlclByaW9yaXR5ID0gZmFsc2U7CiAgICAgICAgICAgICBy
ZXR1cm47CiAgICAgICAgIH0K
</data>
<flag name="review"
          id="17963"
          type_id="1"
          status="+"
          setter="darin"
    />
          </attachment>
      

    </bug>

</bugzilla>