Age | Commit message (Collapse) | Author |
|
not that useful and it would print error message on many platforms that don't support it, causing many questions from users
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3060 74dad513-b988-da41-8d7b-12977e46ad98
|
|
- configure script patch for FIONBIO and SIOCGIFFLAGS errors
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3059 74dad513-b988-da41-8d7b-12977e46ad98
|
|
- added --with-pa-path configure option
- remove the use of PaUtil_SetDebugPrintFunction() since this is not always available across all PA versions (?)
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3058 74dad513-b988-da41-8d7b-12977e46ad98
|
|
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
|
|
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3056 74dad513-b988-da41-8d7b-12977e46ad98
|
|
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3054 74dad513-b988-da41-8d7b-12977e46ad98
|
|
address is given (thanks Emil Sturniolo for the report)
- fixed bug with IPv6
- also fixed bug with not fully initializing socket address, causing assertion on pjsip-test and also potentially will cause error on MacOS X due to sin_zero_len not being zeroed
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3053 74dad513-b988-da41-8d7b-12977e46ad98
|
|
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3052 74dad513-b988-da41-8d7b-12977e46ad98
|
|
- Moved setsockopt(SO_UPDATE_ACCEPT_CONTEXT) from pj_sock_accept() to ioqueue_on_accept_complete().
- Added setsockopt(SO_UPDATE_ACCEPT_CONTEXT) in pj_sock_accept() for new accepted socket when immediate connection is available.
- Added pj_sock_getsockname() check in unit test ioq_tcp.c for new accepted socket.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3051 74dad513-b988-da41-8d7b-12977e46ad98
|
|
- use PortAudio revision 1433 instead, since PA revision 1434 introduced dependency to newer DirectX SDK (DXSDK v9 2002/2004 edition fails to compile PA)
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3050 74dad513-b988-da41-8d7b-12977e46ad98
|
|
address is given (thanks Emil Sturniolo for the report)
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3049 74dad513-b988-da41-8d7b-12977e46ad98
|
|
- Fixed gcc warnings in activesock unit test
- 'make clean' did not clear pjsystest executable
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3048 74dad513-b988-da41-8d7b-12977e46ad98
|
|
Orville Pike for the report)
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3047 74dad513-b988-da41-8d7b-12977e46ad98
|
|
for the fix)
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3046 74dad513-b988-da41-8d7b-12977e46ad98
|
|
(thanks Johan Lantz for the report)
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3045 74dad513-b988-da41-8d7b-12977e46ad98
|
|
- Fixed bug in some APIs of address resolver and IP helper to reset sin_len member of sockaddr.
- Added purity test of sin_len member checking in pjlib test.
- Fixed bug in pj_getaddrinfo() when address family param set to PJ_AF_UNSPEC (assertion raised as it called pj_sockaddr_get_addr() with PJ_AF_UNSPEC too).
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3044 74dad513-b988-da41-8d7b-12977e46ad98
|
|
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3043 74dad513-b988-da41-8d7b-12977e46ad98
|
|
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3042 74dad513-b988-da41-8d7b-12977e46ad98
|
|
sockets have been resolved, so reduce chattiness during initialization and simplify debugging related to STUN problems
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3041 74dad513-b988-da41-8d7b-12977e46ad98
|
|
- enum_ipv4_ipv6_interface() function:
- bug fix: function should return error if no interface is found
- do not include interfaces that are down, loopback interface, interface with 0.0.0.0/24 address, interface with zero address, etc.
- improve buffer robustness for enum_ipv4_interface() and enum_ipv4_ipv6_interface() functions, by supplying only small buffer, but added fallback to allocating the buffer from heap if the buffer is not large enough to contain the result.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3040 74dad513-b988-da41-8d7b-12977e46ad98
|
|
- Fixed bug in pjsip_tls_transport_start(): specified ca_list_file must be applied even when cert_file is not set.
- Fixed bug in lis_create_transport(): new transport should inherit cert settings (from listener).
- Fixed pjsua app, missing TLS transport setting 'require_client_cert' for '--tls-verify-client' option.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3039 74dad513-b988-da41-8d7b-12977e46ad98
|
|
- fixed bug caused by r3030. If an adapter with NULL firstUnicastAddress is found, the function will return uninitialized array element.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3038 74dad513-b988-da41-8d7b-12977e46ad98
|
|
family is given (thanks Emil Sturniolo for the report)
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3037 74dad513-b988-da41-8d7b-12977e46ad98
|
|
- always intantiate TCP to support TCP auto-switching
- bug fix in retrieving DNS server field from GetNetworkParams() return value
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3036 74dad513-b988-da41-8d7b-12977e46ad98
|
|
returns PJ_SUCCESS but 0.0.0.0 is reported as the socket address, potentially causing SIP TCP transport to put 0.0.0.0 or empty Via address. Not sure if this situation could happen though.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3035 74dad513-b988-da41-8d7b-12977e46ad98
|
|
- timer heap now records active timers and cancel them when it's destroyed
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3034 74dad513-b988-da41-8d7b-12977e46ad98
|
|
GetProcAddress between Windows and Windows Mobile
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3033 74dad513-b988-da41-8d7b-12977e46ad98
|
|
- added missing transport selection information in pjsua_acc_create_request(), when the account has been locked to use a specific transport/listener.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3032 74dad513-b988-da41-8d7b-12977e46ad98
|
|
Robert Cichielo for the reports)
- the timer associated with a buddy is not removed when buddy is deleted, causing crash later on in timer heap. Fixed.
- when fails to send the initial SUBSCRIBE request, the dialog associated with buddy subscription will have been destroyed in the callback, causing any subsequent "pjsip_dlg_dec_lock(buddy->dlg)" call to crash. Fixed by protecting the call with "if (buddy->dlg)".
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3031 74dad513-b988-da41-8d7b-12977e46ad98
|
|
Windows targets):
- fixed crash if GetAdaptersAddresses() returns adapter with NULL "firstUnicastAddress". This happens when the interface is disabled.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3030 74dad513-b988-da41-8d7b-12977e46ad98
|
|
Windows targets
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3029 74dad513-b988-da41-8d7b-12977e46ad98
|
|
Several bug fixes to the TURN client library and icedemo sample application:
1. ICE stream transport reports ICE initialization/candidate gathering stage as successful even when TURN client TCP connection has failed.
2. Bad ChannelData framing when TCP is used. PJNATH did not properly add padding to the TURN ChannelData packet if TCP is used and the data is not aligned to four bytes boundary. Similarly incoming ChannelData with padding (over TCP) may not be handled correctly.
3. Incoming data over TCP may be delayed. PJNATH only processed one frame (be it request, indication, or ChannelData) on an incoming stream, so if the stream contains more than one frames, the processing of subsequent frames will be delayed until more stream is received on the TCP transport.
4. The icedemo sample application overwrites the incoming packet buffer with NULL character ('\0') before printing the message to console. If there is another packet after current packet (as often happens when TCP is used), the subsequent packet will get corrupted.
The combinations of bugs above may cause PJNATH to return "Invalid STUN message length (PJNATH_EINSTUNMSGLEN)" error when processing incoming TURN ChannelData message over TCP.
And a small enhancement:
1. Add logging to file option to icedemo sample.
Thanks Sarun Nandakumar for the report.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3028 74dad513-b988-da41-8d7b-12977e46ad98
|
|
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3026 74dad513-b988-da41-8d7b-12977e46ad98
|
|
- Updated VAS stream start to be synchronous.
- Fixed VAS formats enumeration in factory_init() to delete VAS factory instance.
- Minor fix: compile warning on 5th edition: CPjAudioEngine has virtual member but no virtual destructor.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3025 74dad513-b988-da41-8d7b-12977e46ad98
|
|
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3024 74dad513-b988-da41-8d7b-12977e46ad98
|
|
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3023 74dad513-b988-da41-8d7b-12977e46ad98
|
|
- the sorting process may cause valid checks to point to the wrong candidate pair. This is reproducible by pjnath-test
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3022 74dad513-b988-da41-8d7b-12977e46ad98
|
|
- undo r3019 which put unsolicited MWI support in pjsua app only
- put the unsolicited MWI support in PJSUA-LIB instead
- unsolicited MWI is by default enabled
- on_mwi_info() callback will be called just as the solicited MWI version
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3021 74dad513-b988-da41-8d7b-12977e46ad98
|
|
- Fixed compile error of incompatible param type (or bad type conversion) on Symbian 5th ed (and perhaps also on some GCC versions).
- Fixed on_connect_complete() to reset SSL sock state before callback when connection fails (OpenSSL impl).
- Fixed saving remote address before start connecting, so it won't miss remote address info when socket connection establishes immediately (OpenSSL impl).
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3020 74dad513-b988-da41-8d7b-12977e46ad98
|
|
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3019 74dad513-b988-da41-8d7b-12977e46ad98
|
|
state problem caused by server listen backlog excess (problem examined on mac platform).
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3018 74dad513-b988-da41-8d7b-12977e46ad98
|
|
always results false, passed codec vector test after fix applied on win64 and mac.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3017 74dad513-b988-da41-8d7b-12977e46ad98
|
|
on some platforms (e.g: Win, Mac).
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3016 74dad513-b988-da41-8d7b-12977e46ad98
|
|
compile warning (var used without initialization).
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3015 74dad513-b988-da41-8d7b-12977e46ad98
|
|
fix in #964.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3014 74dad513-b988-da41-8d7b-12977e46ad98
|
|
instead if it is greater
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3013 74dad513-b988-da41-8d7b-12977e46ad98
|
|
PJSUA_MAX_CALLS (thanks Robbie Hanson for the report)
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3012 74dad513-b988-da41-8d7b-12977e46ad98
|
|
script sendto/126.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3011 74dad513-b988-da41-8d7b-12977e46ad98
|
|
will raise assertion
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3010 74dad513-b988-da41-8d7b-12977e46ad98
|
|
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3009 74dad513-b988-da41-8d7b-12977e46ad98
|