aboutsummaryrefslogtreecommitdiff
path: root/lib/urldata.h
diff options
context:
space:
mode:
authorJay Satiro <raysatiro@yahoo.com>2016-09-17 01:48:20 -0400
committerJay Satiro <raysatiro@yahoo.com>2016-09-20 01:14:01 -0400
commit22cfeac730d5b115b04f6b6ebf2f0a74f0bc978d (patch)
tree97c95add2f45b8f91c220cb5f1fd556d186808d8 /lib/urldata.h
parent6834ebaaa3de5799bf4d4430005af5bca5bbe448 (diff)
easy: Reset all statistical session info in curl_easy_reset
Bug: https://github.com/curl/curl/issues/1017 Reported-by: Jeroen Ooms
Diffstat (limited to 'lib/urldata.h')
-rw-r--r--lib/urldata.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/urldata.h b/lib/urldata.h
index 3ac050b53..d5efe2a97 100644
--- a/lib/urldata.h
+++ b/lib/urldata.h
@@ -1104,6 +1104,7 @@ struct connectdata {
/*
* Struct to keep statistical and informational data.
+ * All variables in this struct must be reset in Curl_initinfo().
*/
struct PureInfo {
int httpcode; /* Recent HTTP, FTP, RTSP or SMTP response code */