Skip to content

quic需要显示的设置UDP buff, 否则工作不正常#289

Merged
xia-chu merged 10 commits into
ZLMediaKit:masterfrom
alexliyu7352:quic-need
Apr 18, 2026
Merged

quic需要显示的设置UDP buff, 否则工作不正常#289
xia-chu merged 10 commits into
ZLMediaKit:masterfrom
alexliyu7352:quic-need

Conversation

@alexliyu7352
Copy link
Copy Markdown
Member

@alexliyu7352 alexliyu7352 commented Apr 14, 2026

test_udpEchoServer + test_udpLantencyClient 3 轮对照后:
- 当前:2250 / 2238 / 2274 ms
- 父提交:2344 / 2379 / 2186 ms
- 均值:
- 当前 2254.0 ms
- 父提交 2303.0 ms
- 当前相对父提交 -2.13%
性能稍微有点影响, 现在最终收口后应该语义上不会对现有链路产生影响. 相比第一个提交, 我改进了使用方式.
并且由于增加了公开函数, 所以做了一些验证限制.避免被误用. 另外一个忘记过滤也提交的宏定义也做了兼容处理

Copilot AI review requested due to automatic review settings April 14, 2026 22:20

This comment was marked as outdated.

This comment was marked as outdated.

@alexliyu7352 alexliyu7352 requested a review from Copilot April 15, 2026 01:15

This comment was marked as outdated.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/Network/BufferSock.cpp
@xia-chu
Copy link
Copy Markdown
Member

xia-chu commented Apr 15, 2026

@alexliyu7352 看了下pr的内容 感觉没啥问题 还有要更新的吗 我合入了?

@alexliyu7352
Copy link
Copy Markdown
Member Author

@alexliyu7352 看了下pr的内容 感觉没啥问题 还有要更新的吗 我合入了?

@xia-chu 我根据AI review进行了几轮兼容性改进, 并针对的做了测试, 感觉没什么问题, 只是性能下降了不到1.5%, 主要是你要看看向下兼容性, 是否会影响到zlmediakit. 抱歉现在才回, 最近被公司送去参加一个全公司内部的培训去了, 安排的活动太满了. 一直没时间处理自己的事情.

@xia-chu xia-chu merged commit bb1a382 into ZLMediaKit:master Apr 18, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants