[rfc][icedtea-web] disconnecting httpurlconnections

Jiri Vanek jvanek at redhat.com
Fri May 2 13:34:40 UTC 2014


On 04/30/2014 05:49 PM, Jiri Vanek wrote:
> On 04/30/2014 05:28 PM, Omair Majid wrote:
>> * Jiri Vanek <jvanek at redhat.com> [2014-04-30 08:58]:
>>> I started to tweek https, and I found,that no urlconnection (which
>>> is in 99% httpurlconnection) do not disconnect after calling
>>> url.openConnection().
>>
>> That's intentional. Please see this old thread:
>> http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2013-February/021847.html
>>
>> Thanks,
>> Omair
>>
> Hmm. I was afraid of something like this.  However. When the https connection is not closed, then
> the approach you suggested on java-project (nor my trust all certificates manager) do not work, when
> mixed with "correct" conenctions.
>
> J.


Hmm.. I was playing bit with it, and I must say.. I'm not sure.... I think the overhewad with 
not-reusing the connection is not worthy of not disconnecting.

Or maybe I just do not understand the issue properly.

I will elaborate a bit more, but if you may say few more words, it would be nice:((

J.


More information about the distro-pkg-dev mailing list