summaryrefslogtreecommitdiff
path: root/pjlib-util
AgeCommit message (Collapse)Author
2011-07-19Re #1254 Doxygen configuration and makefile changes to support version ↵Perry Ismangil
specific documentation git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3669 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-07-19Re #1326: Initial code integration from branch 2.0-dev to trunk as ↵Nanang Izzuddin
"2.0-pre-alpha-svn". git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3664 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-09-23Misc (re #1134): fixed error in Makefile target for generating doxygen ↵Benny Prijono
documentation when WWWDIR is specified git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3319 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
2010-07-06Fix #1078: added XOR_MAPPED_ADDRESS parsing capability to the resolver.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3235 74dad513-b988-da41-8d7b-12977e46ad98
2010-06-29Misc(re #1068): Revert the default trace to 0.Liong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3229 74dad513-b988-da41-8d7b-12977e46ad98
2010-06-29Misc(re #1068): fixed crash because pj_http_req may now be destroyed after ↵Liong Sauw Ming
calling on_complete callback. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3228 74dad513-b988-da41-8d7b-12977e46ad98
2010-06-29Ticket #1018:Liong Sauw Ming
Application may now destroy pj_http_req inside on_complete callback. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3227 74dad513-b988-da41-8d7b-12977e46ad98
2010-04-27Ref #1018, fixed failure in pjlib-util-test due to the use of hardcoded port ↵Benny Prijono
in HTTP client test git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3147 74dad513-b988-da41-8d7b-12977e46ad98
2010-02-11More ticket #1018:Liong Sauw Ming
* Immediately process response body after receiving the header. * Fix GET method when Content-Length header is not specified. * Fix checking when HTTP request is cancelled. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3098 74dad513-b988-da41-8d7b-12977e46ad98
2010-02-10More ticket #1018: fixed some more warnings about pointer conversions, or ↵Benny Prijono
errors if the library is compiled in C++ mode (thanks Atik Khan for the report) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3095 74dad513-b988-da41-8d7b-12977e46ad98
2010-02-10More ticket #1018: fixed warning about incompatible pointer typesBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3092 74dad513-b988-da41-8d7b-12977e46ad98
2010-02-05Misc (#1018):Liong Sauw Ming
* httpdemo: make the 2nd parameter (output filename) optional (result will be printed to stdout if output file is not provided. * remove trailing "\n" from PJ_LOG. * change response.status_code from pj_str_t to pj_uint16_t. * remove PJ_EPENDING status checking from on_complete. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3089 74dad513-b988-da41-8d7b-12977e46ad98
2010-02-04Implemented ticket #1018: Simple HTTP client implementationLiong Sauw Ming
* pjlib-util: * implement http_client * pjlib-util-test: * unit test for http_client * pjsip-apps/samples: * sample http client implementation * build: * added http_client support on VS6, VS2005, MMP, and Makefile git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3087 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
2009-08-13Ticket #886:Nanang Izzuddin
- Added C++ wrapper files for C source files using exception (PJ_TRY & PJ_THROW). - Updated Symbian MMPs. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2873 74dad513-b988-da41-8d7b-12977e46ad98
2009-06-01Ticket #868: Added functions to search XML child nodes recursivelyBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2727 74dad513-b988-da41-8d7b-12977e46ad98
2009-05-29Integration of Sipit24 branch, many tickets involved:Benny Prijono
- #793: AMR encoder should regard 'mode-set' param specified by remote decoder. - #831: Automatically switch to TCP transport when sending large request - #832: Support for outbound proxy setting without using Route header - #849: Modify conference audio switch behavior in connecting ports. - #850: Remove 'Require=replaces' param in 'Refer-To' header (in call transfer with replaces). - #851: Support for regular nomination in ICE - #852: --ip-addr support for IPv6 for media transport in pjsua - #854: Adding SOFTWARE attribute in all outgoing requests may cause compatibility problem with older STUN server (thanks Alexei Kuznetsov for the report) - #855: Bug in digit map frequencies for DTMF digits (thanks FCCH for the report) - #856: Put back the ICE candidate priority values according to the default values in the draft-mmusic-ice - #857: Support for ICE keep-alive with Binding indication - #858: Do not authenticate STUN 438 response - #859: AMR-WB format param in the SDP is not negotiated correctly. - #867: Return error instead of asserting when PJSUA-LIB fails to open log file git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2724 74dad513-b988-da41-8d7b-12977e46ad98
2009-05-12Fixed ticket #836: SHA1 encryption may corrupt STUN packets with ↵Benny Prijono
MESSAGE-INTEGRITY. Also added unit test to verify this behavior git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2690 74dad513-b988-da41-8d7b-12977e46ad98
2009-04-29More ticket #706: renamed output names from vs8 to vc8 to make it backward ↵Benny Prijono
compatible git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2664 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-22Ticket #706: Merged branch vs-reorg into trunk:Nanang Izzuddin
- Currently supported platforms are Win32 & WM6 std/pro. - Renamed project test_pjsip with pjsip_test, also source directory 'test-pjsip' to 'test'. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2638 74dad513-b988-da41-8d7b-12977e46ad98
2009-04-08#706 work in progress: all Win32 projects now have all 6 configs. Settings ↵Perry Ismangil
not correct yet. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2584 74dad513-b988-da41-8d7b-12977e46ad98
2009-03-30Addition of Debug-Static, Debug-Dynamic, Release-Static, and Release-Dynamic ↵Perry Ismangil
build configuration for Visual Studio, for Win32 target git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2559 74dad513-b988-da41-8d7b-12977e46ad98
2009-03-13Ticket #751: Incorrect table based CRC32 calculation on big endian platforms ↵Benny Prijono
(thanks Ruud Klaver for the fix) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2511 74dad513-b988-da41-8d7b-12977e46ad98
2009-03-12Initial fixes for ticket #747: bugs in parsing SIP torture messages (RFC 4475):Benny Prijono
- SIP version components may be separated by whitespaces (e.g. "SIP / 2.0") - parsing of mangled header when for unknown/generic header - Via parameters were parsed with paramchar rather than token - handling NULL character inside quoted string Some torture messages have been added in the Python test. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2505 74dad513-b988-da41-8d7b-12977e46ad98
2009-01-27Ticket #706: Part 1 of VS 2005 projects reorganization: introduction of ↵Benny Prijono
Windows Mobile 6 standard SDK in the build platform git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2430 74dad513-b988-da41-8d7b-12977e46ad98
2009-01-01Fixed gcc-4.3.2 warnings with the warn_unused_result flag in some APIsBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2408 74dad513-b988-da41-8d7b-12977e46ad98
2009-01-01Fixed unreached code, deprecated fopen(), unused arguments, and other ↵Benny Prijono
warnings with MSVC git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2407 74dad513-b988-da41-8d7b-12977e46ad98
2008-12-30Removed the check for NDEBUG (it failed the test on release mode)Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2403 74dad513-b988-da41-8d7b-12977e46ad98
2008-12-23Updated copyright notice in all files to Teluu Inc., and changed the year as ↵Benny Prijono
well git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2394 74dad513-b988-da41-8d7b-12977e46ad98
2008-12-19Minor update on resolver test to use 'unrestricted' ports (>1024) in socket ↵Nanang Izzuddin
bindings. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2391 74dad513-b988-da41-8d7b-12977e46ad98
2008-12-19More ticket #686: bug in handling strayed callbackBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2390 74dad513-b988-da41-8d7b-12977e46ad98
2008-12-19Fixed ticket #686: Failure to cancel outstanding DNS SRV query job (API change)Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2387 74dad513-b988-da41-8d7b-12977e46ad98
2008-10-23Ticket #667: Padding issue when the old/RFC 3489 STUN client is ↵Benny Prijono
communicating with new/STUNbis STUN server git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2356 74dad513-b988-da41-8d7b-12977e46ad98