mirror of
https://github.com/aler9/gortsplib
synced 2025-10-05 15:16:51 +08:00
do not close the connection during ServerConn.Read
This commit is contained in:
@@ -11,6 +11,8 @@ import (
|
||||
)
|
||||
|
||||
func handleConn(conn *gortsplib.ServerConn) {
|
||||
defer conn.Close()
|
||||
|
||||
onRequest := func(req *base.Request) (*base.Response, error) {
|
||||
switch req.Method {
|
||||
case base.Options:
|
||||
|
Reference in New Issue
Block a user