summaryrefslogtreecommitdiff
path: root/pjlib-util/src
AgeCommit message (Collapse)Author
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
2010-10-14Misc (re #1134): fixed failed unit tests due to changes in DNS resolver code ↵Benny Prijono
in r3344 git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3346 74dad513-b988-da41-8d7b-12977e46ad98
2010-10-14Misc (re #1134): fixed failure in resolving DNS A resolution if the answer ↵Benny Prijono
contains more than one CNAME redirection before an A record is found (thanks Régis Montoya for the report) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3344 74dad513-b988-da41-8d7b-12977e46ad98
2010-10-04Another fix for authentication in HTTP client (re #1136):Benny Prijono
- missing opaque parameter in the response - also replaced "\n" with "\r\n" git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3333 74dad513-b988-da41-8d7b-12977e46ad98
2010-10-01Re #1136 (Basic and digest authentication in the HTTP client): fixed error ↵Benny Prijono
in parsing URL if the path contains at ("@") character git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3332 74dad513-b988-da41-8d7b-12977e46ad98
2010-09-27Implemented and closed #1136: added HTTP authentication supportBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3321 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-27Fixed #1108: deadlock in DNS resolver (thanks Bogdan Krakowski for the report)Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3298 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-11Misc (re #1068): fixed various compilation warnings with Visual Studio 6 and ↵Benny Prijono
2005 git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3262 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-06Misc (re #1068): fixed couple of problems with http client unit test:Benny Prijono
- crash because server is let running - SIGPIPE on Linux in the test server code git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3257 74dad513-b988-da41-8d7b-12977e46ad98
2010-07-13Misc fix (re #1068): added port number in the Host header of http request.Liong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3236 74dad513-b988-da41-8d7b-12977e46ad98