This commit is contained in:
aler9
2021-04-04 19:40:21 +02:00
parent 5847b507d1
commit fc3d84be56
5 changed files with 44 additions and 27 deletions

View File

@@ -195,7 +195,7 @@ func (ts *testServ) handleConn(conn *ServerConn) {
}
}
err := <-conn.Read(ServerConnReadHandlers{
<-conn.Read(ServerConnReadHandlers{
OnDescribe: onDescribe,
OnAnnounce: onAnnounce,
OnSetup: onSetup,
@@ -203,11 +203,6 @@ func (ts *testServ) handleConn(conn *ServerConn) {
OnRecord: onRecord,
OnFrame: onFrame,
})
if err != io.EOF {
if _, ok := err.(liberrors.ErrServerTeardown); !ok {
fmt.Println("ERR", err)
}
}
ts.mutex.Lock()
defer ts.mutex.Unlock()