Age | Commit message (Collapse) | Author |
|
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4712 74dad513-b988-da41-8d7b-12977e46ad98
|
|
- Win64 Project properties modification, using x64 as target machine.
- Fix incorrect data type which might result in unsafe code.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4550 74dad513-b988-da41-8d7b-12977e46ad98
|
|
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4537 74dad513-b988-da41-8d7b-12977e46ad98
|
|
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4487 74dad513-b988-da41-8d7b-12977e46ad98
|
|
- Never hold lock while calling pj_activesock_send*() to avoid deadlock.
- Refactor the sending buffer management.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4247 74dad513-b988-da41-8d7b-12977e46ad98
|
|
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4238 74dad513-b988-da41-8d7b-12977e46ad98
|
|
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4108 74dad513-b988-da41-8d7b-12977e46ad98
|
|
* 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
|
|
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3553 74dad513-b988-da41-8d7b-12977e46ad98
|
|
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3426 74dad513-b988-da41-8d7b-12977e46ad98
|
|
pjlib-test/ssl_sock.c on Symbian S60 5th ed (compiled as C++?).
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3254 74dad513-b988-da41-8d7b-12977e46ad98
|
|
- Fixed bug of unused timeout setting in Symbian SSL socket, ssl_sock_symbian.cpp.
- Added an SSL test scenario of SSL connect timeout, SSL socket client tries to connect to non-SSL socket server.
- Fixed OpenSSL-based SSL socket to start SSL timer before TCP connect (was started after TCP connected and before SSL handshake).
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3117 74dad513-b988-da41-8d7b-12977e46ad98
|
|
- Updated transport state notification callback to return void.
- Updated transport state enum to only contain connected and disconnected, no more bitmask value.
- Added direction field to SIP transport.
- Removed remote hostname hash from transport key.
- Updated cert info dump to return -1 when buffer is insufficient.
- Added new error code PJSIP_TLS_ECERTVERIF.
- Updated get_cert_name() in ssl_sock_symbian.c to use heap buffer instead of stack.
- Minors, e.g: added prefix PJ in cipher types, docs.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3110 74dad513-b988-da41-8d7b-12977e46ad98
|
|
- Initial version of server domain name verification:
- Updated SSL certificate info, especially identities info
- Updated verification mechanism as in the specifications in ticket desc.
- Added server domain name info in pjsip_tx_data.
- Added alternative API for acquiring transport and creating transport of transport factory to include pjsip_tx_data param.
- Server identity match criteria:
- full host name match
- wild card not accepted
- if identity is URI, it must be SIP/SIPS URI
- Initial version of transport state notifications:
- Added new API to set transport state callback in PJSIP and PJSUA.
- Defined states: connected/disconnected, accepted/rejected, verification errors.
- Minors:
- Updated SSL socket test: dump verification result, test of requiring client cert, and few minors.
- Updated test cert to include subjectAltName extensions.
- Added SSL certificate dump function.
- Updated max number of socket async operations in Symbian sample apps (RSocketServ::Connect()) to 32 (was default 8).
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3106 74dad513-b988-da41-8d7b-12977e46ad98
|
|
- bug in aligning pointer if sizeof(long) is less than sizeof(void*). Thanks John Ridges for pointing this out
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3082 74dad513-b988-da41-8d7b-12977e46ad98
|
|
greater than the default (thanks John Ridges for the report):
- fixed the pool allocation routines in PJLIB,
- add alignment test in pjlib-test (only useful if PJ_POOL_ALIGNMENT is configured in config_site.h),
- fixed other pool tests in pjlib-test which are broken when PJ_POOL_ALIGNMENT is enlarged
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3081 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
|
|
- 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
|
|
- 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
|
|
- 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
|
|
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
|
|
on some platforms (e.g: Win, Mac).
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3016 74dad513-b988-da41-8d7b-12977e46ad98
|
|
- added PJ_PERROR() macro to allow compile time omitting
- changed pj_perror() API to allow formatting of the title using printf like format
- added a simple test in pjlib-test
- updated Doxygen documentation
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2992 74dad513-b988-da41-8d7b-12977e46ad98
|
|
- Updated Symbian PJLIB test build setting to enable SSL sock test.
- Fixed ciphers enumeration in Symbian SSL sock.
- Fixed OpenSSL SSL sock to avoid initializing OpenSSL multiple times.
- Fixed SSL unit test to avoid divide-by-zero in setting random seed.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2990 74dad513-b988-da41-8d7b-12977e46ad98
|
|
- Applied workaround solution for getting local address problem with getsockname on win IOCP by using parent local address instead.
- Fixed SSL socket not to return PJ_FALSE in active socket accept callback, to keep accepting connections.
- Applied workaround solution for OpenSSL error mapping, as OpenSSL error codes are big numbers that won't fit pj_status_t.
- Minor updates, e.g: using pj_perror(), removing some logs, OpenSSL error print callback.
- Minor updates on SSL unit test, e.g: start_read() before start sending, additional ioqueue poll to cleanup sockets, add timeout feature to https client test.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2986 74dad513-b988-da41-8d7b-12977e46ad98
|
|
tcp unit test (such case was occured when test was performed using IOCP ioqueue on Vista).
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2983 74dad513-b988-da41-8d7b-12977e46ad98
|
|
pjlib-test failed on socket test because SOL_SOCKET is defined by Windows Platform SDK as 0xFFFF
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2982 74dad513-b988-da41-8d7b-12977e46ad98
|
|
- Added SSL socket performance test.
- Added incompatible SSL proto test.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2981 74dad513-b988-da41-8d7b-12977e46ad98
|
|
- Fixed SSL socket unit test issues (mostly on Linux platform): let OS manage the binding port (specify port to 0), use pj_sockaddr_get_len() instead of sizeof() for sockaddr size, DOS eol format for certificate and private key files.
- Temporary fix for SSL_CTX_use_certificate_chain_file() false error alarm (after previous OpenSSL handshake error), by clearing OpenSSL thread error queue in reset_ssl_sock_state()
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2971 74dad513-b988-da41-8d7b-12977e46ad98
|
|
- Added features in secure socket: handshake timeout timer, certificate info, renegotiation API.
- Added unit test for secure socket, along with testing purpose certificate & private key.
- Updated build configs for secure socket.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2970 74dad513-b988-da41-8d7b-12977e46ad98
|
|
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2964 74dad513-b988-da41-8d7b-12977e46ad98
|
|
John Ridges for the reports)
- set PJ_SOL_IP, PJ_SOL_TCP, and PJ_SOL_UDP to IPPROTO_IP, IPPROTO_TCP, and IPPROTO_UDP respectively on Windows
- also added PJ_TCP_NODELAY and PJ_SO_REUSEADDR
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2946 74dad513-b988-da41-8d7b-12977e46ad98
|
|
infinite loop (thanks Roman Puls for the report)
- exception handler is now popped from the stack immediately in PJ_THROW
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2878 74dad513-b988-da41-8d7b-12977e46ad98
|
|
- 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
|
|
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2863 74dad513-b988-da41-8d7b-12977e46ad98
|
|
- fixed the concurrency problem
- also fixed ioqueue unregister test in pjlib-test
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2826 74dad513-b988-da41-8d7b-12977e46ad98
|
|
instead of timer poll.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2783 74dad513-b988-da41-8d7b-12977e46ad98
|
|
This seems to have fixed the Bus error too
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2782 74dad513-b988-da41-8d7b-12977e46ad98
|
|
- Added pj_thread_sleep(10) before calling sleep(). Tried with other ways too but this seems to be appropriate, as in the real application this shouldn't matter
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2778 74dad513-b988-da41-8d7b-12977e46ad98
|
|
pjlib-test, so there will be shortcut when installed on device.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2772 74dad513-b988-da41-8d7b-12977e46ad98
|
|
- fixed TCP recv() to use RecvOneOrMore()
- fixed activesock unit test in pjlib-test
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2771 74dad513-b988-da41-8d7b-12977e46ad98
|
|
- pj_sockaddr_parse() is unable to parse "localhost" on Symbian, so disable the test in pjlib-test
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2770 74dad513-b988-da41-8d7b-12977e46ad98
|
|
- added pj_shutdown() in pjlib-test's test.c
- refactor main_symbian.cpp (it's not been used for a while)
- compilation error/warning about initializing pj_str_t struct from non-constant value
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2769 74dad513-b988-da41-8d7b-12977e46ad98
|
|
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2743 74dad513-b988-da41-8d7b-12977e46ad98
|
|
targets (thanks Johan Lantz for the report)
- use QueryPerformanceCounter() (via pj_get_timestamp() API) to emulate the msec precision)
- more strict tests in pjlib-test
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2560 74dad513-b988-da41-8d7b-12977e46ad98
|
|
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2408 74dad513-b988-da41-8d7b-12977e46ad98
|
|
warnings with MSVC
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2407 74dad513-b988-da41-8d7b-12977e46ad98
|
|
well
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2394 74dad513-b988-da41-8d7b-12977e46ad98
|
|
(thanks Seth Hinze for the patch)
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2336 74dad513-b988-da41-8d7b-12977e46ad98
|
|
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2251 74dad513-b988-da41-8d7b-12977e46ad98
|