Skip to content

大量连接断开nil错误 #29

Description

@luyu6056

Steps to reproduce the behavior:

  1. 监听tcp端口,使用多核,使用端口重用
  2. 客户端打开1W个连接,并且等到1W个连接,连接成功
  3. 关掉客户端
  4. 服务器抛出一个nil错误,并且退出

image

System Info (please complete the following information):

  • OS (e.g. Linux): ubuntu 19.10
  • Go Version (e.g. Go 1.13): 1.13.3
  • gnet Version (e.g. v1.0.0-beta.3): v1.0.0-beta7

Additional context
客户端协议使用 github.com/gorilla/websocket 实现,服务端协议轻微修改

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinghelp wantedExtra attention is neededquestionFurther information is requestedwaiting for responsewaiting for the response from commenter

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions