commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject cvs commit: jakarta-commons/httpclient/src/java/org/apache/commons/httpclient HttpMethodDirector.java
Date Mon, 09 Feb 2004 18:01:07 GMT
olegk       2004/02/09 10:01:07

  Modified:    httpclient/src/java/org/apache/commons/httpclient
                        HttpMethodDirector.java
  Log:
  PR #26500 (New socket timeout value wont have effect if connection is reused)
  
  Contributed by Oleg Kalnichevski
  
  Revision  Changes    Path
  1.17      +6 -3      jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/HttpMethodDirector.java
  
  Index: HttpMethodDirector.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/httpclient/src/java/org/apache/commons/httpclient/HttpMethodDirector.java,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- HttpMethodDirector.java	4 Feb 2004 20:52:33 -0000	1.16
  +++ HttpMethodDirector.java	9 Feb 2004 18:01:07 -0000	1.17
  @@ -369,6 +369,9 @@
                           }
                       }
                   }
  +                
  +                this.conn.setSocketTimeout(this.conn.getParams().getSoTimeout());
  +                
                   try {
                       method.execute(state, this.conn);
                       break;
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message