diff options
Diffstat (limited to 'xlators/protocol/server/src/server-protocol.c')
-rw-r--r-- | xlators/protocol/server/src/server-protocol.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/xlators/protocol/server/src/server-protocol.c b/xlators/protocol/server/src/server-protocol.c index 7fc379efb..47bc2ae96 100644 --- a/xlators/protocol/server/src/server-protocol.c +++ b/xlators/protocol/server/src/server-protocol.c @@ -7803,6 +7803,10 @@ notify (xlator_t *this, int32_t event, void *data, ...) "handshake with (%s) is successful", myinfo->identifier, peerinfo->identifier); } else { + /* + * FIXME: shouldn't we check for return value? + * what should be done if cleanup fails? + */ server_connection_cleanup (this, trans->xl_private); } } |