mirror of
https://github.com/curl/curl.git
synced 2026-08-05 08:16:17 +03:00
tool_operate: allow cookie lines up to 8200 bytes
Since this option might set multiple cookies in the same line, it does not make total sense to cap this at 4096 bytes, which is the limit for a single cookie name or value. Closes #11303
This commit is contained in:
parent
6c25cd4508
commit
9ec099a2bc
1 changed files with 1 additions and 1 deletions
|
|
@ -1823,7 +1823,7 @@ static CURLcode single_transfer(struct GlobalConfig *global,
|
|||
struct curl_slist *cl;
|
||||
|
||||
/* The maximum size needs to match MAX_NAME in cookie.h */
|
||||
#define MAX_COOKIE_LINE 4096
|
||||
#define MAX_COOKIE_LINE 8200
|
||||
curlx_dyn_init(&cookies, MAX_COOKIE_LINE);
|
||||
for(cl = config->cookies; cl; cl = cl->next) {
|
||||
if(cl == config->cookies)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue