From 57762a2cfcf7a57c1c856b693b37399bdbcb4cd3 Mon Sep 17 00:00:00 2001 From: Guenter Obiltschnig Date: Tue, 16 Sep 2008 17:26:28 +0000 Subject: [PATCH] fixed various bugs (see SF tracker) --- Foundation/Foundation_vs71.vcproj | 2 + Foundation/Foundation_vs80.vcproj | 2 + Foundation/Foundation_vs90.vcproj | 2 + Foundation/include/Poco/LinearHashTable.h | 2 +- Foundation/src/AsyncChannel.cpp | 5 ++- Net/Net_vs71.vcproj | 2 + Net/Net_vs80.vcproj | 2 + Net/Net_vs90.vcproj | 2 + Net/include/Poco/Net/HTTPCookie.h | 15 ++++++- Net/src/HTMLForm.cpp | 1 + Net/src/HTTPCookie.cpp | 52 +++++++++++++++++------ Net/testsuite/src/HTTPCookieTest.cpp | 8 +++- NetSSL_OpenSSL/NetSSL_OpenSSL_vs71.vcproj | 2 + NetSSL_OpenSSL/NetSSL_OpenSSL_vs80.vcproj | 2 + NetSSL_OpenSSL/NetSSL_OpenSSL_vs90.vcproj | 2 + XML/include/Poco/XML/XMLString.h | 6 ++- XML/src/AttributesImpl.cpp | 6 +-- XML/src/NamespaceStrategy.cpp | 8 ++-- XML/src/ParserEngine.cpp | 4 +- 19 files changed, 97 insertions(+), 28 deletions(-) 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) {