summaryrefslogtreecommitdiffstats
path: root/src/vnet/session/application.c
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2021-05-13 11:37:43 -0700
committerDamjan Marion <dmarion@me.com>2021-05-14 08:44:47 +0000
commit374df7a29407b706a5fb4fe6a6f1a7b84ec4a60e (patch)
tree152886657ecb36c90c117338a66684b76be3aab2 /src/vnet/session/application.c
parentbab6c52f4544ebe352a1a9f832137d9b4069ae6c (diff)
session: switch ct to vc and track half-opens
Type: improvement Signed-off-by: Florin Coras <fcoras@cisco.com> Change-Id: I7f9c4b9b6e523ab549087ad21724f34f08fca793
Diffstat (limited to 'src/vnet/session/application.c')
-rw-r--r--src/vnet/session/application.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vnet/session/application.c b/src/vnet/session/application.c
index e0c87b96928..8a304f965f6 100644
--- a/src/vnet/session/application.c
+++ b/src/vnet/session/application.c
@@ -1345,9 +1345,9 @@ vnet_connect (vnet_connect_args_t * a)
a->sep_ext.original_tp = a->sep_ext.transport_proto;
a->sep_ext.transport_proto = TRANSPORT_PROTO_NONE;
rv = app_worker_connect_session (client_wrk, &a->sep_ext, &a->sh);
- if (rv <= 0)
- return rv;
a->sep_ext.transport_proto = a->sep_ext.original_tp;
+ if (!rv || rv != SESSION_E_LOCAL_CONNECT)
+ return rv;
}
/*
* Not connecting to a local server, propagate to transport