Refill if HTTP_read indicated it needs more data
commit91921dda7002ea8ffed9dfb74ad2913dfdd0b1ed
authorMartin Storsjo <martin@martin.st>
Mon, 21 May 2012 15:17:32 +0000 (21 18:17 +0300)
committerHoward Chu <hyc@highlandsun.com>
Tue, 30 Oct 2012 16:01:51 +0000 (30 09:01 -0700)
tree9e5ed41546caadbd5cb00540a079737b2da8fd36
parent4ded9e053744e54286ab9af4e9657f5926a79a2c
Refill if HTTP_read indicated it needs more data

HTTP_read wants to skip past the first payload byte, so
it actually needs to have at least 144 + 1 bytes buffered.

This also avoids relying on the magic 144 byte constant altogether,
which could easily break if servers include less reply headers.
librtmp/rtmp.c