mirror of
https://github.com/curl/curl.git
synced 2025-03-31 16:00:35 +08:00
cookie: set ->running in cookie_init even if data is NULL
This is a regression introduced in b1b326ec500 (shipped in curl 8.1.0) Test 3103 verifies. Fixes #11875 Reported-by: wangp on github Closes #11876
This commit is contained in:
parent
7f225456d1
commit
73c82ed941
@ -1266,8 +1266,8 @@ struct CookieInfo *Curl_cookie_init(struct Curl_easy *data,
|
||||
fclose(handle);
|
||||
}
|
||||
data->state.cookie_engine = TRUE;
|
||||
c->running = TRUE; /* now, we're running */
|
||||
}
|
||||
c->running = TRUE; /* now, we're running */
|
||||
|
||||
return c;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user