]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
net_handler: adjust set_socket_options to avoid read from conf
authorHaomai Wang <haomai@xsky.com>
Thu, 31 Dec 2015 15:46:17 +0000 (23:46 +0800)
committerHaomai Wang <haomai@xsky.com>
Mon, 11 Jul 2016 14:41:50 +0000 (22:41 +0800)
commit2d1f7aaf404e2ef6feb0c46aa007f5a8b0999764
tree9b4329eb390cbbb7a02d06806a23047f9114228f
parent5485296a3da76259abf44c6a44a0d698ca8cb185
net_handler: adjust set_socket_options to avoid read from conf

We don't want net_handler rely on config value, caller may expect to pass
different value to set_socket_options according to different socket type
like heartbeat, client socket or server socket.

Signed-off-by: Haomai Wang <haomai@xsky.com>
src/msg/async/net_handler.cc
src/msg/async/net_handler.h