diff options
author | Daniel Stenberg <daniel@haxx.se> | 2008-08-11 20:29:36 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2008-08-11 20:29:36 +0000 |
commit | f8a3aa91cd87a84ea1b5a0a643571bafda3968c8 (patch) | |
tree | d6d35119c2a085af6b1afa9e84438bb70eec4206 /lib/http_ntlm.h | |
parent | 019bde82ce8fd9d0a335edb30441088a96906d1b (diff) | |
download | curl-f8a3aa91cd87a84ea1b5a0a643571bafda3968c8.tar.gz |
- Constantine Sapuntzakis filed bug report #2042430
(http://curl.haxx.se/bug/view.cgi?id=2042430) with a patch. "NTLM Windows
SSPI code is not thread safe". This was due to libcurl using static
variables to tell wether to load the necessary SSPI DLL, but now the loading
has been moved to the more suitable curl_global_init() call.
Diffstat (limited to 'lib/http_ntlm.h')
-rw-r--r-- | lib/http_ntlm.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/http_ntlm.h b/lib/http_ntlm.h index 40a0c9b5d..c5e73ede8 100644 --- a/lib/http_ntlm.h +++ b/lib/http_ntlm.h @@ -7,7 +7,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 1998 - 2005, Daniel Stenberg, <daniel@haxx.se>, et al. + * Copyright (C) 1998 - 2008, Daniel Stenberg, <daniel@haxx.se>, et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms @@ -44,6 +44,10 @@ void Curl_ntlm_cleanup(struct connectdata *conn); #define Curl_ntlm_cleanup(x) #endif +#ifdef USE_WINDOWS_SSPI +CURLcode Curl_ntlm_global_init(); +void Curl_ntlm_global_cleanup(); +#endif /* Flag bits definitions based on http://davenport.sourceforge.net/ntlm.html */ |