[APR-6039]set retransmit count for connection termination to 1
authorDenis Vinogradov <denis.vinogradov@samsung.com>
Tue, 10 Nov 2020 07:14:33 +0000 (16:14 +0900)
committerI am Robot <robot_ap@samsung.com>
Thu, 12 Nov 2020 20:24:24 +0000 (05:24 +0900)
commitc7297e28cf9057f5123a9a0312488f26cbbf7952
tree7124daeceea9a044851db3a868ed5382b306f2e2
parentbdb02c62f6d54012a0067dd5b43be55c20411bff
[APR-6039]set retransmit count for connection termination to 1

  [JIRA]: RAMEN9610-21788
  [Problem]: Connection termination takes 15 seconds.
It is too long and during that time user may
change settings.
  [Issue]: Retransmit count for terminate is same as
for initiate and we need to wait until procedure
completed before send response to framework.
  [Solution]: Set retransmit count to 1. If no response
received, close connection locally.

Change-Id: Ib5273fc1228e089e8e99beed057266db78dffafb
Signed-off-by: Denis Vinogradov <denis.vinogradov@samsung.com>
src/libcharon/sa/ikev2/task_manager_v2.c