mirror of
https://github.com/aler9/gortsplib
synced 2025-10-05 15:16:51 +08:00
server: close session when there are no conns attached to it
This commit is contained in:
@@ -935,7 +935,7 @@ func TestServerReadPlayPausePause(t *testing.T) {
|
||||
func TestServerReadTimeout(t *testing.T) {
|
||||
for _, proto := range []string{
|
||||
"udp",
|
||||
// checking TCP is useless, since there's no timeout when reading with TCP
|
||||
// there's no timeout when reading with TCP
|
||||
} {
|
||||
t.Run(proto, func(t *testing.T) {
|
||||
sessionClosed := make(chan struct{})
|
||||
|
Reference in New Issue
Block a user