From 267b26b24aed410d3aa96e91ee11801970558c7b Mon Sep 17 00:00:00 2001 From: Frank Gevaerts Date: Fri, 25 Nov 2016 22:33:59 +0100 Subject: [PATCH] curl_easy_reset: clear info for CULRINFO_PROTOCOL and CURLINFO_SCHEME --- lib/getinfo.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/getinfo.c b/lib/getinfo.c index 4459a486b..9c3ae6e27 100644 --- a/lib/getinfo.c +++ b/lib/getinfo.c @@ -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