diff options
Diffstat (limited to 'ffserver.c')
-rw-r--r-- | ffserver.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ffserver.c b/ffserver.c index 1d32892340..20900fb44e 100644 --- a/ffserver.c +++ b/ffserver.c @@ -811,7 +811,8 @@ static void http_send_too_busy_reply(int fd) "</body></html>\r\n", nb_connections, nb_max_connections); av_assert0(len < sizeof(buffer)); - send(fd, buffer, len, 0); + if (send(fd, buffer, len, 0) < len) + av_log(NULL, AV_LOG_WARNING, "Could not send too-busy reply, send() failed\n"); } |