summaryrefslogtreecommitdiff
path: root/pjlib/src/pjlib-test
AgeCommit message (Collapse)Author
2009-11-11Ticket #957: Updated SSL sock performance test to avoid false connected ↵Nanang Izzuddin
state problem caused by server listen backlog excess (problem examined on mac platform). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3018 74dad513-b988-da41-8d7b-12977e46ad98
2009-11-11#972: Removed PJ_SOL_SOCKET check in pjlib-test as it is defined as 0xffff ↵Nanang Izzuddin
on some platforms (e.g: Win, Mac). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3016 74dad513-b988-da41-8d7b-12977e46ad98
2009-11-09Updated ticket #981: pj_perror() and PJ_PERROR() API:Benny Prijono
- added PJ_PERROR() macro to allow compile time omitting - changed pj_perror() API to allow formatting of the title using printf like format - added a simple test in pjlib-test - updated Doxygen documentation git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2992 74dad513-b988-da41-8d7b-12977e46ad98
2009-11-06Ticket #957:Nanang Izzuddin
- Updated Symbian PJLIB test build setting to enable SSL sock test. - Fixed ciphers enumeration in Symbian SSL sock. - Fixed OpenSSL SSL sock to avoid initializing OpenSSL multiple times. - Fixed SSL unit test to avoid divide-by-zero in setting random seed. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2990 74dad513-b988-da41-8d7b-12977e46ad98
2009-11-04Ticket #957:Nanang Izzuddin
- Applied workaround solution for getting local address problem with getsockname on win IOCP by using parent local address instead. - Fixed SSL socket not to return PJ_FALSE in active socket accept callback, to keep accepting connections. - Applied workaround solution for OpenSSL error mapping, as OpenSSL error codes are big numbers that won't fit pj_status_t. - Minor updates, e.g: using pj_perror(), removing some logs, OpenSSL error print callback. - Minor updates on SSL unit test, e.g: start_read() before start sending, additional ioqueue poll to cleanup sockets, add timeout feature to https client test. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2986 74dad513-b988-da41-8d7b-12977e46ad98
2009-11-04Misc fix (#951): Fixed possible random/unexpected pairs generated in ioqueue ↵Nanang Izzuddin
tcp unit test (such case was occured when test was performed using IOCP ioqueue on Vista). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2983 74dad513-b988-da41-8d7b-12977e46ad98
2009-11-04More ticket #972: setsockopt options compatibility on various platforms: ↵Benny Prijono
pjlib-test failed on socket test because SOL_SOCKET is defined by Windows Platform SDK as 0xFFFF git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2982 74dad513-b988-da41-8d7b-12977e46ad98
2009-11-03Ticket #957:Nanang Izzuddin
- Added SSL socket performance test. - Added incompatible SSL proto test. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2981 74dad513-b988-da41-8d7b-12977e46ad98
2009-10-27Ticket #957: Nanang Izzuddin
- Fixed SSL socket unit test issues (mostly on Linux platform): let OS manage the binding port (specify port to 0), use pj_sockaddr_get_len() instead of sizeof() for sockaddr size, DOS eol format for certificate and private key files. - Temporary fix for SSL_CTX_use_certificate_chain_file() false error alarm (after previous OpenSSL handshake error), by clearing OpenSSL thread error queue in reset_ssl_sock_state() git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2971 74dad513-b988-da41-8d7b-12977e46ad98
2009-10-26Ticket #957:Nanang Izzuddin
- Added features in secure socket: handshake timeout timer, certificate info, renegotiation API. - Added unit test for secure socket, along with testing purpose certificate & private key. - Updated build configs for secure socket. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2970 74dad513-b988-da41-8d7b-12977e46ad98
2009-10-24More ticket #972: SOL_UDP is not set properly on LinuxBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2964 74dad513-b988-da41-8d7b-12977e46ad98
2009-10-15Ticket #972: setsockopt compatibility problems on Windows (thanks Yann and ↵Benny Prijono
John Ridges for the reports) - set PJ_SOL_IP, PJ_SOL_TCP, and PJ_SOL_UDP to IPPROTO_IP, IPPROTO_TCP, and IPPROTO_UDP respectively on Windows - also added PJ_TCP_NODELAY and PJ_SO_REUSEADDR git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2946 74dad513-b988-da41-8d7b-12977e46ad98
2009-08-14Fixed ticket #939: Throwing exception inside exception handler will cause ↵Benny Prijono
infinite loop (thanks Roman Puls for the report) - exception handler is now popped from the stack immediately in PJ_THROW git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2878 74dad513-b988-da41-8d7b-12977e46ad98
2009-08-13Ticket #886:Nanang Izzuddin
- Added C++ wrapper files for C source files using exception (PJ_TRY & PJ_THROW). - Updated Symbian MMPs. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2873 74dad513-b988-da41-8d7b-12977e46ad98
2009-08-12Ticket #935: new pj_sockaddr_parse2() APIBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2863 74dad513-b988-da41-8d7b-12977e46ad98
2009-07-02Ticket #913: Concurrency problem in select ioqueue may corrupt descriptor setBenny Prijono
- fixed the concurrency problem - also fixed ioqueue unregister test in pjlib-test git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2826 74dad513-b988-da41-8d7b-12977e46ad98
2009-06-22Ticket #893: Fixed timer test for Symbian to use Active Scheduler poll, ↵Nanang Izzuddin
instead of timer poll. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2783 74dad513-b988-da41-8d7b-12977e46ad98
2009-06-22Ticket #891: fixed deadlock on pjlib-test ioqueue unregister stress test. ↵Benny Prijono
This seems to have fixed the Bus error too git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2782 74dad513-b988-da41-8d7b-12977e46ad98
2009-06-19Ticket #890: pjlib-test failed on select() test Windows Vista multi-coreBenny Prijono
- Added pj_thread_sleep(10) before calling sleep(). Tried with other ways too but this seems to be appropriate, as in the real application this shouldn't matter git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2778 74dad513-b988-da41-8d7b-12977e46ad98
2009-06-17Ticket #887: Minor update: added app registration info for Symbian ↵Nanang Izzuddin
pjlib-test, so there will be shortcut when installed on device. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2772 74dad513-b988-da41-8d7b-12977e46ad98
2009-06-17Ticket #758 (Problem with TCP transport on Symbian)Benny Prijono
- fixed TCP recv() to use RecvOneOrMore() - fixed activesock unit test in pjlib-test git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2771 74dad513-b988-da41-8d7b-12977e46ad98
2009-06-17More ticket #878:Benny Prijono
- pj_sockaddr_parse() is unable to parse "localhost" on Symbian, so disable the test in pjlib-test git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2770 74dad513-b988-da41-8d7b-12977e46ad98
2009-06-17Part of ticket #887:Benny Prijono
- added pj_shutdown() in pjlib-test's test.c - refactor main_symbian.cpp (it's not been used for a while) - compilation error/warning about initializing pj_str_t struct from non-constant value git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2769 74dad513-b988-da41-8d7b-12977e46ad98
2009-06-04Ticket #878: New PJLIB API to parse socket address stringBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2743 74dad513-b988-da41-8d7b-12977e46ad98
2009-03-30Ticket #764: Bug with milliseconds time resolution in WinCE/Windows Mobile ↵Benny Prijono
targets (thanks Johan Lantz for the report) - use QueryPerformanceCounter() (via pj_get_timestamp() API) to emulate the msec precision) - more strict tests in pjlib-test git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2560 74dad513-b988-da41-8d7b-12977e46ad98
2009-01-01Fixed gcc-4.3.2 warnings with the warn_unused_result flag in some APIsBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2408 74dad513-b988-da41-8d7b-12977e46ad98
2009-01-01Fixed unreached code, deprecated fopen(), unused arguments, and other ↵Benny Prijono
warnings with MSVC git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2407 74dad513-b988-da41-8d7b-12977e46ad98
2008-12-23Updated copyright notice in all files to Teluu Inc., and changed the year as ↵Benny Prijono
well git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2394 74dad513-b988-da41-8d7b-12977e46ad98
2008-10-01Ticket #650: Unit test failure in the timestamp test on very fast CPU ↵Benny Prijono
(thanks Seth Hinze for the patch) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2336 74dad513-b988-da41-8d7b-12977e46ad98
2008-08-28Fixed unused parameter warning in active socket testBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2251 74dad513-b988-da41-8d7b-12977e46ad98
2008-08-15Ticket #595: Broken semaphore implementation on MacOS X (thanks Viktor ↵Benny Prijono
Krikun for the report) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2217 74dad513-b988-da41-8d7b-12977e46ad98
2008-07-29Initial work for ticket #579: added option to make the active socket sends ↵Benny Prijono
all the (TCP) data before calling completion callback git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2185 74dad513-b988-da41-8d7b-12977e46ad98
2008-07-14Ticket #568: The hash table ignores the last row of the table in hash table ↵Benny Prijono
iteration, causing some memory leaks during shutdown routine because some objects are not destroyed git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2138 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-20Large changeset to replace all occurences of year 2007 with 2008 in the ↵Benny Prijono
copyright notice git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2039 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-06More ticket #531: added user_data parameter in activesocket creation API to ↵Benny Prijono
make it more robust against programming errors git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1986 74dad513-b988-da41-8d7b-12977e46ad98
2008-05-11Implement ticket #531: active socket abstraction to make ioqueue programming ↵Benny Prijono
easier git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1953 74dad513-b988-da41-8d7b-12977e46ad98
2008-04-23Fixed chunk size alignment in pool drain testNanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1940 74dad513-b988-da41-8d7b-12977e46ad98
2008-02-13Ticket #474: option in ioqueue to control concurrency (to allow/disallow ↵Benny Prijono
simultaneous/multiple callback calls) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1789 74dad513-b988-da41-8d7b-12977e46ad98
2008-02-08Fixed compilation errors on Symbian and others caused by ticket #472 ↵Benny Prijono
(FD_SETSIZE was removed) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1785 74dad513-b988-da41-8d7b-12977e46ad98
2007-12-28Set pool_test_malloc_free() to use malloc()/free() instead of new/delete ↵Benny Prijono
since there is compilation error on Symbian with GCCE compiler. But this most likely will fail on run-time, so currently this test is broken for Symbian git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1643 74dad513-b988-da41-8d7b-12977e46ad98
2007-11-18Ticket #415: implement IPv6 support in PJLIBBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1585 74dad513-b988-da41-8d7b-12977e46ad98
2007-07-20Ticket #354: build PJLIB as dynamic libraries (.DSO) in SymbianBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1405 74dad513-b988-da41-8d7b-12977e46ad98
2007-06-28Fixed ticket #348: various bugs in string comparison functionsBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1397 74dad513-b988-da41-8d7b-12977e46ad98
2007-05-28Fixed mutex leak in pjlib test (ioqueue unregistration test). Thanks Deanna ↵Benny Prijono
Phillips git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1309 74dad513-b988-da41-8d7b-12977e46ad98
2007-05-12Symbian fixes to compile on GCCE (nested callbacks etc)Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1269 74dad513-b988-da41-8d7b-12977e46ad98
2007-05-11HUGE changeset to make the rest of the libraries compile with C++ modeBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1266 74dad513-b988-da41-8d7b-12977e46ad98
2007-05-02PJSUA-LIB was ported to Symbian and added simple Symbian app. Testing followsBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1242 74dad513-b988-da41-8d7b-12977e46ad98
2007-05-01Ported PJLIB and PJLIB-TEST to Symbian!Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1238 74dad513-b988-da41-8d7b-12977e46ad98
2007-05-01Fixed build error on LinuxBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1236 74dad513-b988-da41-8d7b-12977e46ad98
2007-04-30Initial Symbian integration to trunk for pjlibBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1235 74dad513-b988-da41-8d7b-12977e46ad98