He-Pin opened a new pull request, #1636:
URL: https://github.com/apache/pekko/pull/1636

   Motivation:
   refs: https://github.com/apache/pekko/issues/1634
   
   Modification:
   Call byteBuf.release after bytes read.
   
   Result:
   No leaks.
   
   Sorry for everyone.
   
   It's using retainedSlice in LengthFieldBasedFrameDecoder
   
       protected ByteBuf extractFrame(ChannelHandlerContext ctx, ByteBuf 
buffer, int index, int length) {
           return buffer.retainedSlice(index, length);
       }


-- 
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: notifications-unsubscr...@pekko.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@pekko.apache.org
For additional commands, e-mail: notifications-h...@pekko.apache.org

Reply via email to