mirror of
https://github.com/aler9/gortsplib
synced 2025-10-07 08:01:14 +08:00
server: rewrite timeout system
This commit is contained in:
@@ -488,7 +488,7 @@ func TestServerErrorCSeqMissing(t *testing.T) {
|
||||
func TestServerErrorInvalidMethod(t *testing.T) {
|
||||
h := &testServerHandler{
|
||||
onConnClose: func(sc *ServerConn, err error) {
|
||||
require.Equal(t, "invalid method", err.Error())
|
||||
require.Equal(t, "unhandled request", err.Error())
|
||||
},
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user