Fixes #347137 (Allow SSL renegotiations by default in HttpClient).

git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@3255 7e9141cc-0065-0410-87d8-b60c137991c4
This commit is contained in:
Simone Bordet 2011-05-25 11:47:26 +00:00
parent 1bb56442a7
commit 922fb70344
2 changed files with 4 additions and 1 deletions

View File

@ -13,6 +13,7 @@ jetty-7.4.2-SNAPSHOT
+ JETTY-1342 Recreate selector if wakeup throws JVM bug
+ 346614 HttpConnection.handle() spins in case of SSL truncation attacks
+ 346764 OrderedGroupBinding deployment binding
+ 347137 - Allow SSL renegotiations by default in HttpClient
jetty-7.4.1.v20110513
+ 288563 remove unsupported and deprecated --secure option

View File

@ -192,7 +192,9 @@ class SelectConnector extends AbstractLifeCycle implements HttpClient.Connector,
else
{
SSLEngine engine=newSslEngine(channel);
ep = new SslSelectChannelEndPoint(_sslBuffers, channel, selectSet, key, engine, (int)_httpClient.getIdleTimeout());
SslSelectChannelEndPoint sslEp = new SslSelectChannelEndPoint(_sslBuffers, channel, selectSet, key, engine, (int)_httpClient.getIdleTimeout());
sslEp.setAllowRenegotiate(_httpClient.getSslContextFactory().isAllowRenegotiate());
ep = sslEp;
}
}
else