1
0
mirror of https://github.com/moparisthebest/curl synced 2024-08-13 17:03:50 -04:00

curl_easy_reset: clear info for CULRINFO_PROTOCOL and CURLINFO_SCHEME

This commit is contained in:
Frank Gevaerts 2016-11-25 22:33:59 +01:00 committed by Daniel Stenberg
parent 3f7d9b9001
commit 267b26b24a

View File

@ -78,6 +78,9 @@ CURLcode Curl_initinfo(struct Curl_easy *data)
info->conn_primary_port = 0;
info->conn_local_port = 0;
info->conn_scheme = 0;
info->conn_protocol = 0;
#ifdef USE_SSL
Curl_ssl_free_certinfo(data);
#endif