summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorChris Leech <cleech@redhat.com>2016-02-29 14:13:27 -0800
committerChris Leech <cleech@redhat.com>2016-04-12 13:02:12 -0700
commit742e4e2fae1ffa3a86247e23e0d36a2f47481ff1 (patch)
treeb6a81bb4140e77814b44ea11dacec939848bf7fa /include
parentd2c98773a62ff3ca8c1335833c33c2b054c58243 (diff)
downloadopen-iscsi-742e4e2fae1ffa3a86247e23e0d36a2f47481ff1.tar.gz
iscsi_tcp set SO_LINGER to abort connection for error handling
When requests are being failed it's important to abort the TCP connection rather than let TCP wait and attempt a graceful shutdown. That can be accomplished by setting the SO_LINGER socket option with a linger time of 0 to drop queued data and close the connection with a RST instead of a FIN. Signed-off-by: Chris Leech <cleech@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions