summaryrefslogtreecommitdiff
path: root/protocols/MSN
diff options
context:
space:
mode:
authorPiotr Piastucki <leech.miranda@gmail.com>2015-12-28 10:45:46 +0000
committerPiotr Piastucki <leech.miranda@gmail.com>2015-12-28 10:45:46 +0000
commitc8c307feec88c5a7b5d9fd81a785e7f5667083d2 (patch)
tree9394672f84e30c0787a9d899c56a1f1f73b22ef8 /protocols/MSN
parent92a39558ae4d7f991c5e925aae6e8491ef4865f6 (diff)
- MSN: addressing Ticket 1117: Closing Netlib handle after 60 second timeout invalidates handle which in turn causes crash. Now using Shutdown function to force connection close.
git-svn-id: http://svn.miranda-ng.org/main/trunk@15947 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/MSN')
-rw-r--r--protocols/MSN/src/msn_threads.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/MSN/src/msn_threads.cpp b/protocols/MSN/src/msn_threads.cpp
index 8e92e2e72e..073f74481c 100644
--- a/protocols/MSN/src/msn_threads.cpp
+++ b/protocols/MSN/src/msn_threads.cpp
@@ -52,7 +52,7 @@ void __cdecl CMsnProto::msn_keepAliveThread(void*)
if (hHttpsConnection && (clock() - mHttpsTS) > 60 * CLOCKS_PER_SEC) {
HANDLE hConn = hHttpsConnection;
hHttpsConnection = NULL;
- Netlib_CloseHandle(hConn);
+ Netlib_Shutdown(hConn);
}
if (mStatusMsgTS && (clock() - mStatusMsgTS) > 60 * CLOCKS_PER_SEC) {
mStatusMsgTS = 0;