mirror of
https://github.com/curl/curl.git
synced 2026-07-24 19:57:25 +03:00
easy_reset: fix dohfor_mid member
On an easy reset, the dohfor_mid must be reset to -1. Reported-by: epicmkirzinger on github Fixes #17052 Closes #17058
This commit is contained in:
parent
6ab5afbc36
commit
39326f8ae6
1 changed files with 4 additions and 0 deletions
|
|
@ -366,6 +366,10 @@ CURLcode Curl_init_userdefined(struct Curl_easy *data)
|
|||
set->postfieldsize = -1; /* unknown size */
|
||||
set->maxredirs = 30; /* sensible default */
|
||||
|
||||
#ifndef CURL_DISABLE_DOH
|
||||
set->dohfor_mid = -1;
|
||||
#endif
|
||||
|
||||
set->method = HTTPREQ_GET; /* Default HTTP request */
|
||||
#ifndef CURL_DISABLE_RTSP
|
||||
set->rtspreq = RTSPREQ_OPTIONS; /* Default RTSP request */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue