Allenxuxu / gev

🚀Gev is a lightweight, fast non-blocking TCP network library / websocket server based on Reactor mode. Support custom protocols to quickly and easily build high-performance servers.
MIT License
1.73k stars 194 forks source link

unix.POLLHUP=0x10,这里为什么或(|)上0x80啊? #115

Closed ghost closed 2 years ago

ghost commented 2 years ago

https://github.com/Allenxuxu/gev/blob/9262fa12b35a46747cf40ee5cd43efa9187adf85/poller/epoll.go#L163

Allenxuxu commented 2 years ago

EventErr 是我自定义的,用来标识错误的