diff options
author | Frank Gevaerts <frank@gevaerts.be> | 2016-11-25 22:33:59 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2016-11-26 16:53:51 +0100 |
commit | 267b26b24aed410d3aa96e91ee11801970558c7b (patch) | |
tree | ea11240f6997a72991c0103e87d818caffac2b5b | |
parent | 3f7d9b9001e838a69af13a44a364033e46f4a31f (diff) |
curl_easy_reset: clear info for CULRINFO_PROTOCOL and CURLINFO_SCHEME
-rw-r--r-- | lib/getinfo.c | 3 |
1 files changed, 3 insertions, 0 deletions
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 |