Skip to content

Commit

Permalink
fix: default set streamId to 1, prevent connect reuse of crash
Browse files Browse the repository at this point in the history
  • Loading branch information
Ossianaa committed Sep 21, 2024
1 parent ed926cc commit bac31c7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/libcurl/bao_curl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ void BaoCurl::init()
CHECK_CURLOK(curl_easy_setopt(this->m_pCURL, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1));
CHECK_CURLOK(curl_easy_setopt(this->m_pCURL, CURLOPT_COOKIEFILE, NULL));
CHECK_CURLOK(curl_easy_setopt(this->m_pCURL, CURLOPT_PRIVATE, this));
setHttp2NextStreamId(1);
this->setTimeout(15, 15);
}

Expand Down

0 comments on commit bac31c7

Please sign in to comment.