Yes connection.disconnect() is called.

-----Original Message-----
From: Richard Yee [mailto:[EMAIL PROTECTED] 
Sent: Sunday, October 03, 2004 8:20 PM
To: Struts Users Mailing List
Subject: Re: httpsURLConnection

Dennis,
Are you closing the connection in a finally clause? If you don't, you
are 
going to leak connections when an exception gets thrown.

-Richard

At 04:51 PM 10/3/2004, you wrote:
>I open an httpsURLConnection in my struts application. And I am getting
>orphaned sessions. I think this may be due to dead (or orphaned)
>connections after the user has logged off. Has anybody experienced
this?
>
>
>
>I am he, as you are he, as you are me, and we are all together.
>



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


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

Reply via email to