fixed written bytes count in sctp send buffer pool
This commit is contained in:
parent
6eabd343c4
commit
5bbabb6dda
@ -199,8 +199,7 @@ final class SctpSendBufferPool {
|
|||||||
final MessageInfo messageInfo = MessageInfo.createOutgoing(ch.association(), null, streamNo);
|
final MessageInfo messageInfo = MessageInfo.createOutgoing(ch.association(), null, streamNo);
|
||||||
messageInfo.payloadProtocolID(protocolId);
|
messageInfo.payloadProtocolID(protocolId);
|
||||||
messageInfo.streamNumber(streamNo);
|
messageInfo.streamNumber(streamNo);
|
||||||
ch.send(buffer, messageInfo);
|
return ch.send(buffer, messageInfo);
|
||||||
return writtenBytes();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
@ -245,8 +244,7 @@ final class SctpSendBufferPool {
|
|||||||
final MessageInfo messageInfo = MessageInfo.createOutgoing(ch.association(), null, streamNo);
|
final MessageInfo messageInfo = MessageInfo.createOutgoing(ch.association(), null, streamNo);
|
||||||
messageInfo.payloadProtocolID(protocolId);
|
messageInfo.payloadProtocolID(protocolId);
|
||||||
messageInfo.streamNumber(streamNo);
|
messageInfo.streamNumber(streamNo);
|
||||||
ch.send(buffer, messageInfo);
|
return ch.send(buffer, messageInfo);
|
||||||
return writtenBytes();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user