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.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Feature request: Add support for TLS

xBlaz3kx opened this issue · comments

It would be nice to have the TLS support for the TCP server to securely communicate between server and a client.

https://github.com/lesismal/nbio, 这哥们儿的思路 是将net.conn的fd dup一个新的fd,然后加到事件循环中,这样就可以复用tls的read和write了。