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
1 changed files with 3 additions and 0 deletions

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