1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

* Add a sleep when doing the post to ffserver. Yes, this is the wrong

solution.

Originally committed as revision 464 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Philip Gladstone 2002-05-09 01:19:15 +00:00
parent 28c66901a9
commit ddceb31d93

View File

@ -217,8 +217,10 @@ static int http_connect(URLContext *h, const char *path)
s->buf_end = s->buffer;
s->line_count = 0;
s->location[0] = '\0';
if (post)
if (post) {
sleep(1);
return 0;
}
/* wait for header */
q = line;