We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
ChunkHeader.SIZE
1 parent d90baa5 commit 4e88ad5Copy full SHA for 4e88ad5
src/main/java/hudson/remoting/Engine.java
@@ -649,7 +649,7 @@ class Transport extends AbstractByteBufferCommandTransport {
649
}
650
@Override
651
protected void write(ByteBuffer headerAndData) throws IOException {
652
- LOGGER.finest(() -> "sending message of length " + (headerAndData.remaining() - 2));
+ LOGGER.finest(() -> "sending message of length " + (headerAndData.remaining() - ChunkHeader.SIZE));
653
try {
654
session.getAsyncRemote().sendBinary(headerAndData).get(5, TimeUnit.MINUTES);
655
} catch (Exception x) {
0 commit comments