java-game-server
java-game-server copied to clipboard
The io.netty.buffer.EmptyByteBuf issue
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 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.