summaryrefslogtreecommitdiff
path: root/pjlib-util/src
AgeCommit message (Collapse)Author
2016-08-17Fixed #1953: Skip IPv6 socket in resolver on system without IPv6 support.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5420 74dad513-b988-da41-8d7b-12977e46ad98
2016-07-12Misc (re #1928): Fixed pjlib-util-test issue on Mac due to bad socket ↵Nanang Izzuddin
address length param for pj_sock_bind(). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5379 74dad513-b988-da41-8d7b-12977e46ad98
2016-06-21Re #1933: Update pjnath-test for IPv6 support.Riza Sulistyo
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5350 74dad513-b988-da41-8d7b-12977e46ad98
2016-06-20Close #1927: IPv6 support in DNS SRV:Nanang Izzuddin
- support DNS A and AAAA resolution for each target in DNS SRV record - support fallback to DNS A and DNS AAAA resolution when DNS SRV record is not available - support IPv6 nameservers. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5349 74dad513-b988-da41-8d7b-12977e46ad98
2016-05-20Re #1922: Replace IPv4 specific APIs as per Apple's recommendationsLiong Sauw Ming
https://developer.apple.com/library/ios/documentation/NetworkingInternetWeb/Conceptual/NetworkingOverview/UnderstandingandPreparingfortheIPv6Transition/UnderstandingandPreparingfortheIPv6Transition.html#//apple_ref/doc/uid/TP40010220-CH213-SW27 git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5311 74dad513-b988-da41-8d7b-12977e46ad98
2016-03-14Misc (re #1882): Fixed CLI-telnet log level check in log printing, i.e: log ↵Nanang Izzuddin
level is by default set to 4, but it didn't print log messages with level 4. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5258 74dad513-b988-da41-8d7b-12977e46ad98
2015-12-31Re #1882 (misc): should check nscount (instead of anscount) when iterating ↵Liong Sauw Ming
ns values. Thanks to Dusan Klinec for the patch. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5228 74dad513-b988-da41-8d7b-12977e46ad98
2015-12-03Misc (re #1882): Added feature of CDATA content handling into XML parser.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5206 74dad513-b988-da41-8d7b-12977e46ad98
2015-09-29Fix #1889: DNS parser should return error on RR class != IN only when RR ↵Nanang Izzuddin
type is known. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5183 74dad513-b988-da41-8d7b-12977e46ad98
2015-08-25Re #1881: Fixed compile warnings on VS2015 about declaration hides previous ↵Nanang Izzuddin
declaration. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5170 74dad513-b988-da41-8d7b-12977e46ad98
2015-06-22Re #1843 (misc): Fixed potential memory corruption problem if DNS resolver ↵Liong Sauw Ming
receives a response with more than 8 A records. Thank you to Oleg Grazhdan for the patch and Andrey Kovalenko for the report git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5115 74dad513-b988-da41-8d7b-12977e46ad98
2015-06-22Re #1843 (misc): Fixed warning: address of struct will always evaluate to ↵Liong Sauw Ming
'true' [-Wpointer-bool-conversion] git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5113 74dad513-b988-da41-8d7b-12977e46ad98
2014-12-24Ticket #1809: Fixed DNS SRV resolver bug that application callback may be ↵Nanang Izzuddin
called twice. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4971 74dad513-b988-da41-8d7b-12977e46ad98
2014-11-14Re #1782 (misc): This is related to #1418: Library restart fails with ↵Liong Sauw Ming
PJLIB_UTIL_ESTUNNOTRESPOND error after several times. The fix r3896 in that ticket was accidentally modified during merging in r3999. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4961 74dad513-b988-da41-8d7b-12977e46ad98
2014-09-01Misc (re #1751): fixed printing value issue when using %02X format. (Thanks ↵Riza Sulistyo
Itay Bianco for the report). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4910 74dad513-b988-da41-8d7b-12977e46ad98
2014-04-24Misc (re #1751): Fix crash when executing pattern matched shortcut on cli.Riza Sulistyo
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4825 74dad513-b988-da41-8d7b-12977e46ad98
2014-02-28Fixed #1719: Bug in DNS SRV/RFC 3263 server selectionBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4774 74dad513-b988-da41-8d7b-12977e46ad98
2014-02-24Re #1680: Fixed compile warnings on VS2005 for x64/win64 config.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4761 74dad513-b988-da41-8d7b-12977e46ad98
2014-02-04Misc (re #1630): Fixing warnings about variable set but not used with recent gccBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4728 74dad513-b988-da41-8d7b-12977e46ad98
2014-01-23Misc (re #1630): Fixed symbols that should not be exported (thanks Tzafrir ↵Nanang Izzuddin
Cohen for the patch). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4713 74dad513-b988-da41-8d7b-12977e46ad98
2014-01-23Misc (re #1630): Fixed GCC build warnings (thanks Tzafrir Cohen for the patch).Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4712 74dad513-b988-da41-8d7b-12977e46ad98
2014-01-16Closed #1723: Merging pjsua2 branch into trunkLiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4704 74dad513-b988-da41-8d7b-12977e46ad98
2013-11-07Fix #1710: Modified resolver to always remove cache entry from cache hash ↵Nanang Izzuddin
table first before releasing/resetting cache pool. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4649 74dad513-b988-da41-8d7b-12977e46ad98
2013-11-04Fix #1709: Fixed scanner in processing escaped quote right after quote begin.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4641 74dad513-b988-da41-8d7b-12977e46ad98
2013-10-08Re #1703 General bug fixes: fixed wrong sizeof() in call to bzero(), ↵Benny Prijono
memset(), or memcpy() git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4614 74dad513-b988-da41-8d7b-12977e46ad98
2013-10-08Re #1703: fixing general bugs. First installment: correct handling of ↵Benny Prijono
snprintf return value git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4613 74dad513-b988-da41-8d7b-12977e46ad98
2013-09-05Re #1643: Fix crash due to insufficient command buffer size in get_cmd_name()Riza Sulistyo
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4589 74dad513-b988-da41-8d7b-12977e46ad98
2013-07-08Re #1686: avoid cache entry destroy in update_res_cache() when it is being ↵Nanang Izzuddin
used by callback. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4553 74dad513-b988-da41-8d7b-12977e46ad98
2013-07-05Fix #1686: release mutex when invoking callback to avoid deadlock. Also a ↵Nanang Izzuddin
bit memory usage optimization, i.e: avoid bloated pool by unfreed old/expired packet in cache entry. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4552 74dad513-b988-da41-8d7b-12977e46ad98
2013-06-19Re #1680: Add initial support for Win64Riza Sulistyo
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4537 74dad513-b988-da41-8d7b-12977e46ad98
2013-05-03Re #1643: - Modification to shortcut handling(execution&display).Riza Sulistyo
- Add exact match check to the parse input command process. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4513 74dad513-b988-da41-8d7b-12977e46ad98
2013-04-19Re #1655: Initial implementation of pjsua CLI app for Windows Mobile (5.x & ↵Nanang Izzuddin
6.x). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4484 74dad513-b988-da41-8d7b-12977e46ad98
2013-04-19Re #1643: Code restructure + modification to handle non blocking modeRiza Sulistyo
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4476 74dad513-b988-da41-8d7b-12977e46ad98
2013-04-05Re #1643: Code restructure+add callback to support symbian gui appRiza Sulistyo
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4461 74dad513-b988-da41-8d7b-12977e46ad98
2013-03-14Re #1643: add initial support for CLIRiza Sulistyo
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4440 74dad513-b988-da41-8d7b-12977e46ad98
2013-01-23Re #1603: Replaced sock_sendto() with ioqueue_sendto(), as if ioqueue ↵Nanang Izzuddin
replaces the socket first (in read operation), sock_sendto() will raise "Bad file descriptor" error. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4333 74dad513-b988-da41-8d7b-12977e46ad98
2013-01-15Fix #1603: reinit UDP socket of DNS resolver when sendto() returning EPIPE.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4317 74dad513-b988-da41-8d7b-12977e46ad98
2012-11-13Re #1562: PJSUA-LIB shutdown operation may block for a long time if system ↵Benny Prijono
time is modified while the shutdown is in progress. Also fixed similar issue in STUN client. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4297 74dad513-b988-da41-8d7b-12977e46ad98
2012-08-09Close #1567: Added option to use STUN2 format for resolving mapped address ↵Nanang Izzuddin
in pjsua_config. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4224 74dad513-b988-da41-8d7b-12977e46ad98
2012-08-07Fixed #1565: deadlock in DNS resolver.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4220 74dad513-b988-da41-8d7b-12977e46ad98
2012-07-18Fixed #1558: Bug in parsing quoted URI stringsLiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4209 74dad513-b988-da41-8d7b-12977e46ad98
2012-03-30Re #1474: Merged all changes from 1.12 - HEAD (from the 1.x branch)Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3999 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-24Re #1395: Backport of PJSIP 1.x branch into PJSIP 2.0 trunkLiong Sauw Ming
* Backport of r3557:r3832 TODO: ticket #1268 (Option for automatic/manual sending of RTCP SDES/BYE for the stream) for video stream. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3841 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-19Re #1326:Nanang Izzuddin
- Fixed compile warnings on vs2005 - Fixed compile error when PJMEDIA_HAS_VIDEO set to 0 on vs2005 git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3666 74dad513-b988-da41-8d7b-12977e46ad98
2011-05-05Re #1250: Updated the year in all copyright texts with 2011!Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3553 74dad513-b988-da41-8d7b-12977e46ad98
2011-05-05Re #1250: Added and updated copyright text in several files (with "standard" ↵Nanang Izzuddin
Teluu copyright text). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3550 74dad513-b988-da41-8d7b-12977e46ad98
2011-05-05Re #1175: Set SVN properties for several files: keywords=id and eol-style=nativeNanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3549 74dad513-b988-da41-8d7b-12977e46ad98
2011-04-20Fix #1229: bug fix and enhancements for PJLIB-UTIL STUN client:Benny Prijono
Bug: 1. Bug: if UDP packet is lost, the resolver will wait until all retransmissions are done, which means 4 seconds delay. Enhancements: 1. Allow caller to specify only 1 STUN server, for faster result. 1. If both servers point to the same address, only one will be used. 1. Decrease retransmission delay from 1000 ms to 500 ms for more responsive result. 1. Reduce memory consumption (from 1024 to 400 bytes). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3540 74dad513-b988-da41-8d7b-12977e46ad98
2011-03-16Fix #1212:Nanang Izzuddin
- Updated pj_register_strerror() to just return PJ_SUCCESS when the same range and handler is being re-registered. - Removed the usage of static flag of error string handler registration in some modules, which prevent the re-registration of the handler, e.g: in restarting pjsua, as such flags never got reseted. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3455 74dad513-b988-da41-8d7b-12977e46ad98
2010-10-26Fixed #1152 (The base64 decoder should ignore whitespaces in the input). In ↵Benny Prijono
fact, the base64 decoder now will silently ignore/skip any bad characters. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3356 74dad513-b988-da41-8d7b-12977e46ad98