From 8ba3be5f12ffff6818c394d0b0589cb713f68841 Mon Sep 17 00:00:00 2001 From: Sean Hefty Date: Fri, 27 Jul 2012 10:46:42 -0700 Subject: [PATCH] rsocket: Improve disconnect time under normal conditions When both sides of a connection attempt to close at the same time, one of the two sides can easily get an error when sending a disconnect message. This results in that side hanging during close until the send times out. (The time out is caused by the remote side destroying its QP.) We can reduce the chance of this occurring by immediately assuming that the disconnect has been successful once we've received the remote side's disconnect message. Signed-off-by: Sean Hefty -- 2.45.2