Thread: [Cppcms-users] CppCMS 1.0.5 Released
Brought to you by:
artyom-beilis
|
From: Artyom B. <art...@ya...> - 2014-10-30 15:36:57
|
Hello CppCMS Users, CppCMS 1.0.5 was released and available for download. Bug Fixes: - Fixed 121, 98 - bug caused invalid year formatting/parsing by icu backend - fixed incorrect use of year of the week instead year - Fixed 122 - memory leak in Win32 threading library - Fixed 105 - string_key.h has a bad operator '!=' - Fixed 119 - bad html formatting. - Fixed 106 - IPv6 support on Winows - Fixed 129 - cppcms_make_key - invalid option name - Fixed 97 - impossible to use upper case in namespace in <% include %> - Fixed 84 - 64K fd limit - Fixed 108 - test_locale_boundary & booster_locale_formatting failure - Fixed various issues libc++/clang support - Significantly improved multipart parsing closing f.r. 27 - Removed reuse_address socket option in Windows Minor Security Improvements: - Issue 117: possibility of Timing Attack Vulnerability Platform Support: - NetBSD is supported platform - FreeBSD added support of POSIX locale & clang/libc++ RPM repositories at Open Build Service are already ready, Debian packages for Ubuntu and Debian would be published soon. Artyom Beilis -------------- CppCMS - C++ Web Framework: http://cppcms.com/ CppDB - C++ SQL Connectivity: http://cppcms.com/sql/cppdb/ |
|
From: Vizcayno <viz...@gm...> - 2014-11-04 00:59:38
|
Thanks for the new version, some hours ago I finished the installation of this
one on an macbook pro with OSX10.10 (Yosemite) and the c++ compiler:
Apple LLVM version 6.0 (clang-600.0.54) (based on LLVM 3.5svn)
Target: x86_64-apple-darwin14.0.0
Thread model: posix
The only objects that I downloaded from internet were cmake and pcre, the
remaining objects in the mandatory requirements are included in the
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/
SDKs/Mac OSX10.10.sdk
After building cppcms and executing the “make test” the next failed tests were
generated:
23:http_timeouts_test_write
75:test_locale_codepage
However, after installation of cppcms, I could compile, link and execute the
first example program “hello” without problems.
My question is if the two failed tests are important (see details below) and
how I can fix them?
My best regards.
Viz
=============================================================
Description of error 23 is:
23/88 Testing: http_timeouts_test_write
23/88 Test: http_timeouts_test_write
Command: "/Users/viz/cppcms/build/http_timeouts_test" "-c"
"/Users/viz/cppcms/tests/proto_test.js" "--service-api=http"
"--service-port=8080" "--service- ip=127.0.0.1" "--http-timeout=5"
"--logging-level=debug" "--test-write=true" "--test- exec=/usr/bin/python
/Users/viz/cppcms/tests/http_timeouts_test.py write"
Directory: /Users/viz/cppcms/build
"http_timeouts_test_write" start time: Nov 03 17:31 BOT
Output:
----------------------------------------------------------
2014-11-03 17:31:05; cppcms_http, info: GET /async/long (http_api.cpp:251)
File "/Users/viz/cppcms/tests/http_timeouts_test.py", line 72, in <module>
test_unfinished_read('GET /async/long HTTP/1.0',0,0)
File "/Users/viz/cppcms/tests/http_timeouts_test.py", line 65, in
test_unfinished_read
test(n < read_size * 16 or n < 1000000)
File "/Users/viz/cppcms/tests/http_timeouts_test.py", line 16, in test
traceback.print_stack()
Write to the client timeout
Tesing GET /async/long HTTP/1.0 with 0 reads
SO_RCVBUF=408300
Error
Statistics:
sync_bad_count =0
async_bad_count =0
count_timeouts =0
above 15 =0
below 10 =0
eof =0
Failed
<end of output>
Test time = 14.21 sec
----------------------------------------------------------
Test Failed.
"http_timeouts_test_write" end time: Nov 03 17:31 BOT
"http_timeouts_test_write" time elapsed: 00:00:14
=============================================================
Description of error 75 is:
75/88 Testing: test_locale_codepage
75/88 Test: test_locale_codepage
Command: "/Users/viz/cppcms/build/booster/test_locale_codepage"
Directory: /Users/viz/cppcms/build/booster
"test_locale_codepage" start time: Nov 03 17:34 BOT
Output:
----------------------------------------------------------
- Testing correct invalid bytes skipping
-- ISO-8859-8
-- cp932
Testing for backend std
no iso locales availible, passing
Testing wide I/O
wchar_t
UTF-8
Testing codepoints above 0xFFFF
Single U+2008A
Single U+2008A withing text
U+2008A x 1000
Shift-JIS
Error in line:67 read_file<Char>(f1) == cmp
Error in line:76 read_file<char>(testo) == file
Testing charset to/from UTF conversion functions
char
wchar_t
Testing utf_to_utf
char<-char
char<-wchar
wchar<-char
wchar<-wchar
Testing for backend posix
Testing wide I/O
wchar_t
UTF-8
Testing codepoints above 0xFFFF
Single U+2008A
Single U+2008A withing text
U+2008A x 1000
Shift-JIS
Testing charset to/from UTF conversion functions
char
wchar_t
Testing utf_to_utf
char<-char
char<-wchar
wchar<-char
wchar<-wchar
Passed 362 tests
Failed 2 tests
99.5% of tests completed sucsessefully
<end of output>
Test time = 0.04 sec
----------------------------------------------------------
Test Failed.
"test_locale_codepage" end time: Nov 03 17:34 BOT
"test_locale_codepage" time elapsed: 00:00:00
----------------------------------------------------------
|
|
From: Artyom B. <art...@ya...> - 2014-11-05 06:46:50
|
http_timeouts_test_write frequently fails - on *BSD almost always due to some glitches in tcp/ip stack. For example in FreeBSD if you write to socket lots of data and get at somepoint that it would block because client does not read, than on BSD the socketbecomes writeable after 5 sec and allows you to push some more data even whennothing had changed. So timeouts test fail quite oftern. AFAIR Mac OS X is prone to these errors as well. It does not cause a problem it just makes problem to test to complete successfully. About test_locale_codepage, AFAIR it is broken/missing shift-jis support fromlibc++ (it fails in std locale backed) - so you'll have some problemswith non-utf-8 Japanese or Chinese locales in some cases,but the default backend should be posix if you don't build with icu(which is your case) So in general I don't think there are any real problems with these tests failing. Artyom Beilis -------------- CppCMS - C++ Web Framework: http://cppcms.com/ CppDB - C++ SQL Connectivity: http://cppcms.com/sql/cppdb/ From: Vizcayno <viz...@gm...> To: cpp...@li... Sent: Tuesday, November 4, 2014 2:59 AM Subject: Re: [Cppcms-users] CppCMS 1.0.5 Released Thanks for the new version, some hours ago I finished the installation of this one on an macbook pro with OSX10.10 (Yosemite) and the c++ compiler: Apple LLVM version 6.0 (clang-600.0.54) (based on LLVM 3.5svn) Target: x86_64-apple-darwin14.0.0 Thread model: posix The only objects that I downloaded from internet were cmake and pcre, the remaining objects in the mandatory requirements are included in the /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/ SDKs/Mac OSX10.10.sdk After building cppcms and executing the “make test” the next failed tests were generated: 23:http_timeouts_test_write 75:test_locale_codepage However, after installation of cppcms, I could compile, link and execute the first example program “hello” without problems. My question is if the two failed tests are important (see details below) and how I can fix them? My best regards. Viz ============================================================= Description of error 23 is: 23/88 Testing: http_timeouts_test_write 23/88 Test: http_timeouts_test_write Command: "/Users/viz/cppcms/build/http_timeouts_test" "-c" "/Users/viz/cppcms/tests/proto_test.js" "--service-api=http" "--service-port=8080" "--service- ip=127.0.0.1" "--http-timeout=5" "--logging-level=debug" "--test-write=true" "--test- exec=/usr/bin/python /Users/viz/cppcms/tests/http_timeouts_test.py write" Directory: /Users/viz/cppcms/build "http_timeouts_test_write" start time: Nov 03 17:31 BOT Output: ---------------------------------------------------------- 2014-11-03 17:31:05; cppcms_http, info: GET /async/long (http_api.cpp:251) File "/Users/viz/cppcms/tests/http_timeouts_test.py", line 72, in <module> test_unfinished_read('GET /async/long HTTP/1.0',0,0) File "/Users/viz/cppcms/tests/http_timeouts_test.py", line 65, in test_unfinished_read test(n < read_size * 16 or n < 1000000) File "/Users/viz/cppcms/tests/http_timeouts_test.py", line 16, in test traceback.print_stack() Write to the client timeout Tesing GET /async/long HTTP/1.0 with 0 reads SO_RCVBUF=408300 Error Statistics: sync_bad_count =0 async_bad_count =0 count_timeouts =0 above 15 =0 below 10 =0 eof =0 Failed <end of output> Test time = 14.21 sec ---------------------------------------------------------- Test Failed. "http_timeouts_test_write" end time: Nov 03 17:31 BOT "http_timeouts_test_write" time elapsed: 00:00:14 ============================================================= Description of error 75 is: 75/88 Testing: test_locale_codepage 75/88 Test: test_locale_codepage Command: "/Users/viz/cppcms/build/booster/test_locale_codepage" Directory: /Users/viz/cppcms/build/booster "test_locale_codepage" start time: Nov 03 17:34 BOT Output: ---------------------------------------------------------- - Testing correct invalid bytes skipping -- ISO-8859-8 -- cp932 Testing for backend std no iso locales availible, passing Testing wide I/O wchar_t UTF-8 Testing codepoints above 0xFFFF Single U+2008A Single U+2008A withing text U+2008A x 1000 Shift-JIS Error in line:67 read_file<Char>(f1) == cmp Error in line:76 read_file<char>(testo) == file Testing charset to/from UTF conversion functions char wchar_t Testing utf_to_utf char<-char char<-wchar wchar<-char wchar<-wchar Testing for backend posix Testing wide I/O wchar_t UTF-8 Testing codepoints above 0xFFFF Single U+2008A Single U+2008A withing text U+2008A x 1000 Shift-JIS Testing charset to/from UTF conversion functions char wchar_t Testing utf_to_utf char<-char char<-wchar wchar<-char wchar<-wchar Passed 362 tests Failed 2 tests 99.5% of tests completed sucsessefully <end of output> Test time = 0.04 sec ---------------------------------------------------------- Test Failed. "test_locale_codepage" end time: Nov 03 17:34 BOT "test_locale_codepage" time elapsed: 00:00:00 ---------------------------------------------------------- ------------------------------------------------------------------------------ _______________________________________________ Cppcms-users mailing list Cpp...@li... https://lists.sourceforge.net/lists/listinfo/cppcms-users |