Comment 6 for bug 1493229

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/13656
Committed: http://github.org/Juniper/contrail-controller/commit/6c1a837304c3eb48ceacca8733d4f4dcdf31c612
Submitter: Zuul
Branch: master

commit 6c1a837304c3eb48ceacca8733d4f4dcdf31c612
Author: Prabhjot Singh Sethi <email address hidden>
Date: Tue Sep 8 15:16:52 2015 +0530

Fix crash for handshake failure in ssl infra

Issue:
------
on handshake failure, session triggers sever notify_close
handler as well, while having only one session for which
handshake failed no issue was observed, however if there
are existing established/closed sessions present in the
ref map it results in assertion.
Since it is expected that session will be added to ref_map
only when the handshake is complete

Fix:
----
since SSL handshake is done in Server context, close
session should be called without server notify flag.

Added test-case for the same

Closes-Bug: 1493229
Change-Id: I07a6ce56dd206a753b14515a03e01fd2a933d2b2