Skip to content
Permalink
Browse files
[JENKINS-36871] Fix failing tests
  • Loading branch information
stephenc committed Aug 5, 2016
1 parent 0529c15 commit 2ce2f8ac22816813b413f09b37d2c05151eb1b3a
Showing 2 changed files with 2 additions and 0 deletions.
@@ -297,6 +297,7 @@ public void onHandshakeCompleted(SSLSession session) throws ConnectionRefusalExc
*/
@Override
public void onReceiveHeaders(Map<String, String> headers) throws ConnectionRefusalException {
remoteHeaders = headers;
if (!client) {
String clientName = headers.get(JnlpConnectionState.CLIENT_NAME_KEY);
if (clientDatabase == null || !clientDatabase.exists(clientName)) {
@@ -229,6 +229,7 @@ private class Handler extends Channel.Listener implements ConnectionHeadersFilte
@Override
public void onReceiveHeaders(Map<String, String> headers) throws ConnectionRefusalException {
event.fireBeforeProperties();
remoteHeaders = headers;
if (!client) {
String clientName = headers.get(JnlpConnectionState.CLIENT_NAME_KEY);
if (clientDatabase == null || !clientDatabase.exists(clientName)) {

0 comments on commit 2ce2f8a

Please sign in to comment.