diff options
author | Florin Coras <fcoras@cisco.com> | 2020-02-03 16:00:56 +0000 |
---|---|---|
committer | Andrew Yourtchenko <ayourtch@gmail.com> | 2020-08-12 15:59:46 +0000 |
commit | cfae0f882eb67621fd351749f2f55909f4088a89 (patch) | |
tree | dd920cbcab04d4b3ca8e5e149e03c05d1a3c61ff | |
parent | 779ca383b9538b00a3e88a399d436490b6b81efa (diff) |
vcl: fix session closing error
Type: fix
Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: I94f1365569e98d43486d9528faafc6d7c3ad88f7
(cherry picked from commit 190dc1f6782eba4c49511636570eef678d1bac16)
-rw-r--r-- | src/vcl/vcl_private.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vcl/vcl_private.h b/src/vcl/vcl_private.h index f83b19ebc61..f76beaee972 100644 --- a/src/vcl/vcl_private.h +++ b/src/vcl/vcl_private.h @@ -538,7 +538,8 @@ vcl_session_is_closing (vcl_session_t * s) static inline int vcl_session_closing_error (vcl_session_t * s) { - return s->session_state == STATE_DISCONNECT ? VPPCOM_ECONNRESET : 0; + return s->session_state == STATE_DISCONNECT + ? VPPCOM_ECONNRESET : VPPCOM_ECONNABORTED; } static inline int |