Skip to content

Commit

Permalink
[JENKINS-36871] Fix failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenc committed Aug 5, 2016
1 parent 0529c15 commit 2ce2f8a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Expand Up @@ -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)) {
Expand Down
Expand Up @@ -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)) {
Expand Down

0 comments on commit 2ce2f8a

Please sign in to comment.