Menu

#70 enable http connect and read timeouts

closed
None
5
2007-12-31
2006-07-07
No

This patch adds two public methods to the
WebConversation class to support the setting of URL
connect and read timeouts. It uses the URLConnection
API introduced in Java 1.5.

Discussion

  • Nobody/Anonymous

    Logged In: NO

    please use the following default value ,
    private int _connectTimeout = 0;
    private int _readTimeout = 0;

    http://java.sun.com/j2se/1.5.0/docs/api/java/net/URLConnecti
    on.html#getConnectTimeout()

     
  • Michael Rudolf

    Michael Rudolf - 2006-09-08
     
  • Michael Rudolf

    Michael Rudolf - 2006-09-08

    Logged In: YES
    user_id=277412

    Patch corrected to use default values of zero instead of -1
    for read and connection timeouts.

     
  • Wolfgang Fahl

    Wolfgang Fahl - 2007-12-31

    Logged In: YES
    user_id=1220573
    Originator: NO

    it's commented out for the time being (see my comment on mailinglist). I suggest to make all JDK 1.5 depending changes active with a 1.7 release in 2008.

     
  • Wolfgang Fahl

    Wolfgang Fahl - 2007-12-31
    • assigned_to: nobody --> wolfgang_fahl
    • status: open --> closed
     
  • Wolfgang Fahl

    Wolfgang Fahl - 2007-12-31

    Logged In: YES
    user_id=1220573
    Originator: NO

    The change is now in the subversion repository and will be in the next release.

     
  • Nobody/Anonymous

    Logged In: NO

    I just downloaded the 1.7 release from the website and seems like the lines are still commented out. Are they going to be uncommented in a future release?

     
  • Jaykumar Gosar

    Jaykumar Gosar - 2008-06-24

    Logged In: YES
    user_id=2103365
    Originator: NO

    I just downloaded the 1.7 release from the website and seems like the lines are still commented out. Are they going to be uncommented in a future release?

     
  • Wolfgang Fahl

    Wolfgang Fahl - 2008-11-06

    The change is now in the subversion repository and will be in the next release.

     
  • Wolfgang Fahl

    Wolfgang Fahl - 2008-11-06

    Thanks for getting back to me - it's now in SVN

     

Log in to post a comment.