-
Type:
Improvement
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Server Programmability
-
None
-
3
-
None
-
None
-
None
-
None
-
None
-
None
We have a Socket class in util/net/sock.h
This doesn't use ASIO so they're in a completely different API from the transport layer.
But the transport layer tries to reuse some of the Socket configuration functions in socket_util.h, like setSocketKeepAliveParams or disableNagle.
This is unfortunate, because we have to break our sockets out of ASIO with native_handle calls to do this, and we don't get the benefits of ASIO's abstractions, and we have two ways to do the same socket configurations.
- is duplicated by
-
SERVER-100916 Consider removing Socket class
-
- Closed
-