Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conn为何没有像原生的net里的Conn有Deadline的属性呢 #209

Closed
zjj9850 opened this issue May 20, 2021 · 2 comments
Closed

Conn为何没有像原生的net里的Conn有Deadline的属性呢 #209

zjj9850 opened this issue May 20, 2021 · 2 comments
Assignees
Labels
duplicate This issue or pull request already exists enhancement New feature or request proposal Proposal for this repo waiting for response waiting for the response from commenter
Milestone

Comments

@zjj9850
Copy link

zjj9850 commented May 20, 2021

Conn里为何不加入ReadDeadLine和WriteDeadLine的属性呢,这样可以在一定时间内,将无任何消息的链接进行关闭,减少资源占用。。。。逻辑层也可以不用再去实现一个超时的处理

@zjj9850 zjj9850 added enhancement New feature or request proposal Proposal for this repo labels May 20, 2021
@xscode-auto-reply
Copy link

Thanks for opening a new issue. The team has been notified and will review it as soon as possible.
For urgent issues and priority support, visit https://xscode.com/panjf2000/gnet

@panjf2000
Copy link
Owner

panjf2000 commented May 30, 2021

#83

业务层可以自己实现,框架原生支持这个需要再考虑。

@panjf2000 panjf2000 added duplicate This issue or pull request already exists needs investigation waiting for response waiting for the response from commenter labels May 30, 2021
@panjf2000 panjf2000 added this to the v2 milestone Jan 3, 2022
@panjf2000 panjf2000 modified the milestones: v2, Long term Feb 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists enhancement New feature or request proposal Proposal for this repo waiting for response waiting for the response from commenter
Projects
None yet
Development

No branches or pull requests

2 participants