gnet icon indicating copy to clipboard operation
gnet copied to clipboard

🚀 gnet is a high-performance, lightweight, non-blocking, event-driven networking framework written in pure Go.

Results 63 gnet issues
Sort by recently updated
recently updated
newest added

遇到了不少场景(如:支持PROXY Protocol协议),都需要在连接建立后对首个包进行特殊处理,当然放在协议解析器里面去处理是可以的,但很明显这样每次数据包来的时候都得去判断一下,很不合理,解析器应该只关心业务相关内容才对!!! 翻了一下Issues,发现之前已经有提过这个了, https://github.com/panjf2000/gnet/issues/231#issuecomment-883857897 https://github.com/panjf2000/gnet/issues/231#issuecomment-883990539 pan大佬也说了解决的思路:应该有一个专门的 handler,收到第一个包的时候调用一下就行。。。 这么久过去了,有计划支持吗?

help wanted
question

### Actions I've taken before I'm here - [X] I've thoroughly read the documentations about this problem but still have no answer. - [X] I've searched the Github Issues/Discussions but...

help wanted
question
waiting for response
needs investigation
needs more info

When data reading occurs, there is a high probability of data writeback generated in the `OnTraffic`. At this time, it is not necessary to wait for the registration write event...