aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorDave Wallace <dwallacelf@gmail.com>2019-10-30 23:40:33 +0000
committerFlorin Coras <florin.coras@gmail.com>2019-11-04 22:46:16 +0000
commit34d92ebde67efb96784e0360f25a3b3c3b86b8f0 (patch)
tree91a0741b8248a545f05ffe19ce7b50a668922473 /src/plugins
parent8f6d7a78767e6c49925bd380ed3601b70b43b3ee (diff)
quic: remove redundant function calls
- session_transport_delete_notify() is called before and inside quic_connection_delete() Type: fix Signed-off-by: Dave Wallace <dwallacelf@gmail.com> Change-Id: I5c79a3269e36c4aab5aa99fdfdac06c1334f0f6f
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/quic/quic.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/plugins/quic/quic.c b/src/plugins/quic/quic.c
index d9d58449f7e..f69533c0dcc 100644
--- a/src/plugins/quic/quic.c
+++ b/src/plugins/quic/quic.c
@@ -276,14 +276,12 @@ quic_connection_closed (quic_ctx_t * ctx)
break;
case QUIC_CONN_STATE_PASSIVE_CLOSING_APP_CLOSED:
/* App already confirmed close, we can delete the connection */
- session_transport_delete_notify (&ctx->connection);
quic_connection_delete (ctx);
break;
case QUIC_CONN_STATE_PASSIVE_CLOSING_QUIC_CLOSED:
QUIC_DBG (0, "BUG");
break;
case QUIC_CONN_STATE_ACTIVE_CLOSING:
- session_transport_delete_notify (&ctx->connection);
quic_connection_delete (ctx);
break;
default: