summaryrefslogtreecommitdiff
path: root/pjlib/src/pj
AgeCommit message (Collapse)Author
2009-12-14Ticket #1000: fixed different treatment with regard to Unicode argument to ↵Benny Prijono
GetProcAddress between Windows and Windows Mobile git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3033 74dad513-b988-da41-8d7b-12977e46ad98
2009-12-10More ticket #1000 (IPv6 interface enumeration fails due to typo error in ↵Benny Prijono
Windows targets): - fixed crash if GetAdaptersAddresses() returns adapter with NULL "firstUnicastAddress". This happens when the interface is disabled. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3030 74dad513-b988-da41-8d7b-12977e46ad98
2009-12-08Fixed ticket #1000: IPv6 interface enumeration fails due to typo error in ↵Benny Prijono
Windows targets git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3029 74dad513-b988-da41-8d7b-12977e46ad98
2009-11-25Changed version to 1.5Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3026 74dad513-b988-da41-8d7b-12977e46ad98
2009-11-23Misc (#951): fixed compilation warning on Win32 Release buildBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3023 74dad513-b988-da41-8d7b-12977e46ad98
2009-11-20Ticket #957:Nanang Izzuddin
- Fixed compile error of incompatible param type (or bad type conversion) on Symbian 5th ed (and perhaps also on some GCC versions). - Fixed on_connect_complete() to reset SSL sock state before callback when connection fails (OpenSSL impl). - Fixed saving remote address before start connecting, so it won't miss remote address info when socket connection establishes immediately (OpenSSL impl). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3020 74dad513-b988-da41-8d7b-12977e46ad98
2009-11-10Misc (#951): fixed compilation warning on gcc/LinuxBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3006 74dad513-b988-da41-8d7b-12977e46ad98
2009-11-10Fixed ticket #989: Issues with Windows Unicode build (thanks Michele ↵Benny Prijono
Cicciotti for the patch) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3002 74dad513-b988-da41-8d7b-12977e46ad98
2009-11-09Ticket #957: Fixed 0.0.0.0:0 address returned by SIP TLS client transport, ↵Nanang Izzuddin
which would cause 0.0.0.0:0 address in SIP via header. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3000 74dad513-b988-da41-8d7b-12977e46ad98
2009-11-09Ticket #950 and #957: Benny Prijono
- added QoS options on PJLIB/PJLIB SSL/TLS socket/transport - added demo in Symbian ua.cpp git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2998 74dad513-b988-da41-8d7b-12977e46ad98
2009-11-09More #957 (TLS): updated pj_perror() with the new PJ_PERROR() APIBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2994 74dad513-b988-da41-8d7b-12977e46ad98
2009-11-09More #950 (QoS): updated with the new pj_perror() syntaxBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2993 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-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