commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject cvs commit: jakarta-commons/jelly/jelly-tags/http/xdocs changes.xml
Date Sun, 12 Sep 2004 15:40:55 GMT
dion        2004/09/12 08:40:55

  Modified:    jelly/jelly-tags/http/src/java/org/apache/commons/jelly/tags/http
                        SessionTag.java
               jelly/jelly-tags/http/xdocs changes.xml
  Log:
  Fix JELLY-96.
  
  Revision  Changes    Path
  1.8       +5 -3      jakarta-commons/jelly/jelly-tags/http/src/java/org/apache/commons/jelly/tags/http/SessionTag.java
  
  Index: SessionTag.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/jelly/jelly-tags/http/src/java/org/apache/commons/jelly/tags/http/SessionTag.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- SessionTag.java	9 Sep 2004 12:08:26 -0000	1.7
  +++ SessionTag.java	12 Sep 2004 15:40:55 -0000	1.8
  @@ -57,11 +57,13 @@
        * @throws Exception when any error occurs
        */
       public void doTag(XMLOutput xmlOutput) throws JellyTagException {
  -        if (isProxyAvailable()) {
  +        if (_httpClient == null)
  +        {
               _httpClient = new HttpClient();
  +        }
  +        
  +        if (isProxyAvailable()) {
               _httpClient.getHostConfiguration().setProxy(getProxyHost(), getProxyPort());
  -        } else {
  -            _httpClient = new HttpClient();
           }
   
           invokeBody(xmlOutput);
  
  
  
  1.4       +1 -0      jakarta-commons/jelly/jelly-tags/http/xdocs/changes.xml
  
  Index: changes.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/jelly/jelly-tags/http/xdocs/changes.xml,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- changes.xml	12 Sep 2004 15:39:29 -0000	1.3
  +++ changes.xml	12 Sep 2004 15:40:55 -0000	1.4
  @@ -25,6 +25,7 @@
     </properties>
     <body>
       <release version="1.1-SNAPSHOT" date="in CVS">
  +      <action dev="dion" type="fix" issue="JELLY-96" due-to="Jason Horne">HttpClient
cannot be specified in HttpSession</action>
       </release>
       <release version="1.0" date="2004-09-12"></release>
     </body>
  
  
  

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