PengZheng opened a new issue, #466:
URL: https://github.com/apache/celix/issues/466

   When reviewing #459, I found the message segmentation implemented in 
`pubsub_tcpHandler_write` buggy:
   
   *  When comparing payloadSize and maxMsgSize, it fails to take header and 
footer into account.
   *  The size of the last segment carrying the last payload part and the 
metadata can exceed `maxMsgSize`.
   * `sendmsg` does not deal with partial transfer, which will make this 
implementation very unreliable.
   * Even if message segmentation is supported, the size of each element in 
`struct iovec` can not exceed `maxMsgSize`.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@celix.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to