Perry Ismangil
1fef1f9b59
Fixed #1296 deleting VS6 workspaces and projects
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/2.0-dev@3583 74dad513-b988-da41-8d7b-12977e46ad98
2011-06-14 14:35:39 +00:00
Benny Prijono
91430b2dc4
Fixed #1152 (The base64 decoder should ignore whitespaces in the input). In fact, the base64 decoder now will silently ignore/skip any bad characters.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3356 74dad513-b988-da41-8d7b-12977e46ad98
2010-10-26 23:53:28 +00:00
Benny Prijono
f66dc1c8e7
Misc (re #1134 ): fixed failed unit tests due to changes in DNS resolver code in r3344
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3346 74dad513-b988-da41-8d7b-12977e46ad98
2010-10-14 10:56:02 +00:00
Benny Prijono
dc1c15a2bc
Misc (re #1134 ): fixed failure in resolving DNS A resolution if the answer contains more than one CNAME redirection before an A record is found (thanks Régis Montoya for the report)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3344 74dad513-b988-da41-8d7b-12977e46ad98
2010-10-14 07:22:04 +00:00
Benny Prijono
8ef546c3fb
Another fix for authentication in HTTP client (re #1136 ):
...
- missing opaque parameter in the response
- also replaced "\n" with "\r\n"
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3333 74dad513-b988-da41-8d7b-12977e46ad98
2010-10-04 01:11:54 +00:00
Benny Prijono
064d235023
Re #1136 (Basic and digest authentication in the HTTP client): fixed error in parsing URL if the path contains at ("@") character
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3332 74dad513-b988-da41-8d7b-12977e46ad98
2010-10-01 06:43:17 +00:00
Benny Prijono
00f8827827
Implemented and closed #1136 : added HTTP authentication support
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3321 74dad513-b988-da41-8d7b-12977e46ad98
2010-09-27 08:35:08 +00:00
Benny Prijono
0282727447
Misc (re #1134 ): fixed error in Makefile target for generating doxygen documentation when WWWDIR is specified
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3319 74dad513-b988-da41-8d7b-12977e46ad98
2010-09-23 22:46:11 +00:00
Benny Prijono
f50194620e
Fixed #1108 : deadlock in DNS resolver (thanks Bogdan Krakowski for the report)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3298 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-27 03:19:00 +00:00
Benny Prijono
2958061f92
Misc (re #1068 ): fixed various compilation warnings with Visual Studio 6 and 2005
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3262 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-11 06:03:47 +00:00
Benny Prijono
d62947c23e
Misc (re #1068 ): fixed couple of problems with http client unit test:
...
- crash because server is let running
- SIGPIPE on Linux in the test server code
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3257 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-06 08:40:55 +00:00
Sauw Ming
fc0c176237
Misc fix (re #1068 ): added port number in the Host header of http request.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3236 74dad513-b988-da41-8d7b-12977e46ad98
2010-07-13 13:18:08 +00:00
Nanang Izzuddin
cbbcb60ada
Fix #1078 : added XOR_MAPPED_ADDRESS parsing capability to the resolver.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3235 74dad513-b988-da41-8d7b-12977e46ad98
2010-07-06 08:11:04 +00:00
Sauw Ming
382853f752
Misc(re #1068 ): Revert the default trace to 0.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3229 74dad513-b988-da41-8d7b-12977e46ad98
2010-06-29 17:06:01 +00:00
Sauw Ming
3f0320605f
Misc(re #1068 ): fixed crash because pj_http_req may now be destroyed after calling on_complete callback.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3228 74dad513-b988-da41-8d7b-12977e46ad98
2010-06-29 17:02:59 +00:00
Sauw Ming
2d674b320c
Ticket #1018 :
...
Application may now destroy pj_http_req inside on_complete callback.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3227 74dad513-b988-da41-8d7b-12977e46ad98
2010-06-29 13:43:05 +00:00
Benny Prijono
2ee684b9d9
Ref #1018 , fixed failure in pjlib-util-test due to the use of hardcoded port in HTTP client test
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3147 74dad513-b988-da41-8d7b-12977e46ad98
2010-04-27 08:31:08 +00:00
Sauw Ming
b36176088a
More ticket #1018 :
...
* 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: https://svn.pjsip.org/repos/pjproject/trunk@3098 74dad513-b988-da41-8d7b-12977e46ad98
2010-02-11 12:50:42 +00:00
Benny Prijono
990f6e9989
More ticket #1018 : fixed some more warnings about pointer conversions, or errors if the library is compiled in C++ mode (thanks Atik Khan for the report)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3095 74dad513-b988-da41-8d7b-12977e46ad98
2010-02-10 10:45:07 +00:00
Benny Prijono
743ce28766
More ticket #1018 : fixed warning about incompatible pointer types
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3092 74dad513-b988-da41-8d7b-12977e46ad98
2010-02-10 07:49:03 +00:00
Sauw Ming
63236bb7f5
Misc ( #1018 ):
...
* 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: https://svn.pjsip.org/repos/pjproject/trunk@3089 74dad513-b988-da41-8d7b-12977e46ad98
2010-02-05 16:03:29 +00:00
Sauw Ming
d8435e6798
Implemented ticket #1018 : Simple HTTP client implementation
...
* 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: https://svn.pjsip.org/repos/pjproject/trunk@3087 74dad513-b988-da41-8d7b-12977e46ad98
2010-02-04 18:29:16 +00:00
Benny Prijono
d523370d48
Initial OpenBSD fixes ( #994 ):
...
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: https://svn.pjsip.org/repos/pjproject/trunk@3057 74dad513-b988-da41-8d7b-12977e46ad98
2010-01-13 13:09:45 +00:00
Nanang Izzuddin
30b615c7cc
Ticket #886 :
...
- Added C++ wrapper files for C source files using exception (PJ_TRY & PJ_THROW).
- Updated Symbian MMPs.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2873 74dad513-b988-da41-8d7b-12977e46ad98
2009-08-13 11:54:35 +00:00
Benny Prijono
ecc183e9be
Ticket #868 : Added functions to search XML child nodes recursively
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2727 74dad513-b988-da41-8d7b-12977e46ad98
2009-06-01 09:28:28 +00:00
Benny Prijono
329d638568
Integration of Sipit24 branch, many tickets involved:
...
- #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: https://svn.pjsip.org/repos/pjproject/trunk@2724 74dad513-b988-da41-8d7b-12977e46ad98
2009-05-29 13:04:03 +00:00
Benny Prijono
5cd804a663
Fixed ticket #836 : SHA1 encryption may corrupt STUN packets with MESSAGE-INTEGRITY. Also added unit test to verify this behavior
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2690 74dad513-b988-da41-8d7b-12977e46ad98
2009-05-12 08:01:56 +00:00
Benny Prijono
dc8c49028e
More ticket #706 : renamed output names from vs8 to vc8 to make it backward compatible
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2664 74dad513-b988-da41-8d7b-12977e46ad98
2009-04-29 15:30:38 +00:00
Nanang Izzuddin
89c273edc7
Initial VS settings for all platforms.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/vs-reorg2@2649 74dad513-b988-da41-8d7b-12977e46ad98
2009-04-27 12:41:05 +00:00
Nanang Izzuddin
5ac6cdf3a7
#792 : Fixed WM6 build configs, updated svn prop for pjsua_wince & pocketpj.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/vs-reorg@2631 74dad513-b988-da41-8d7b-12977e46ad98
2009-04-21 19:04:26 +00:00
Nanang Izzuddin
57ccc7ff4f
#792 : Updated output file name: use short platform name wm6std/pro & replace hyphen with dash.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/vs-reorg@2630 74dad513-b988-da41-8d7b-12977e46ad98
2009-04-21 17:00:57 +00:00
Perry Ismangil
50a7530d1d
#792 work in progress
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/vs-reorg@2629 74dad513-b988-da41-8d7b-12977e46ad98
2009-04-21 14:59:35 +00:00
Nanang Izzuddin
29b6baf2c4
#792 : Renamed test_pjsip to pjsip_test, updated some missing settings for Win32 platform.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/vs-reorg@2626 74dad513-b988-da41-8d7b-12977e46ad98
2009-04-21 11:12:40 +00:00
Nanang Izzuddin
6ae3846f7e
#792 : Updated property sheet win32-common and updated some projects settings
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/vs-reorg@2625 74dad513-b988-da41-8d7b-12977e46ad98
2009-04-20 20:11:18 +00:00
Perry Ismangil
740891ec08
#792 work in progress: all vcproj now has property sheets wired in.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/vs-reorg@2622 74dad513-b988-da41-8d7b-12977e46ad98
2009-04-20 16:41:35 +00:00
Nanang Izzuddin
a5c1abf3fb
Added sample of ps inherited from another ps.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/vs-reorg@2609 74dad513-b988-da41-8d7b-12977e46ad98
2009-04-17 13:54:57 +00:00
Perry Ismangil
e6410c26ca
#792 work in progress, solutions loads but then freezes VS. Trying it on other PCs.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/vs-reorg@2606 74dad513-b988-da41-8d7b-12977e46ad98
2009-04-16 10:13:21 +00:00
Perry Ismangil
05d1769aaf
#706 work in progress: all Win32 projects now have all 6 configs. Settings not correct yet.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2584 74dad513-b988-da41-8d7b-12977e46ad98
2009-04-08 11:28:16 +00:00
Perry Ismangil
74338058c2
Addition of Debug-Static, Debug-Dynamic, Release-Static, and Release-Dynamic build configuration for Visual Studio, for Win32 target
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2559 74dad513-b988-da41-8d7b-12977e46ad98
2009-03-30 12:15:43 +00:00
Benny Prijono
f32d7ad66f
Ticket #751 : Incorrect table based CRC32 calculation on big endian platforms (thanks Ruud Klaver for the fix)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2511 74dad513-b988-da41-8d7b-12977e46ad98
2009-03-13 12:28:00 +00:00
Benny Prijono
d9e8dfea2d
Initial fixes for ticket #747 : bugs in parsing SIP torture messages (RFC 4475):
...
- 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: https://svn.pjsip.org/repos/pjproject/trunk@2505 74dad513-b988-da41-8d7b-12977e46ad98
2009-03-12 11:25:11 +00:00
Benny Prijono
298c12e70e
Ticket #706 : Part 1 of VS 2005 projects reorganization: introduction of Windows Mobile 6 standard SDK in the build platform
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2430 74dad513-b988-da41-8d7b-12977e46ad98
2009-01-27 10:14:52 +00:00
Benny Prijono
32d267bb67
Fixed gcc-4.3.2 warnings with the warn_unused_result flag in some APIs
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2408 74dad513-b988-da41-8d7b-12977e46ad98
2009-01-01 22:08:21 +00:00
Benny Prijono
95b5340fa6
Fixed unreached code, deprecated fopen(), unused arguments, and other warnings with MSVC
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2407 74dad513-b988-da41-8d7b-12977e46ad98
2009-01-01 20:56:36 +00:00
Benny Prijono
1ac5bfa095
Removed the check for NDEBUG (it failed the test on release mode)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2403 74dad513-b988-da41-8d7b-12977e46ad98
2008-12-30 16:19:06 +00:00
Benny Prijono
844653c1f2
Updated copyright notice in all files to Teluu Inc., and changed the year as well
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2394 74dad513-b988-da41-8d7b-12977e46ad98
2008-12-23 17:27:53 +00:00
Nanang Izzuddin
9522ff22fa
Minor update on resolver test to use 'unrestricted' ports (>1024) in socket bindings.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2391 74dad513-b988-da41-8d7b-12977e46ad98
2008-12-19 15:08:44 +00:00
Benny Prijono
2929e380d2
More ticket #686 : bug in handling strayed callback
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2390 74dad513-b988-da41-8d7b-12977e46ad98
2008-12-19 14:37:32 +00:00
Benny Prijono
c693f4d6e5
Fixed ticket #686 : Failure to cancel outstanding DNS SRV query job (API change)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2387 74dad513-b988-da41-8d7b-12977e46ad98
2008-12-19 12:26:42 +00:00
Benny Prijono
e6a5f8ef79
Ticket #667 : Padding issue when the old/RFC 3489 STUN client is communicating with new/STUNbis STUN server
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2356 74dad513-b988-da41-8d7b-12977e46ad98
2008-10-23 11:31:11 +00:00