From ecd05eae3d27a992bbfb9620685d95ae0abdb515 Mon Sep 17 00:00:00 2001 From: aler9 <46489434+aler9@users.noreply.github.com> Date: Fri, 26 Nov 2021 15:52:38 +0100 Subject: [PATCH] server: reply with code 454 when session is not found --- server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.go b/server.go index edced5f9..85cfda40 100644 --- a/server.go +++ b/server.go @@ -400,7 +400,7 @@ func (s *Server) run() { if !req.create { req.res <- sessionRequestRes{ res: &base.Response{ - StatusCode: base.StatusBadRequest, + StatusCode: base.StatusSessionNotFound, }, err: liberrors.ErrServerSessionNotFound{}, }