mirror of
https://github.com/curl/curl.git
synced 2026-07-29 05:03:06 +03:00
parent
946ce5b61f
commit
8ea5d41fe0
11 changed files with 31 additions and 35 deletions
|
|
@ -2992,7 +2992,7 @@ static CURLcode header_append(struct Curl_easy *data,
|
|||
/* The reason to have a max limit for this is to avoid the risk of a bad
|
||||
server feeding libcurl with a never-ending header that will cause
|
||||
reallocs infinitely */
|
||||
failf(data, "Rejected %zd bytes header (max is %d)!", newsize,
|
||||
failf(data, "Rejected %zu bytes header (max is %d)!", newsize,
|
||||
CURL_MAX_HTTP_HEADER);
|
||||
return CURLE_OUT_OF_MEMORY;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue