-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Sockets factories for Connection Abstractions #40044
Comments
Tagging subscribers to this area: @dotnet/ncl |
Tagging subscribers to this area: @dotnet/ncl |
Tagging subscribers to this area: @dotnet/ncl |
HI, The current bits (ie under This issue seems to be about sockets implementations of the "new" abstractions, which is great! The question... will these be appropriate, both in usage and packaging, for the development of clients (not just servers)? Thanks, |
@AndyPook these are public APIs. |
awesome, thanks |
@antonfirsov wants to take it on ... |
Will do. |
@scalablecory what is the right namespace for these? In the original proposal socket connection stuff has been placed under |
SocketsHttp... Is HTTP specific. These two should be in System.Net.Connections. |
This got now partially implemented for 5.0. Leftovers:
During implementation we found uncertainities around the ownership of disposable resources coupled to the We should revisit and probably slightly alter the design of these factory methods before moving on. When figuring out the ownership semantics, we should also think about how GracefulShutdown shall be implemented with user-provided pipes. |
I'm going to close this. If this library ever comes back, this can be a part of it, but until then, it's not actionable. |
Update: Partially implemented, the remaining parts needs to be revisited. See #40044 (comment) -- @antonfirsov
Implementation was merged for #1793, sans the sockets factories. This tracks the remaining work to implement that issue.
The
SocketsConnectionFactory
will be trivial to implement: essentially, one must move the implementation over fromSocketsHttpConnectionFactory
, and make that class inherit from this one.SocketsListenerFactory
can reuse the sameSocketsConnection
, so 80% of work is already done for that as well.The text was updated successfully, but these errors were encountered: