Don't error if the client is sending a started event
This commit is contained in:
parent
e7481b31c1
commit
9054c1364a
1 changed files with 1 additions and 1 deletions
|
@ -114,7 +114,7 @@ func updateSwarm(c Conn, w Writer, ann *models.Announce, p *models.Peer, t *mode
|
|||
t.Leechers[p.ID] = *p
|
||||
|
||||
default:
|
||||
if ann.Event != "" {
|
||||
if ann.Event != "" && ann.Event != "started" {
|
||||
err = models.ErrBadRequest
|
||||
w.WriteError(err)
|
||||
return
|
||||
|
|
Loading…
Reference in a new issue