Skip to content

Commit

Permalink
fix fabric8io#3957: Lister onOpen should be called before marking t…
Browse files Browse the repository at this point in the history
…he connection as open
  • Loading branch information
AdrianFarmadin committed Mar 10, 2022
1 parent 43bd021 commit 2e17ef5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
## CHANGELOG

### 5.12.2
* Fix #3957: Lister `onOpen` should be called before marking the connection as open

### 5.12.1 (2022-02-04)

#### Bugs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ public void onOpen(okhttp3.WebSocket webSocket, Response response) {
response.close();
}
OkHttpWebSocketImpl value = new OkHttpWebSocketImpl(webSocket);
future.complete(value);
listener.onOpen(value);
future.complete(value);
}

@Override
Expand Down

0 comments on commit 2e17ef5

Please sign in to comment.