mirror of
https://github.com/aler9/gortsplib
synced 2025-10-06 15:46:51 +08:00
server: reply with code 454 when session is not found
This commit is contained in:
@@ -400,7 +400,7 @@ func (s *Server) run() {
|
|||||||
if !req.create {
|
if !req.create {
|
||||||
req.res <- sessionRequestRes{
|
req.res <- sessionRequestRes{
|
||||||
res: &base.Response{
|
res: &base.Response{
|
||||||
StatusCode: base.StatusBadRequest,
|
StatusCode: base.StatusSessionNotFound,
|
||||||
},
|
},
|
||||||
err: liberrors.ErrServerSessionNotFound{},
|
err: liberrors.ErrServerSessionNotFound{},
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user