ngtrio

Results 2 issues of ngtrio

```java while ((size = client.read(buf)) > 0) { buf.flip(); baos.write(buf.array(), 0, size); buf.clear(); } ``` 在ReadEventHandler中,TCP可能粘包,此处baos存入的可能是多条消息的字节流,反序列化会导致客户端到达的部分消息丢失。(在ReadEventHandler中sleep一下就能看到此bug)

### The bug I have noticed that the JPG images downloaded from the server in the iOS app slightly vary in size (they look the same visually), which results in...

📱mobile