+21
−14
Loading
If there is socket read error, we should directly disconnect the socket instead of set the tqpair into RECV_ERROR state. When it is in ERROR_RECV state, it does not mean that we should close the socket immediately. Change-Id: I975906653c13eb3fa5195799c517015435176785 Signed-off-by:Ziye Yang <optimistyzy@gmail.com> Reviewed-on: https://review.gerrithub.io/c/441830 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by:
Ben Walker <benjamin.walker@intel.com> Reviewed-by:
Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by:
Changpeng Liu <changpeng.liu@intel.com>