Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ZLMediaKit/ZLMediaKit#2946 Socket对象在对fd进行epoll/select操作时,此fd可能已经被关闭并被其他Socket对象复用并持有, 这将导致fd事件紊乱跑飞。现通过SocketNum对象捕获实现fd生命周期与事件监听周期的绑定, 防止socket已经被关闭(并被其他Socket对象复用)但还被添加或修改事件。
- Loading branch information