DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=31792>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=31792

reuse of http connections





------- Additional Comments From [EMAIL PROTECTED]  2004-10-21 04:01 -------
I forgot HTTPS uses secure socket layer session id. the thing is,
org.apache.jmeter.protocol.sampler.HTTPSampler explicitly calls
URLConnection.disconnect() at the end of the sample.  At the beginning of each
sample, it explicitly creates a new connection using URLConnection.connect(). I
don't have a https server to hit locally, so it's going to be hard to diagnose.

there's a note in the finally block of HTTPSampler. here is what it says
"calling disconnect doesn't close the connection immediately, but indicates
we're through with it. The JVM should close it when necessary".

if I get time to setup tomcat with ssl, I'll try to diagnose the problem. At
this point, I'm inclined to say it is a bug in JVM and not in jmeter. Can you
try the new sampler, which uses HttpClient. I believe jakarta HttpClient handles
keepalive and disconnect better than the stock URLConnection/HttpURLConnection.

I hope that helps.

peter

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to