summaryrefslogtreecommitdiff
path: root/pjlib/src/pj
AgeCommit message (Collapse)Author
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-06Ticket #957: Workaround fix for SSL socket specific related to ticket #985.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2989 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-04Fixed ticket #975: Symbian timer heap implementation unable to schedule ↵Benny Prijono
duration more than 2100 seconds (thanks Nir Elkayam for the report) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2984 74dad513-b988-da41-8d7b-12977e46ad98
2009-11-03Ticket #984: Minor fix of compile warning of unused arg.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2980 74dad513-b988-da41-8d7b-12977e46ad98
2009-11-03Ticket #984: Fixed active socket to pass updated/correct descriptors in ↵Nanang Izzuddin
invoking accept callback for the application. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2979 74dad513-b988-da41-8d7b-12977e46ad98
2009-10-28Ticket #957: Removed DTLS proto in SSL socket with OpenSSL backend as it ↵Nanang Izzuddin
hasn't been really supported yet. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2972 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-26Misc fix (#951): Updated active socket to keep passing the packet pointer, ↵Nanang Izzuddin
instead of NULL, when connection is closed/error and no remainder data, as application, e.g: SSL sock, may need to have access on it. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2969 74dad513-b988-da41-8d7b-12977e46ad98
2009-10-25More ticket #950 (QoS):Benny Prijono
- fixed wrong DSCP field operation with sock_qos_bsd.c backend - tested on Linux for SIP (UDP/TCP), UDP RTP/RTCP, and ICE - renamed 801_1_P names to SO_PRIO - changed a bit of doxygen documentation (the title etc) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2967 74dad513-b988-da41-8d7b-12977e46ad98
2009-10-25Initial commit for ticket #950: QoS support:Benny Prijono
- implementation: - PJLIB (sock_qos*.*) - added QoS support in: - SIP UDP transport, - SIP TCP transport, - media UDP transport (done in pjsua-lib), - pjnath ICE stream transport, - pjnath STUN socket, - pjnath TURN client - added QoS options in pjsua-lib: - QoS fields in pjsua_transport_config - added "--set-qos" parameter in pjsua Notes: - QoS in TLS transport is not yet implemented, waiting for #957 - build ok on VS6, VS2005 (multiple targets), Carbide, and Mingw - no run-time testing yet git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2966 74dad513-b988-da41-8d7b-12977e46ad98
2009-10-25Ticket #981: new pj_perror() utility APIBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2965 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-24Fixed ticket #980: Memory pool alignment error when alignment is set to be ↵Benny Prijono
greater than 4 bytes (thanks John Ridges for the report) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2963 74dad513-b988-da41-8d7b-12977e46ad98
2009-10-20More ticket #972: compilation problem with IPPROTO_IPV6 constant (thanks ↵Benny Prijono
Robert Cichielo for the report) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2952 74dad513-b988-da41-8d7b-12977e46ad98
2009-10-16Ticket #957:Nanang Izzuddin
- Added SSL socket abstraction with OpenSSL backend. - Updated cipher data type and added cipher constants (Symbian SSL socket has also been updated). - Updated SIP TLS transport to allow setting certificate/credential (via file). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2950 74dad513-b988-da41-8d7b-12977e46ad98
2009-10-15Fixed ticket #973: pj_ioqueue_accept() fails on Windows NT IOCP backend if ↵Benny Prijono
connection is immediately available and the "local" parameter is NULL (thanks John Ridges for the report) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2947 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-27Ticket #957: Initial version of TLS transport for Symbian, includes:Nanang Izzuddin
- Secure socket, generic abstraction and Symbian implementation (using CSecureSocket). - Initial rewriting of SIP TLS transport. - Updated symbian_ua.mmp to support SIP transport TLS (experimental). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2913 74dad513-b988-da41-8d7b-12977e46ad98
2009-08-17Changed version to 1.4-trunkBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2902 74dad513-b988-da41-8d7b-12977e46ad98
2009-08-17Changed version to 1.4Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2900 74dad513-b988-da41-8d7b-12977e46ad98
2009-08-17Ticket #946: Fixed Symbian address resolver to have PJ_HAS_IPV6 check, so it ↵Nanang Izzuddin
will not try to resolve IPv6 address family when IPv6 is not enabled. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2888 74dad513-b988-da41-8d7b-12977e46ad98
2009-08-17More #935: don't call pj_sockaddr_init() for PJ_AF_INET6 if IPv6 is not enabledBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2886 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-12Ticket #931: Fixed logging for non-multithreading platforms.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2868 74dad513-b988-da41-8d7b-12977e46ad98
2009-08-12Misc (ticket #915): enlarge the column for pool name in ↵Benny Prijono
pj_pool_factory_dump() output git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2866 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-08-05Ticket #931: Logging function may infinitely recursively calls itself on ↵Benny Prijono
Windows Mobile (thanks Emil Sturniolo for the report) - Added feature to temporarily suspend the logging facility while we're in the pj_log() function. The suspension will be thread specific if the platform supports it. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2853 74dad513-b988-da41-8d7b-12977e46ad98
2009-07-22Ticket #922: Option to enable mutex related logging to assist ↵Benny Prijono
troubleshooting concurrency problems git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2843 74dad513-b988-da41-8d7b-12977e46ad98
2009-07-21Ticket #921: New logging option/flag to include caller thread IDBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2842 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-25Changed version to 1.3-trunkBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2796 74dad513-b988-da41-8d7b-12977e46ad98
2009-06-23Changed version to 1.3Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2786 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-17Misc fix (#838): fixed warning about unitialized status variable with gccBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2767 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-05-07Updated version to 1.2-trunkBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2689 74dad513-b988-da41-8d7b-12977e46ad98
2009-05-07Changed version to 1.2Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2687 74dad513-b988-da41-8d7b-12977e46ad98
2009-05-07More ticket #825: added pointer to the ticket number in the comment.Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2682 74dad513-b988-da41-8d7b-12977e46ad98
2009-05-07Ticket #825: FILE_APPEND_DATA is not valid on Smartphone/Pocket PC2003 and ↵Benny Prijono
Windows Mobile 5, so remove the flag when PJ_WIN32_WINCE is set (thanks Robert Cichielo for the suggestion) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2681 74dad513-b988-da41-8d7b-12977e46ad98
2009-04-28Ticket #706: Merged branch vs-reorg2 into trunk:Nanang Izzuddin
- Currently supported platforms are: Win32, WM6 std & pro, WM5 SP & PPC, WM2003 SP & PPC. - Added libpjproject into solution, this is a single 'combo' library that bundles all PJSIP libraries. - Cleaned up most of compile warnings, note that warning level of libgsmcodec has been reduced from 4 to 3. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2660 74dad513-b988-da41-8d7b-12977e46ad98
2009-04-28Ticket #800: Change in IP address selection algorithm (the pj_gethostip() ↵Benny Prijono
function): - putting in weighting mechanism to select the "best" IP to use git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2656 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-03-26Ticket #769: Bug in select ioqueue: event counter may exceed maximum value, ↵Benny Prijono
causing stack corruption (thanks Joel Dodson for the report) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2554 74dad513-b988-da41-8d7b-12977e46ad98
2009-03-19Updated version to 1.1-trunkBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2526 74dad513-b988-da41-8d7b-12977e46ad98
2009-03-19Changed version to 1.1Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2524 74dad513-b988-da41-8d7b-12977e46ad98
2009-03-02Ticket #732:Nanang Izzuddin
- Added new Symbian specific API in PJLIB, pj_symbianos_set_connection_status(), to let PJLIB knows the connection status. - Added connection status checks before Symbian socket operations. - Added loop limiter in Symbian busy_sleep() to avoid the possibility of infinite loop. - Added sample of connection monitor in Symbian sample application (ua.cpp). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2481 74dad513-b988-da41-8d7b-12977e46ad98
2008-12-24Changed version to 1.0.1Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2396 74dad513-b988-da41-8d7b-12977e46ad98
2008-12-24Ticket #688: Memory leak on Solaris 10 with pjlib's mutex (thanks Andrey ↵Benny Prijono
Kobtsev for the fix) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2395 74dad513-b988-da41-8d7b-12977e46ad98