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

fix: "bad-file-descriptor" occurs when close Websocket connection #404

Closed liwnn closed 4 months ago

lesismal commented 4 months ago

整个else删掉就行,只注释go lint报错 empty branch了