handle ts segment write errors
This commit is contained in:
parent
9d7a57745f
commit
c41b00ccfa
1 changed files with 3 additions and 1 deletions
|
@ -299,7 +299,9 @@ func (agent *SRTManager) handle_data_storage(packet *Packet) {
|
||||||
agent.storage.Relink(packet.timestamp)
|
agent.storage.Relink(packet.timestamp)
|
||||||
}
|
}
|
||||||
// write out all possible packets
|
// write out all possible packets
|
||||||
agent.storage.Expunge(agent.output)
|
if err := agent.storage.Expunge(agent.output); err != nil {
|
||||||
|
agent.state = 4
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// determines appropriate packets and responses depending on tunnel state
|
// determines appropriate packets and responses depending on tunnel state
|
||||||
|
|
Loading…
Reference in a new issue