Commit 5400e092 authored by Alex Beregszaszi's avatar Alex Beregszaszi
Browse files

if feeder is disconnected, clear the feed registration, thus a new feeder can connect

Originally committed as revision 8072 to svn://
parent 038a1243
......@@ -762,6 +762,13 @@ static void close_connection(HTTPContext *c)
if (c->stream && !c->post && c->stream->stream_type == STREAM_TYPE_LIVE)
current_bandwidth -= c->stream->bandwidth;
/* signal that there is no feed if we are the feeder socket */
if (c->state == HTTPSTATE_RECEIVE_DATA && c->stream) {
c->stream->feed_opened = 0;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment