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.17k stars 153 forks source link

Async dialer #423

Closed lesismal closed 5 months ago

lesismal commented 5 months ago
  1. websocket: fix dialer OnClose not called bug.
  2. websocket: limit compressed message to avoid OOM attack.
  3. 4th layer: add DialAsync/DialAsyncTimeout.