cookie: ignore individual cookie errors when loading
No binary (build failed)
—
(log yok)
| @@ -1198,8 +1198,9 @@ static CURLcode cookie_load(struct Curl_easy *data, const char *file, | |
| (headerline ? COOKIE_HTTPHEADER : 0) | | |
| COOKIE_NOEXPIRE | COOKIE_SECURE | | |
| (flags & COOKIE_NOPSL)); | |
| - | /* File reading cookie failures are not propagated back to the |
| - | caller because there is no way to do that */ |
| + | /* Ignore individual cookie problems unless we ran out of memory */ |
| + | if(result != CURLE_OUT_OF_MEMORY) |
| + | result = CURLE_OK; |
| } | |
| } while(!result && !eof); | |
| curlx_dyn_free(&buf); /* free the line buffer */ | |