Skip to content

Commit cf05527

Browse files
author
Chiradeep Vittal
committed
merge from zonesfeature
1 parent 35066e2 commit cf05527

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

‎utils/src/com/cloud/utils/nio/Link.java‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -307,10 +307,6 @@ public boolean write(SocketChannel ch) throws IOException {
307307
headBuf.putInt(dataRemaining);
308308
headBuf.flip();
309309

310-
if (headRemaining + dataRemaining > 65535) {
311-
throw new IOException("Fail to send a too big packet! Size: " + (headRemaining + dataRemaining));
312-
}
313-
314310
while (headRemaining > 0) {
315311
if (s_logger.isTraceEnabled()) {
316312
s_logger.trace("Writing Header " + headRemaining);

0 commit comments

Comments
 (0)