Replies: 1 comment
-
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have handler that uses
EmbeddedChannel
but NOT in a test. It uses embedded channel to call decoder right away. So, the pipeline is not modified.Here is example code:
https://github.com/ShlomiRex/netty-multiplex-two-protocols/blob/e83f83c3bf4643c139468406a016ecb5244fabae/src/main/java/handlers/ProtocolHandler.java#L36
My question is, does writing to embedded channel duplicates the
msg
buffer? What happens if themsg
is a large buffer? I don't want to duplicate the bytes.Beta Was this translation helpful? Give feedback.
All reactions