<?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>31810</bug_id>
          
          <creation_ts>2009-11-23 10:45:33 -0800</creation_ts>
          <short_desc>[Android] Android port requires platform-specific implementation of initializeMaximumHTTPConnectionCountPerHost</short_desc>
          <delta_ts>2009-12-11 10:24:55 -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>528+ (Nightly build)</version>
          <rep_platform>Other</rep_platform>
          <op_sys>Other</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="Steve Block">steveblock</reporter>
          <assigned_to name="Steve Block">steveblock</assigned_to>
          <cc>abarth</cc>
    
    <cc>android-webkit-unforking</cc>
    
    <cc>ap</cc>
    
    <cc>beidson</cc>
    
    <cc>commit-queue</cc>
    
    <cc>eric</cc>
    
    <cc>fishd</cc>
    
    <cc>mjs</cc>
    
    <cc>phanna</cc>
    
    <cc>steveblock</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>165881</commentid>
    <comment_count>0</comment_count>
    <who name="Steve Block">steveblock</who>
    <bug_when>2009-11-23 10:45:33 -0800</bug_when>
    <thetext>Android port requires platform-specific implementation of initializeMaximumHTTPConnectionCountPerHost.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>165882</commentid>
    <comment_count>1</comment_count>
      <attachid>43720</attachid>
    <who name="Steve Block">steveblock</who>
    <bug_when>2009-11-23 10:57:12 -0800</bug_when>
    <thetext>Created attachment 43720
Patch 1 for Bug 31810</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>165980</commentid>
    <comment_count>2</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2009-11-23 20:05:44 -0800</bug_when>
    <thetext>I thought the point of this default was less about what the loader was capable of, and more about &quot;being a good web citizen&quot; or something.  Donno.  I&apos;m not an expert here.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>166490</commentid>
    <comment_count>3</comment_count>
    <who name="Steve Block">steveblock</who>
    <bug_when>2009-11-25 09:38:28 -0800</bug_when>
    <thetext>(In reply to comment #2)
&gt; I thought the point of this default was less about what the loader was capable
&gt; of, and more about &quot;being a good web citizen&quot; or something.  Donno.  I&apos;m not an
&gt; expert here.
The comment in loader.cpp for maxRequestsInFlightPerHost, and the comment in ResourceRequestBase.cpp for initializeMaximumHTTPConnectionCountPerHost both seem to suggest that the objective of this limit is to match the capability of the network layer.

Can you point me to an expert who can confirm the intended use?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>166491</commentid>
    <comment_count>4</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2009-11-25 09:42:04 -0800</bug_when>
    <thetext>Maciej or Bradey should know.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>167349</commentid>
    <comment_count>5</comment_count>
    <who name="Adam Barth">abarth</who>
    <bug_when>2009-11-30 12:36:37 -0800</bug_when>
    <thetext>style-queue successfully ran check-webkit-style on attachment 43720 without any errors</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>170802</commentid>
    <comment_count>6</comment_count>
      <attachid>43720</attachid>
    <who name="Darin Fisher (:fishd, Google)">fishd</who>
    <bug_when>2009-12-11 10:06:08 -0800</bug_when>
    <thetext>Comment on attachment 43720
Patch 1 for Bug 31810

This patch is fine.  Given such a high limit on connection counts per host, you
might also consider disabling the REQUEST_MANAGEMENT_ENABLED define in loader.cpp.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>170818</commentid>
    <comment_count>7</comment_count>
      <attachid>43720</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2009-12-11 10:24:50 -0800</bug_when>
    <thetext>Comment on attachment 43720
Patch 1 for Bug 31810

Clearing flags on attachment: 43720

Committed r52005: &lt;http://trac.webkit.org/changeset/52005&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>170819</commentid>
    <comment_count>8</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2009-12-11 10:24:55 -0800</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>43720</attachid>
            <date>2009-11-23 10:57:12 -0800</date>
            <delta_ts>2009-12-11 10:24:50 -0800</delta_ts>
            <desc>Patch 1 for Bug 31810</desc>
            <filename>initializeMaximumHTTPConnectionCountPerHost.txt</filename>
            <type>text/plain</type>
            <size>3654</size>
            <attacher name="Steve Block">steveblock</attacher>
            
              <data encoding="base64">SW5kZXg6IFdlYkNvcmUvQ2hhbmdlTG9nCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIFdlYkNvcmUvQ2hhbmdlTG9n
CShyZXZpc2lvbiA1MTMxMCkKKysrIFdlYkNvcmUvQ2hhbmdlTG9nCSh3b3JraW5nIGNvcHkpCkBA
IC0xLDMgKzEsMTYgQEAKKzIwMDktMTEtMjMgIFN0ZXZlIEJsb2NrICA8c3RldmVibG9ja0Bnb29n
bGUuY29tPgorCisgICAgICAgIFJldmlld2VkIGJ5IE5PQk9EWSAoT09QUyEpLgorCisgICAgICAg
IEFkZHMgYW4gQW5kcm9pZC1zcGVjaWZpYyBpbXBsZW1lbnRhdGlvbiBvZiBpbml0aWFs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