add server publish checking
This commit is contained in:
parent
579bf2e195
commit
10089f4f25
1 changed files with 3 additions and 0 deletions
|
@ -49,5 +49,8 @@ func handle_conn(conn net.Conn, stream_live *bool) {
|
|||
if !CreateStream(chunk_wrapper) {
|
||||
return
|
||||
}
|
||||
if !PublishAsKey(chunk_wrapper) {
|
||||
return
|
||||
}
|
||||
*stream_live = false
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue