aboutsummaryrefslogtreecommitdiff
path: root/lib/urldata.h
diff options
context:
space:
mode:
authorMarc Hoersken <info@marc-hoersken.de>2012-09-09 12:36:54 +0200
committerMarc Hoersken <info@marc-hoersken.de>2012-09-09 12:36:54 +0200
commit160312d9456763b36efbabf8a911e0185539f0e6 (patch)
tree311c3ab191f65651bdcb354e2a987cf04e4e059f /lib/urldata.h
parentbadb81769a32c263e4a1d4d161688bb67fbf940d (diff)
curl_schannel.c: Reference count the credential/session handle
Reference counting the credential handle should avoid that such a handle is freed while it is still required for connection shutdown
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 fddfc0d05..5f893c92e 100644
--- a/lib/urldata.h
+++ b/lib/urldata.h
@@ -234,6 +234,7 @@ enum protection_level {
struct curl_schannel_cred {
CredHandle cred_handle;
TimeStamp time_stamp;
+ int refcount;
};
struct curl_schannel_ctxt {