Skip to content

Commit 0f09546

Browse files
author
Sheng Yang
committed
Fix Class cast issue
1 parent 8ada285 commit 0f09546

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

utils/src/com/cloud/utils/nio/NioConnection.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ protected void accept(SelectionKey key) throws IOException {
198198

199199
Link.doHandshake(socketChannel, sslEngine, false);
200200
} catch (Exception e) {
201-
logDebug(e, key, 0);
201+
s_logger.debug("Socket " + socket + " closed on read. Probably -1 returned: " + e.getMessage());
202202
terminate(key);
203203
return;
204204
}

0 commit comments

Comments
 (0)