java-game-server icon indicating copy to clipboard operation
java-game-server copied to clipboard

The io.netty.buffer.EmptyByteBuf issue

Open irwinmc opened this issue 11 years ago • 1 comments

Once the client logged in, I will apply the AMF3 protocol to the channel, when the browser who contains the flash player closed, it will get a EmptyByteBuf in the AMF3ToJavaObjectDecoder. May I ask what would you do for it? Just ignore it? Thank you!

irwinmc avatar Jun 04 '14 05:06 irwinmc

@irwinmc Sorry for late reply! somehow missed this. So, if you are getting a channel closed event, yes you can ignore the EmptyByteBuf. But if not, then probably I would use this to trigger an exception event or a closed event.

menacher avatar Jun 12 '14 20:06 menacher