summaryrefslogtreecommitdiff
path: root/pjlib-util
AgeCommit message (Collapse)Author
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
2008-10-01Ticket #651: Added WinCE workspace/project files for pjlib-util unit tests ↵Benny Prijono
(thanks Seth Hinze for the contribution) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2337 74dad513-b988-da41-8d7b-12977e46ad98
2008-07-29Fixed ticket #581: Fixed build dependencies in the makefilesBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2183 74dad513-b988-da41-8d7b-12977e46ad98
2008-07-12Ticket #560: Optimize the memory usage of DNS resolverBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2124 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-20Large changeset to replace all occurences of year 2007 with 2008 in the ↵Benny Prijono
copyright notice git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2039 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-20Updated doxygen documentationsBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2037 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-12Bug in srv_resolver: host_resolved value may exceed number of SRV records if ↵Benny Prijono
there are more than A records in Additional Record section of the response for a single SRV target (thanks Ruud Klaver) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2006 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-06Fixed compilation warnings in dns_server.cBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1991 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-06Ticket #537: implemented Simple DNS Server class (for testing) in pjlib-utilBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1987 74dad513-b988-da41-8d7b-12977e46ad98
2008-03-17Ticket #507: committed and tested g722 patch on WindowsBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1870 74dad513-b988-da41-8d7b-12977e46ad98
2008-03-13More ticket #485: added TURN client applicationBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1867 74dad513-b988-da41-8d7b-12977e46ad98
2008-02-08Fixed compilation errors on Symbian and others caused by ticket #472 ↵Benny Prijono
(FD_SETSIZE was removed) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1785 74dad513-b988-da41-8d7b-12977e46ad98
2008-02-02More ticket #465: option to return UDP header in pj_pcap_read_udp(), and ↵Benny Prijono
better RTP packet handling in pcaputil sample git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1769 74dad513-b988-da41-8d7b-12977e46ad98
2008-02-02Added trace to PCAP readerBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1767 74dad513-b988-da41-8d7b-12977e46ad98
2008-02-01More ticket #465: updated VS8 and WinCE projectsBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1766 74dad513-b988-da41-8d7b-12977e46ad98
2008-02-01Ticket #465: utility to read PCAP file and sample application to read RTP ↵Benny Prijono
files from PCAP file, decode the payload, and write the PCM output to WAV file git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1765 74dad513-b988-da41-8d7b-12977e46ad98