summaryrefslogtreecommitdiff
path: root/pjlib/src
AgeCommit message (Collapse)Author
2015-11-06Close #1894: Improve ioqueue performance on multithreadeded environment.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5194 74dad513-b988-da41-8d7b-12977e46ad98
2015-08-25Re #1881: Fixed compile warnings on VS2015 about declaration hides previous ↵Nanang Izzuddin
declaration. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5170 74dad513-b988-da41-8d7b-12977e46ad98
2015-08-05Fixed #1874: Truncated IPv6 address during address lookup on iOSLiong Sauw Ming
Thanks to Brian Walker for the patch. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5146 74dad513-b988-da41-8d7b-12977e46ad98
2015-06-25Fixed #1862: Crash on iOS when destroying an activesock and creating a new ↵Liong Sauw Ming
one at the same time Thanks to Itay Bianco for the report. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5119 74dad513-b988-da41-8d7b-12977e46ad98
2015-05-12Re #1843 (misc): Fixed incorrect memcpy size in sock_common (thanks to ↵Liong Sauw Ming
Richard Mudgett for the patch and Joshua Colp for the report) If an IPv6 UDP transport is configured with a link-local address, say fe80::21c:c0ff:fe4e:1a9e%eth0, which is an invalid format for an IPv6 address, it may cause crash. The invalid format causes pjproject to use an incorrect size parameter with memcpy(). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5092 74dad513-b988-da41-8d7b-12977e46ad98
2015-05-07Close #1849: Enabled multiple TLS certificate chains (RSA+ECC+DSA) for ↵Nanang Izzuddin
server socket. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5087 74dad513-b988-da41-8d7b-12977e46ad98
2015-05-05Misc (re #1843): Fixed compile warnings on pjlib SSL socket with BoringSSL ↵Nanang Izzuddin
backend (thanks Alexander Traud for the patch). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5083 74dad513-b988-da41-8d7b-12977e46ad98
2015-04-27Re #1843: Enable OpenSSL to use legacy certificates(1024 bit root ↵Riza Sulistyo
certificate) send by server. This is supported on OpenSSL 1.0.2. Thanks to Alexander Traud for the patch. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5080 74dad513-b988-da41-8d7b-12977e46ad98
2015-04-23Fixed #1846: Update to use 'HIGH' ciphers as default in OpenSSLLiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5078 74dad513-b988-da41-8d7b-12977e46ad98
2015-04-23Fixed #1845: Add support if OpenSSL library has more than 100 cipher suitesLiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5076 74dad513-b988-da41-8d7b-12977e46ad98
2015-04-22Re #1843:Liong Sauw Ming
Support compilation with OpenSSL without OpenSSLv3 support Thanks to Alexander Traud for the patch. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5074 74dad513-b988-da41-8d7b-12977e46ad98
2015-04-10Misc (re #1782): Suppress compile warnings on MSVC.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5060 74dad513-b988-da41-8d7b-12977e46ad98
2015-04-02Re #1782 (misc): Fixed activesock's lock msg w.r.t iOS background to be more ↵Liong Sauw Ming
precise. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5044 74dad513-b988-da41-8d7b-12977e46ad98
2015-03-22Fixed #1827: Video port's clock thread may get stuck during format change eventLiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5012 74dad513-b988-da41-8d7b-12977e46ad98
2015-03-06Fixed #1821: Remove unnecessary locking in pjsip transaction and add new API ↵Liong Sauw Ming
to create a group lock with handler in a single atomic instruction git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4992 74dad513-b988-da41-8d7b-12977e46ad98
2015-03-06Re #1782 (misc): Suppress Helgrind's warning about possible data race when ↵Liong Sauw Ming
doing ioq select. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4991 74dad513-b988-da41-8d7b-12977e46ad98
2015-03-05Re #1782 (misc): Fixed unitialized mutex owner variable when creating mutexLiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4990 74dad513-b988-da41-8d7b-12977e46ad98
2015-01-15Close #1810: Adding CA path support into SSL socket.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4973 74dad513-b988-da41-8d7b-12977e46ad98
2015-01-05Re #1782 (misc): Change assert check of ssl_state to non assert check on ↵Riza Sulistyo
OpenSSL wrapper implementation. (thanks to Joshua Colp for the suggestion) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4972 74dad513-b988-da41-8d7b-12977e46ad98
2014-12-18Re #1806: Implement SSL/TLS setting to set protocol operation.Riza Sulistyo
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4968 74dad513-b988-da41-8d7b-12977e46ad98
2014-09-23Fixed #1792: Create generic JNI OnLoad functionLiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4927 74dad513-b988-da41-8d7b-12977e46ad98
2014-09-01Misc (re #1751): fixed printing value issue when using %02X format. (Thanks ↵Riza Sulistyo
Itay Bianco for the report). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4910 74dad513-b988-da41-8d7b-12977e46ad98
2014-08-26Misc (re #1751): Avoid confusion caused by double variable declaration. ↵Riza Sulistyo
(Thanks Itay Bianco for the report). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4905 74dad513-b988-da41-8d7b-12977e46ad98
2014-08-22Misc (re #1751): Suppress compile warnings of OpenSSL deprecation on MacOSX.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4901 74dad513-b988-da41-8d7b-12977e46ad98
2014-08-20Misc re #1751: disable one pjlib-test entry on socket address parsingBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4894 74dad513-b988-da41-8d7b-12977e46ad98
2014-08-19Re #1751: fixed miscellaneous gcc warningsBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4890 74dad513-b988-da41-8d7b-12977e46ad98
2014-07-07Re #1765: Riza Sulistyo
- Fixed unnecessary white-space error - Limiting log message to servers - Adding SSL_OP_SINGLE_ECDH_USE optionally - OpenSSL could be built without elliptic curve support, or too old git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4871 74dad513-b988-da41-8d7b-12977e46ad98
2014-07-02Closed #1775: Changing OpenSSL default method from TLSv1 to SSLv23 to enable ↵Benny Prijono
enable AES-GCM cipher suites in default (thanks Alexander Traud for the patch). Also fixed a bug in SIP TLS transport (sip_transport_tls.c). According to [https://trac.pjsip.org/repos/browser/pjproject/trunk/pjsip/include/pjsip/sip_transport_tls.h#L94 sip_transport_tls.h:94], when PJSIP_SSL_UNSPECIFIED_METHOD is set as method, PJSIP_SSL_DEFAULT_METHOD will be used. But the implementation uses PJ_SSL_SOCK_PROTO_DEFAULT instead of PJSIP_SSL_DEFAULT_METHOD. Currently this is fine because both resolve to TLSv1, but the patch will break it. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4869 74dad513-b988-da41-8d7b-12977e46ad98
2014-06-19Fix #1773: Added group lock to SIP transport to avoid race condition between ↵Nanang Izzuddin
transport callback and destroy. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4862 74dad513-b988-da41-8d7b-12977e46ad98
2014-06-19Re #1771: Implement run-time configuration to set specific socket option.Riza Sulistyo
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4860 74dad513-b988-da41-8d7b-12977e46ad98
2014-06-06Misc (re #1751): fixed error when retrieving SSL error. Thanks Vittorio ↵Benny Prijono
Giovara for the patch git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4858 74dad513-b988-da41-8d7b-12977e46ad98
2014-06-04Misc (re #1751): invalidate timer entry for every cancel() scenario to avoid ↵Benny Prijono
assertion next time the entry is scheduled if cancellation fails (thanks Johan Lantz for the report) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4855 74dad513-b988-da41-8d7b-12977e46ad98
2014-05-23Misc (re #1751): Fixed AF_INET should be PJ_AF_INET in sock_common.c (thanks ↵Nanang Izzuddin
Lars Helgeson for the report). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4850 74dad513-b988-da41-8d7b-12977e46ad98
2014-05-02Fixed #1765: Add PFS supportLiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4832 74dad513-b988-da41-8d7b-12977e46ad98
2014-04-30Fixed #1763: Add pj_ssl_cipher_id() APILiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4829 74dad513-b988-da41-8d7b-12977e46ad98
2014-03-10Re #1745 (Shared lib on MinGW): Fixed multiple definition of ↵Nanang Izzuddin
pj_time_decode/encode(). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4784 74dad513-b988-da41-8d7b-12977e46ad98
2014-02-24Re #1680: Fixed compile warnings on VS2005 for x64/win64 config.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4761 74dad513-b988-da41-8d7b-12977e46ad98
2014-02-04Misc (re #1630): Fixing warnings about variable set but not used with recent gccBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4728 74dad513-b988-da41-8d7b-12977e46ad98
2014-01-31Misc (re #1630): Fixed some more typos in the codes.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4724 74dad513-b988-da41-8d7b-12977e46ad98
2014-01-23Misc (re #1630): Fixed symbols that should not be exported (thanks Tzafrir ↵Nanang Izzuddin
Cohen for the patch). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4713 74dad513-b988-da41-8d7b-12977e46ad98
2014-01-23Misc (re #1630): Fixed GCC build warnings (thanks Tzafrir Cohen for the patch).Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4712 74dad513-b988-da41-8d7b-12977e46ad98
2014-01-16Closed #1723: Merging pjsua2 branch into trunkLiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4704 74dad513-b988-da41-8d7b-12977e46ad98
2013-10-21Re #1630 (misc):Liong Sauw Ming
Fixed compiler warnings. Thanks to Mark Michelson for the patch. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4624 74dad513-b988-da41-8d7b-12977e46ad98
2013-10-08Re #1703: fixing general bugs. First installment: correct handling of ↵Benny Prijono
snprintf return value git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4613 74dad513-b988-da41-8d7b-12977e46ad98
2013-10-03Re #1697: Add device info in pj_get_sys_info() and set default clock rate ↵Liong Sauw Ming
for iPhone 5 running iOS7 to 44100Hz git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4610 74dad513-b988-da41-8d7b-12977e46ad98
2013-09-25Misc (re #1630): Fixed compile warning of assigning var to itself.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4601 74dad513-b988-da41-8d7b-12977e46ad98
2013-07-19Closed #1690: Assertion in timer in SIP transaction: Timer being rescheduled ↵Benny Prijono
when already running git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4567 74dad513-b988-da41-8d7b-12977e46ad98
2013-07-02Re #1680:Riza Sulistyo
- 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
2013-06-19Close #1681:Nanang Izzuddin
- Added compile-time settings PJMEDIA_TRANSPORT_SO_RCVBUF_SIZE and PJMEDIA_TRANSPORT_SO_SNDBUF_SIZE. The default values are both 64 KB when PJMEDIA_HAS_VIDEO is set, otherwise just zero (socket buffer size uses OS default). The settings will be applied to media transport UDP and ICE. - Also added run-time settings so_sndbuf_size and so_rcvbuf_size into ICE stream transport, STUN socket, and TURN socket. Default values are all zero. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4538 74dad513-b988-da41-8d7b-12977e46ad98
2013-06-19Re #1680: Add initial support for Win64Riza Sulistyo
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4537 74dad513-b988-da41-8d7b-12977e46ad98