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 Sun, 19 Dec 2004 16:21:43 GMT
olegk       2004/12/19 08:21:43

  Modified:    httpclient/src/java/org/apache/commons/httpclient
                        HttpMethodDirector.java
  Log:
  PR #32742 (SO_TIMEOUT parameter on the method level has no effect)
  
  Contributed by Ilya Kharmatsky <ilyak -at- mainsoft.com>
  Reviewed by Oleg Kalnichevski
  
  Revision  Changes    Path
  1.33      +4 -4      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.32
  retrieving revision 1.33
  diff -u -r1.32 -r1.33
  --- HttpMethodDirector.java	2 Nov 2004 19:39:16 -0000	1.32
  +++ HttpMethodDirector.java	19 Dec 2004 16:21:42 -0000	1.33
  @@ -368,7 +368,7 @@
                   }
                   int timeout = 0;
                   // see if a timeout is given for this method
  -                Object param = this.params.getParameter(HttpMethodParams.SO_TIMEOUT);
  +                Object param = method.getParams().getParameter(HttpMethodParams.SO_TIMEOUT);
                   if (param == null) {
                       // if not, use the default value
                       param = this.conn.getParams().getParameter(HttpConnectionParams.SO_TIMEOUT);
  
  
  

---------------------------------------------------------------------
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