Revision c1593d0e

View differences:

ffserver.c
2477 2477
 fail:
2478 2478
    c->stream->feed_opened = 0;
2479 2479
    close(c->feed_fd);
2480
    /* wake up any waiting connections to stop waiting for feed */
2481
    for(c1 = first_http_ctx; c1 != NULL; c1 = c1->next) {
2482
        if (c1->state == HTTPSTATE_WAIT_FEED &&
2483
            c1->stream->feed == c->stream->feed)
2484
            c1->state = HTTPSTATE_SEND_DATA_TRAILER;
2485
    }
2480 2486
    return -1;
2481 2487
}
2482 2488

  

Also available in: Unified diff