summaryrefslogtreecommitdiff
path: root/pjlib
AgeCommit message (Collapse)Author
2010-08-11Changed version to 1.7-trunkNanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3267 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-11Changed version to 1.7Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3265 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-09Misc fix (re #1068): Use default setting for path length (PJ_MAXPATH) on ↵Liong Sauw Ming
iPhone to accommodate long path name when running on the simulator. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3258 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-06Misc (re #1068): fix compile errors/warnings on Symbian S60 5th ed.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3255 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-06Misc (re #1068): fix compile error missing explicit casting for malloc in ↵Nanang Izzuddin
pjlib-test/ssl_sock.c on Symbian S60 5th ed (compiled as C++?). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3254 74dad513-b988-da41-8d7b-12977e46ad98
2010-07-23Re #1104: Fixed iPhone OS version detection in os_auto.h.inLiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3240 74dad513-b988-da41-8d7b-12977e46ad98
2010-07-15Fixed #1104: Append ".local" to the system's hostname in IOS 4.Liong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3238 74dad513-b988-da41-8d7b-12977e46ad98
2010-07-05Fixed #1101: Check and calculate IPv4/IPv6 address specified in pj_getaddrinfo()Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3234 74dad513-b988-da41-8d7b-12977e46ad98
2010-06-26Misc (re #1068): fixed possible overwritten field data, write_data_t::flags, ↵Nanang Izzuddin
in SSL sock OpenSSL implementation. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3225 74dad513-b988-da41-8d7b-12977e46ad98
2010-06-16Misc (re #1068): fixed possible reading string beyond the buffer in ↵Benny Prijono
pj_strltrim() if the string only contains whitespaces (thanks Jones Desougi for the report) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3207 74dad513-b988-da41-8d7b-12977e46ad98
2010-06-01Fix #1091: Increase the default maximum number of outstanding asynchronous ↵Benny Prijono
operations of Symbian socket server to 32 git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3189 74dad513-b988-da41-8d7b-12977e46ad98
2010-05-26Misc (re #1068): crash in pj_sockaddr_parse2() if NULL of empty string is ↵Benny Prijono
given (thanks Joe Meade for the report) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3186 74dad513-b988-da41-8d7b-12977e46ad98
2010-05-19Fix #1071: Increase default maximum SIP packet size to 4000Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3182 74dad513-b988-da41-8d7b-12977e46ad98
2010-05-19Changed pj_thread_get_prio_max() to return 0 on OpenBSD because it doesn't ↵Benny Prijono
support it (thanks David Coppa for the patch)(re #1068) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3180 74dad513-b988-da41-8d7b-12977e46ad98
2010-05-17Merge #1050, #1052, #1053, #1054 into the main trunk.Liong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3175 74dad513-b988-da41-8d7b-12977e46ad98
2010-04-30Changed version to 1.6-trunkBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3157 74dad513-b988-da41-8d7b-12977e46ad98
2010-04-30Changed version to 1.6Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3155 74dad513-b988-da41-8d7b-12977e46ad98
2010-04-26Fixed ticket #1058 (Different size between pj_sockaddr_in6 and native ↵Benny Prijono
sockaddr_in6 on 64bit systems, causing failure in using SIP IPv6 UDP transport): - disabled u6_addr64 field in pj_in6_addr, as this seem to cause 32 byte alignment to be invoked git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3145 74dad513-b988-da41-8d7b-12977e46ad98
2010-03-30More ticket #1046:Benny Prijono
- fixed the wrong priority which caused zeroconf address to end up having the same priority as a legitimate interface (thanks Karl-Fredrik Blixt Hagholm for the report) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3133 74dad513-b988-da41-8d7b-12977e46ad98
2010-03-27Fixed MSVC compilation warning introduced by ticket #1046Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3124 74dad513-b988-da41-8d7b-12977e46ad98
2010-03-27Fixed ticket #1048: Memory leak in enum_ipv4_ipv6_interface ↵Benny Prijono
(ip_helper_win32.c) (thanks Andrey Mamchur for the report) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3123 74dad513-b988-da41-8d7b-12977e46ad98
2010-03-26Ticket #1046: Zeroconf/link-local/ActiveSync IPv4 adress 169.254.x.x may be ↵Benny Prijono
used on Windows Mobile devices (thanks Jan Boquist for the info) - add treatment for special IPv4/IPv6 addresses: loopback address and link-local address - with this treatment, link-local address will only be used if there is no other non-loopback/non-link-local IP addresses, and loopback address will only be used if there's absolutely no other IP address git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3121 74dad513-b988-da41-8d7b-12977e46ad98
2010-03-06Ticket #1043:Nanang Izzuddin
- Fixed bug of unused timeout setting in Symbian SSL socket, ssl_sock_symbian.cpp. - Added an SSL test scenario of SSL connect timeout, SSL socket client tries to connect to non-SSL socket server. - Fixed OpenSSL-based SSL socket to start SSL timer before TCP connect (was started after TCP connected and before SSL handshake). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3117 74dad513-b988-da41-8d7b-12977e46ad98
2010-02-25More #1032: fixed gcc warnings in printf formatBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3112 74dad513-b988-da41-8d7b-12977e46ad98
2010-02-25More ticket #1032:Nanang Izzuddin
- Updated transport state notification callback to return void. - Updated transport state enum to only contain connected and disconnected, no more bitmask value. - Added direction field to SIP transport. - Removed remote hostname hash from transport key. - Updated cert info dump to return -1 when buffer is insufficient. - Added new error code PJSIP_TLS_ECERTVERIF. - Updated get_cert_name() in ssl_sock_symbian.c to use heap buffer instead of stack. - Minors, e.g: added prefix PJ in cipher types, docs. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3110 74dad513-b988-da41-8d7b-12977e46ad98
2010-02-24Fixed ticket #1040: Problem with getting the default IP interface on FreeBSD ↵Benny Prijono
due to wrong argument to connect() (thanks Roman Grachev for the patch) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3107 74dad513-b988-da41-8d7b-12977e46ad98
2010-02-24Ticket #1032:Nanang Izzuddin
- Initial version of server domain name verification: - Updated SSL certificate info, especially identities info - Updated verification mechanism as in the specifications in ticket desc. - Added server domain name info in pjsip_tx_data. - Added alternative API for acquiring transport and creating transport of transport factory to include pjsip_tx_data param. - Server identity match criteria: - full host name match - wild card not accepted - if identity is URI, it must be SIP/SIPS URI - Initial version of transport state notifications: - Added new API to set transport state callback in PJSIP and PJSUA. - Defined states: connected/disconnected, accepted/rejected, verification errors. - Minors: - Updated SSL socket test: dump verification result, test of requiring client cert, and few minors. - Updated test cert to include subjectAltName extensions. - Added SSL certificate dump function. - Updated max number of socket async operations in Symbian sample apps (RSocketServ::Connect()) to 32 (was default 8). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3106 74dad513-b988-da41-8d7b-12977e46ad98
2010-02-05Misc (#1026): PJLIB does not return the correct error code when TCP ↵Benny Prijono
connection fails on Linux git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3088 74dad513-b988-da41-8d7b-12977e46ad98
2010-01-29More ticket #1037:Benny Prijono
- bug in aligning pointer if sizeof(long) is less than sizeof(void*). Thanks John Ridges for pointing this out git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3082 74dad513-b988-da41-8d7b-12977e46ad98
2010-01-29Fixed ticket #1037: Memory pool alignment error when alignment is set to be ↵Benny Prijono
greater than the default (thanks John Ridges for the report): - fixed the pool allocation routines in PJLIB, - add alignment test in pjlib-test (only useful if PJ_POOL_ALIGNMENT is configured in config_site.h), - fixed other pool tests in pjlib-test which are broken when PJ_POOL_ALIGNMENT is enlarged git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3081 74dad513-b988-da41-8d7b-12977e46ad98
2010-01-27Fixed ticket #1035: Crash in timer heap cleanup sequence on Symbian if the ↵Benny Prijono
pool for the timer entry is released beforehand (thanks Tamàs Solymosi for the report) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3076 74dad513-b988-da41-8d7b-12977e46ad98
2010-01-20Ticket #1026: Wrong endianness detection for Motorola m68k architecture in ↵Benny Prijono
pj/config.h (thanks Andreas Wehrmann for the report) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3066 74dad513-b988-da41-8d7b-12977e46ad98
2010-01-13Initial fixes for #993 (OpenSolaris issues)Benny Prijono
- configure script patch for FIONBIO and SIOCGIFFLAGS errors git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3059 74dad513-b988-da41-8d7b-12977e46ad98
2010-01-13Initial OpenBSD fixes (#994):Benny Prijono
pjlib: - Autoconf fixes in detecting header availability - Undefined sched_get_priority_max() and sched_get_priority_min() - protect with #ifdef _POSIX_PRIORITY_SCHEDULING, and - return hardcoded (0, 31) if __OpenBSD__ macro is declared - Better GUID generation pjlib-test: - Reduce the loop in PJILB activesock test - Fixed bug in ioqueue unregistration test which caused assertion error in destroying mutex pjlib-util-test: - Fixed bug in pjlib-util resolver test git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3057 74dad513-b988-da41-8d7b-12977e46ad98
2010-01-11Updated to 1.5.5-trunk after releasePerry Ismangil
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3056 74dad513-b988-da41-8d7b-12977e46ad98
2010-01-11Changed version to 1.5.5Perry Ismangil
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3054 74dad513-b988-da41-8d7b-12977e46ad98
2010-01-08Ticket #1015: Disabled ioqueue Completion Port (ioqueue_winnt.c).Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3052 74dad513-b988-da41-8d7b-12977e46ad98
2010-01-08Ticket #1001:Nanang Izzuddin
- Moved setsockopt(SO_UPDATE_ACCEPT_CONTEXT) from pj_sock_accept() to ioqueue_on_accept_complete(). - Added setsockopt(SO_UPDATE_ACCEPT_CONTEXT) in pj_sock_accept() for new accepted socket when immediate connection is available. - Added pj_sock_getsockname() check in unit test ioq_tcp.c for new accepted socket. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3051 74dad513-b988-da41-8d7b-12977e46ad98
2010-01-08Misc (#1003):Benny Prijono
- Fixed gcc warnings in activesock unit test - 'make clean' did not clear pjsystest executable git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3048 74dad513-b988-da41-8d7b-12977e46ad98
2010-01-06Ticket #1012: Potential buffer overflow in Unicode string conversion (thanks ↵Benny Prijono
Orville Pike for the report) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3047 74dad513-b988-da41-8d7b-12977e46ad98
2010-01-06Ticket #992: Symbian build issues using RVCT compiler (thanks Gabor Tanka ↵Benny Prijono
for the fix) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3046 74dad513-b988-da41-8d7b-12977e46ad98
2010-01-04Ticket #1010:Nanang Izzuddin
- Fixed bug in some APIs of address resolver and IP helper to reset sin_len member of sockaddr. - Added purity test of sin_len member checking in pjlib test. - Fixed bug in pj_getaddrinfo() when address family param set to PJ_AF_UNSPEC (assertion raised as it called pj_sockaddr_get_addr() with PJ_AF_UNSPEC too). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3044 74dad513-b988-da41-8d7b-12977e46ad98
2009-12-30Few fixes and enhancements to Windows IP helper, related to #1000:Benny Prijono
- enum_ipv4_ipv6_interface() function: - bug fix: function should return error if no interface is found - do not include interfaces that are down, loopback interface, interface with 0.0.0.0/24 address, interface with zero address, etc. - improve buffer robustness for enum_ipv4_interface() and enum_ipv4_ipv6_interface() functions, by supplying only small buffer, but added fallback to allocating the buffer from heap if the buffer is not large enough to contain the result. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3040 74dad513-b988-da41-8d7b-12977e46ad98
2009-12-29More ticket #1000:Benny Prijono
- fixed bug caused by r3030. If an adapter with NULL firstUnicastAddress is found, the function will return uninitialized array element. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3038 74dad513-b988-da41-8d7b-12977e46ad98
2009-12-29Fixed ticket #1007: Heap corruption when socket address with invalid address ↵Benny Prijono
family is given (thanks Emil Sturniolo for the report) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3037 74dad513-b988-da41-8d7b-12977e46ad98
2009-12-16Ticket #1004: Symbian timer heap fixBenny Prijono
- timer heap now records active timers and cancel them when it's destroyed git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3034 74dad513-b988-da41-8d7b-12977e46ad98
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