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.
Reviewed: https:/ /review. opencontrail. org/13656 github. org/Juniper/ contrail- controller/ commit/ 6c1a837304c3eb4 8ceacca8733d4f4 dcdf31c612
Committed: http://
Submitter: Zuul
Branch: master
commit 6c1a837304c3eb4 8ceacca8733d4f4 dcdf31c612
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 753b14515a03e01 fd2a933d2b2
Change-Id: I07a6ce56dd206a