cookie: accept slightly longer lines in cookie jars
No binary (build failed)
—
(log yok)
| @@ -1181,7 +1181,9 @@ static CURLcode cookie_load(struct Curl_easy *data, const char *file, | |
| if(fp) { | |
| struct dynbuf buf; | |
| bool eof = FALSE; | |
| - | curlx_dyn_init(&buf, MAX_COOKIE_LINE); |
| + | /* accept a little longer lines so that a full cookie fits and does not |
| + | abort the file read */ |
| + | curlx_dyn_init(&buf, MAX_COOKIE_LINE + 48); |
| do { | |
| result = Curl_get_line(&buf, fp, &eof); | |
| if(!result) { | |