Conversation
Contributor
|
这个pr已经合到master了吗,这里这个onAccept回调是不是可以设置http协议在传输过程中的tcp粘包拆包问题了,设置unpack_setting_t |
Contributor
|
这个pr啥时候合到主分支呀,我想基于这个pr做个提交 |
Owner
|
感谢 @House-Men 的贡献 🙏 这个 onAccept/onClose 的设计非常合理——它补上了连接生命周期这一层能力(accept 时拒连、连接计数等),是现有请求级 handler chain 组合不出来的。 我在 #881 中采纳了这个思路,并做了一些扩展和打磨:
因此这里先关闭本 PR,相关能力在 #881 中继续。再次感谢! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
满足一些需要对HttpServer通讯层socket套接字hio做一些业务处理操作或计数器类需求。