lesismal / nbio

Pure Go 1000k+ connections solution, support tls/http1.x/websocket and basically compatible with net/http, with high-performance and low memory cost, non-blocking, event-driven, easy-to-use.
MIT License
2.11k stars 151 forks source link

onClose 没有调用 #422

Closed FJSDS closed 2 months ago

FJSDS commented 2 months ago

image image websocket.Dialer With TLS image

lesismal commented 2 months ago

感谢反馈, 已经找到问题, 我先修复下

lesismal commented 2 months ago

更新到这个试试看:

go get -u github.com/lesismal/nbio@9aa509c