Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
http client: increase max. temporary buffer size limit for SAT>IP RTS…
…P embedded data
  • Loading branch information
perexg committed Apr 21, 2016
1 parent 315a53f commit c3eefc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/httpc.c
Expand Up @@ -980,7 +980,7 @@ http_client_run0( http_client_t *hc )
}

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);
Expand Down

0 comments on commit c3eefc6

Please sign in to comment.