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

Recover `Connection.Context()`. #45

Closed liukun closed 4 years ago

liukun commented 4 years ago

Recover the old ctx to keep backward compatibility with the old versions.

主要是想兼容现有接口,不然发新版本时就得提高大版本号了。