Details
-
Improvement
-
Resolution: Unresolved
-
Major - P3
-
None
-
None
-
None
-
None
-
Service Arch
Description
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.