Skip to content
代码片段 群组 项目
未验证 提交 e2acbb98 编辑于 作者: David Fowler's avatar David Fowler 提交者: GitHub
浏览文件

Delay socket receive/send until first read/flush (#34458)

* Delay socket receive/send until first read/flush
- Today when the socket connection is accepted or connection, we implicitly start reading and writing from the socket. This can prevent certain scenarios where users want to get access to the raw socket before any operations happen (like in hand off scenarios). This change defers the reads and writes until read or flush is called on the transport's IDuplexPipe.
- Added test to make sure we can read from the socket via IConnectionocket feature.
- Added DuplicateAndClose test
上级 1e52c741
No related branches found
No related tags found
无相关合并请求
加载中
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册