cvs commit: jakarta-jmeter/src/protocol/http/org/apache/jmeter/protocol/http/sampler HTTPSampler2.java

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

cvs commit: jakarta-jmeter/src/protocol/http/org/apache/jmeter/protocol/http/sampler HTTPSampler2.java

sebb-3
sebb        2005/05/26 15:54:40

  Modified:    src/protocol/http/org/apache/jmeter/protocol/http/sampler
                        HTTPSampler2.java
  Log:
  Cookie expires should be 0 or time in seconds
 
  Revision  Changes    Path
  1.17      +1 -2      jakarta-jmeter/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPSampler2.java
 
  Index: HTTPSampler2.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jmeter/src/protocol/http/org/apache/jmeter/protocol/http/sampler/HTTPSampler2.java,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- HTTPSampler2.java 25 May 2005 14:16:06 -0000 1.16
  +++ HTTPSampler2.java 26 May 2005 22:54:40 -0000 1.17
  @@ -584,8 +584,7 @@
    c[i].getDomain(),
    c[i].getPath(),
    c[i].getSecure(),
  - exp != null ? exp.getTime()
  - : System.currentTimeMillis() + 1000 * 60 * 60 * 24 //cf CookieManager
  + exp == null ? 0 : exp.getTime() /1000
     )
    );
               }
 
 
 

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]