diff --git a/Foundation/Foundation_vs71.vcproj b/Foundation/Foundation_vs71.vcproj index 25a9df1b7..029150248 100644 --- a/Foundation/Foundation_vs71.vcproj +++ b/Foundation/Foundation_vs71.vcproj @@ -164,6 +164,7 @@ Name="VCCustomBuildTool"/> @@ -217,6 +218,7 @@ Name="VCCustomBuildTool"/> diff --git a/Foundation/Foundation_vs80.vcproj b/Foundation/Foundation_vs80.vcproj index 2355fa208..fd3185479 100644 --- a/Foundation/Foundation_vs80.vcproj +++ b/Foundation/Foundation_vs80.vcproj @@ -256,6 +256,7 @@ /> { public: ConstIterator() diff --git a/Foundation/src/AsyncChannel.cpp b/Foundation/src/AsyncChannel.cpp index 6ef1ed388..7905f6fb5 100644 --- a/Foundation/src/AsyncChannel.cpp +++ b/Foundation/src/AsyncChannel.cpp @@ -115,7 +115,10 @@ void AsyncChannel::close() { while (!_queue.empty()) Thread::sleep(100); - do { _queue.wakeUpAll(); } + do + { + _queue.wakeUpAll(); + } while (!_thread.tryJoin(100)); } } diff --git a/Net/Net_vs71.vcproj b/Net/Net_vs71.vcproj index 25c0e5542..0386ffe45 100644 --- a/Net/Net_vs71.vcproj +++ b/Net/Net_vs71.vcproj @@ -166,6 +166,7 @@ Name="VCCustomBuildTool"/> @@ -219,6 +220,7 @@ Name="VCCustomBuildTool"/> diff --git a/Net/Net_vs80.vcproj b/Net/Net_vs80.vcproj index d8c03bb1a..63671c119 100644 --- a/Net/Net_vs80.vcproj +++ b/Net/Net_vs80.vcproj @@ -258,6 +258,7 @@ /> @@ -219,6 +220,7 @@ Name="VCCustomBuildTool"/> diff --git a/NetSSL_OpenSSL/NetSSL_OpenSSL_vs80.vcproj b/NetSSL_OpenSSL/NetSSL_OpenSSL_vs80.vcproj index 7eec828f6..f9759fd4a 100644 --- a/NetSSL_OpenSSL/NetSSL_OpenSSL_vs80.vcproj +++ b/NetSSL_OpenSSL/NetSSL_OpenSSL_vs80.vcproj @@ -254,6 +254,7 @@ /> _encodings.end()) knownEncoding = it->second; else - knownEncoding = Poco::TextEncoding::find(encoding); + knownEncoding = Poco::TextEncoding::find(fromXMLString(encoding)); if (knownEncoding) {