[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cp-patches] Do not invoke SSLSocketFactory.getDefault during class
From: |
Michael Koch |
Subject: |
Re: [cp-patches] Do not invoke SSLSocketFactory.getDefault during class initialization of HttpsURLConnection |
Date: |
Tue, 11 Jan 2005 12:57:30 +0100 |
User-agent: |
KMail/1.7.1 |
Am Dienstag, 11. Januar 2005 12:49 schrieb Chris Burdess:
> Michael Koch wrote:
> >> This patch prevents the invocation of
> >> SSLSocketFactory.getDefault during the class initialization of
> >> HttpsURLConnection, which causes the SSLv3 algorithm to be
> >> requested even if it will not be used.
> >>
> >> 2005-01-11 Chris Burdess <address@hidden>
> >>
> >> * javax/net/ssl/HttpsURLConnection.java: Do not request
> >> SSLv3 provider during class initialization.
> >>
> >> OK to commit?
> >
> > Please add a comment to defaultVerifier and defaultFactory that
> > they are lazily initialized. Do we need to make the getters
> > synchronized ?
>
> I think so. Please review the attached patch.
Looks very good. Please commit.
Michael
--
Homepage: http://www.worldforge.org/