<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>6825</bug_id>
          
          <creation_ts>2009-04-16 13:39:08 +0000</creation_ts>
          <short_desc>Resource retrieval: no explicit timeout set for HTTP retrievals</short_desc>
          <delta_ts>2010-09-03 14:00:15 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>mobileOK Basic checker</product>
          <component>Java Library</component>
          <version>unspecified</version>
          <rep_platform>Other</rep_platform>
          <op_sys>All</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>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="fd">fd</reporter>
          <assigned_to name="Abel Rionda">abel.rionda</assigned_to>
          
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>24769</commentid>
    <comment_count>0</comment_count>
    <who name="fd">fd</who>
    <bug_when>2009-04-16 13:39:08 +0000</bug_when>
    <thetext>HttpResourceRetriever does not explicitly define a connection and/or network transmission timeouts. I suspect there is one by default, but it would be better to make it possible to define a timeout in TesterConfiguration.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>27569</commentid>
    <comment_count>1</comment_count>
    <who name="fd">fd</who>
    <bug_when>2009-09-22 20:52:37 +0000</bug_when>
    <thetext>See Danny&apos;s email at:
http://lists.w3.org/Archives/Public/public-mobileok-checker/2009Sep/0005.html

I do not know what the default timeout is, but it gives the impression the mobileOK Checker is running an endless loop when the site fails to respond in a timely fashion.
</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>27574</commentid>
    <comment_count>2</comment_count>
    <who name="fd">fd</who>
    <bug_when>2009-09-22 21:11:57 +0000</bug_when>
    <thetext>Well, the endless loop bug is more on the UI here.
See bug 7702.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>38453</commentid>
    <comment_count>3</comment_count>
    <who name="fd">fd</who>
    <bug_when>2010-09-03 14:00:15 +0000</bug_when>
    <thetext>Explicit timeouts set in HttpResourceRetriever. I took the opportunity to also set the maximum number of concurrent connections to a given host, as default value in Java is 2, while most modern Web browsers use something like 6 concurrent connections.

Settings:
- Connection timeout: 5s
- Socket timeout (send/receive): 30s
- Maximum number of connections per host: 6
- Total number of connections allowed: 60

These settings are hardcoded for the time being. It would be a good idea to be able to set such global configuration settings in some configuration file read by the Checker upon startup, for more flexibility.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>