]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
http client: increase max. temporary buffer size limit for SAT>IP RTSP embedded data
authorJaroslav Kysela <perex@perex.cz>
Thu, 21 Apr 2016 13:47:22 +0000 (15:47 +0200)
committerJaroslav Kysela <perex@perex.cz>
Thu, 21 Apr 2016 13:47:22 +0000 (15:47 +0200)
src/httpc.c

index da91f9a454db750ba52006aa9ed58777fabf6406..de5ea527e1bcd2530e69a738fe7142254444f560 100644 (file)
@@ -980,7 +980,7 @@ retry:
   }
 
   if (hc->hc_rsize < r + hc->hc_rpos) {
-    if (hc->hc_rsize + r > hc->hc_io_size + 16*1024)
+    if (hc->hc_rsize + r > hc->hc_io_size + 20*1024)
       return http_client_flush(hc, -EMSGSIZE);
     hc->hc_rsize += r;
     hc->hc_rbuf = realloc(hc->hc_rbuf, hc->hc_rsize + 1);