]> git.ipfire.org Git - thirdparty/strongswan.git/commit - src/libcharon/sa/ikev1/task_manager_v1.c
ike1: Flush active queue when queueing a delete of the IKE_SA
authorTobias Brunner <tobias@strongswan.org>
Tue, 28 Jun 2016 10:22:10 +0000 (12:22 +0200)
committerTobias Brunner <tobias@strongswan.org>
Tue, 19 Jul 2016 09:48:17 +0000 (11:48 +0200)
commit60d0f52fd6da3cb9ac379487344c4936e5f73882
treec3021fb93a949e539dd5f6f2e8600733cbaa311a
parent74de8c3727833891e6f3a73d5cc776d201112dfd
ike1: Flush active queue when queueing a delete of the IKE_SA

By aborting the active task we don't have to wait for potential
retransmits if the other peer does not respond to the current task.
Since IKEv1 has no sequential message IDs and INFORMATIONALs are no real
exchanges this should not be a problem.

Fixes #1537
References #429, #1410
Closes strongswan/strongswan#48
src/libcharon/sa/ikev1/task_manager_v1.c