We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gev/connection.go
Line 208 in 9262fa1
The text was updated successfully, but these errors were encountered:
是的,但是我想将读到的数据尽快解析出来
Sorry, something went wrong.
恩恩,晓得了
No branches or pull requests
gev/connection.go
Line 208 in 9262fa1
c.protocol.UnPacket(c, buffer)中的buffer要么是c.buffer,要么是c.inBuffer,只有handleRead调用了handleProtocol,handleRead的过程中,没有其他协程使用c.buffer和c.inBuffer,所以说只需要一次c.protocol.UnPacket(c, buffer),无须循环呀!我还是不太明白
The text was updated successfully, but these errors were encountered: