Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added keystore.jks
Binary file not shown.
2 changes: 1 addition & 1 deletion src/main/example/simplelogger.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
org.slf4j.simpleLogger.logFile=System.out
org.slf4j.simpleLogger.defaultLogLevel=trace
org.slf4j.simpleLogger.defaultLogLevel=error
org.slf4j.simpleLogger.showDateTime=true
org.slf4j.simpleLogger.dateTimeFormat=yyyy-MM-dd HH:mm:ss.SSS
org.slf4j.simpleLogger.showThreadName=false
Expand Down
4 changes: 1 addition & 3 deletions src/main/java/org/java_websocket/SSLSocketChannel.java
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ public synchronized int read( ByteBuffer dst ) throws IOException {
return ByteBufferUtils.transferByteBuffer( peerAppData, dst );
case BUFFER_OVERFLOW:
peerAppData = enlargeApplicationBuffer( peerAppData );
break;
return read(dst);
case CLOSED:
closeConnection();
dst.clear();
Expand Down Expand Up @@ -323,8 +323,6 @@ private boolean doHandshake() throws IOException {
}
break;
case NEED_WRAP:


myNetData.clear();
try {
result = engine.wrap( myAppData, myNetData );
Expand Down
Loading