Handle uninitialized connections in disposal (#1786) (#1794)
- We made a change to not initialize pipes up front on connection creation. That change make it null ref in disposal because we didn't check if the pipes were initialized. - Added a test - Also fixed the EchoConnectionHandler in the functional ts tests.
显示
- clients/ts/FunctionalTests/EchoConnectionHandler.cs 15 个添加, 23 个删除clients/ts/FunctionalTests/EchoConnectionHandler.cs
- src/Microsoft.AspNetCore.Http.Connections/HttpConnectionContext.cs 6 个添加, 6 个删除...soft.AspNetCore.Http.Connections/HttpConnectionContext.cs
- test/Microsoft.AspNetCore.Http.Connections.Tests/HttpConnectionManagerTests.cs 14 个添加, 0 个删除...Core.Http.Connections.Tests/HttpConnectionManagerTests.cs
加载中
想要评论请 注册 或 登录