sauwming
5c1fa437cc
Add checks and assertion if PJSIP string length is negative ( #2783 )
2021-08-09 11:11:32 +08:00
Nanang Izzuddin
8813fe2520
Re #2760 : Fix documentation of pj_grp_lock_create(), group lock reference counter is initialized with zero instead of one (thanks to Cameron Pickett for the report).
2021-07-08 13:47:10 +07:00
Riza Sulistyo
801484823c
Changed version to 2.11-dev
2021-03-17 15:51:36 +07:00
Riza Sulistyo
842b4ba27d
Changed version to 2.11
2021-03-17 14:34:46 +07:00
Nanang Izzuddin
2a0095175f
Supporting mingw-w64 ( #2598 )
2020-12-10 15:50:56 +07:00
Riza Sulistyo
c6e9af5f5a
Server Name Indication on TLS doesn't allow IP literal. ( #2539 )
...
* Server Name Indication on TLS doesn't allow IP literal.
* moved hostname check to SSL backend.
* Remove unwanted changes to the file.
2020-10-12 14:23:43 +07:00
sauwming
fb8a7772ef
Apple SSL backend using Network framework ( #2482 )
2020-09-29 11:31:01 +08:00
Nanang Izzuddin
0157ddcda3
Update default setting for CFHost for getaddrinfo: from enabled to disabled. ( #2526 )
2020-09-29 10:05:09 +07:00
Riza Sulistyo
40dd48d109
Modify timer_id check on cancel() ( #2463 )
...
* modify timer_id check on cancel().
* modification based on comments.
2020-07-09 17:47:24 +07:00
sauwming
95c29aa1d2
Avoid undefinition of standard macros s_addr and s6_addr ( #2423 )
2020-05-06 09:38:26 +08:00
Alexey Kuznetsov
741bb0ced8
Dispatch semaphores on Darwin ( #2351 ) ( #2411 )
...
Dispatch semaphore is a more modern semaphore implementation on Apple
platforms. Apple claims it is more efficient. A call down to kernel is
only needed when the calling thread needs to be blocked.
Dispatch semaphores work in sandboxed Mac apps, but POSIX semaphores
don't.
2020-04-30 16:03:31 +08:00
sauwming
558922fc3f
Suppressed various compilation warnings ( #2410 )
...
Such as:
- conversion from string literal to 'char *' warning
- format-truncation warning
Co-authored-by: nanangizz <nanang@teluu.com>
2020-04-29 15:11:26 +08:00
Riza Sulistyo
7224dd44b5
Add thread locking callback when using OpenSSL. ( #2336 )
...
* Add thread locking callback when using OpenSSL.
* Don't use ssl socket's pool.
* move clear thread callback method using pj_atexit().
* revert unecessary changes and define new var as static.
* modification based on comments on PR.
* Add cleanup when initialization fail.
* Don't uninstall the thread callback if pj_atexit() fail.
2020-04-29 12:51:39 +07:00
sauwming
98f70c210f
Add more CI tests on Ubuntu and Mac ( #2329 )
2020-03-10 16:45:54 +08:00
Nanang Izzuddin
4fa33725bd
Add TLS proto for TLS 1.3
2020-02-21 18:07:04 +07:00
mingteluu
c8927c65de
Changed version to 2.10-dev
2020-02-14 17:08:22 +07:00
mingteluu
e5943ba8ea
Changed version to 2.10
2020-02-14 16:47:41 +07:00
Riza Sulistyo
dd627bc809
Close #2249 : Use sorted linked list for timer implementation.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6099 74dad513-b988-da41-8d7b-12977e46ad98
2019-11-06 06:17:53 +00:00
Sauw Ming
a49822da70
Fixed #2225 : Timer heap refactoring
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6058 74dad513-b988-da41-8d7b-12977e46ad98
2019-09-03 02:10:45 +00:00
Nanang Izzuddin
3029598af6
Close #2217 : Omit deprecated IPv6 addresses from ICE candidates.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6045 74dad513-b988-da41-8d7b-12977e46ad98
2019-07-26 09:32:14 +00:00
Nanang Izzuddin
3fd1a9ab6c
Changed version to 2.9-svn
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6031 74dad513-b988-da41-8d7b-12977e46ad98
2019-06-13 10:41:49 +00:00
Nanang Izzuddin
598ff92e45
Changed version to 2.9
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6029 74dad513-b988-da41-8d7b-12977e46ad98
2019-06-13 08:56:16 +00:00
Riza Sulistyo
765e804fda
Close #1017 : TURN TLS transport implementation.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@6004 74dad513-b988-da41-8d7b-12977e46ad98
2019-05-24 03:32:17 +00:00
Nanang Izzuddin
754372cdab
Close #2179 : Wipe out memory used for storing SSL keys before released.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5990 74dad513-b988-da41-8d7b-12977e46ad98
2019-05-15 02:43:01 +00:00
Nanang Izzuddin
10e1d23c37
Re #1298 : Updated PJLIB to use PJ_ERROR consistently.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5980 74dad513-b988-da41-8d7b-12977e46ad98
2019-05-09 04:35:41 +00:00
Nanang Izzuddin
4ad9acd150
Fixed #2191 :
...
- Stricter double timer entry scheduling prevention.
- Integrate group lock in SIP transport, e.g: for add/dec ref, for timer scheduling.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5971 74dad513-b988-da41-8d7b-12977e46ad98
2019-04-23 08:42:45 +00:00
Sauw Ming
6b9212dcb4
Fixed #2180 : Refactoring SSL socket backend implementations
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5938 74dad513-b988-da41-8d7b-12977e46ad98
2019-03-04 09:47:25 +00:00
Riza Sulistyo
e5bc0e68b9
Close #2150 : Add new callback to notify when accept operation fails on TLS
...
listener.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5885 74dad513-b988-da41-8d7b-12977e46ad98
2018-09-18 12:07:50 +00:00
Riza Sulistyo
ea92c3b7d6
Changed version to 2.8-svn
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5881 74dad513-b988-da41-8d7b-12977e46ad98
2018-09-05 09:07:16 +00:00
Riza Sulistyo
67a79f0375
Changed version to 2.8
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5879 74dad513-b988-da41-8d7b-12977e46ad98
2018-09-05 03:40:41 +00:00
Riza Sulistyo
696a919a31
Close #2070 : Print IPv6 addresses with brackets.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5833 74dad513-b988-da41-8d7b-12977e46ad98
2018-07-23 07:15:08 +00:00
Riza Sulistyo
6844393258
Close #484 : Allow to use binary certificate in TLS transport.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5821 74dad513-b988-da41-8d7b-12977e46ad98
2018-07-15 14:09:23 +00:00
Nanang Izzuddin
c777dd8c89
Re #2082 : For MSVC backward compatibility, set PJ_SSL_SOCK_IMP to PJ_SSL_SOCK_IMP_OPENSSL by default when PJ_HAS_SSL_SOCK is set.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5732 74dad513-b988-da41-8d7b-12977e46ad98
2018-01-24 03:42:35 +00:00
Sauw Ming
c4279ec635
Re #2082 : Initial implementation of GnuTLS support.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5725 74dad513-b988-da41-8d7b-12977e46ad98
2018-01-15 08:52:29 +00:00
Nanang Izzuddin
9353a01e78
Misc (re #2059 ): Configurable number of socket options (PJ_MAX_SOCKOPT_PARAMS macro).
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5719 74dad513-b988-da41-8d7b-12977e46ad98
2018-01-05 09:48:31 +00:00
Sauw Ming
cfe26bd049
Re #2074 : Revert the default sample Android setting to use separate worker threads, since it doesn't seem to fix the problem.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5715 74dad513-b988-da41-8d7b-12977e46ad98
2017-12-18 03:42:18 +00:00
Nanang Izzuddin
fb12b9497c
Fixed #2074 : Introduced compile time setting PJSUA_SEPARATE_WORKER_FOR_TIMER to allow separate polling for timer events and network events.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5712 74dad513-b988-da41-8d7b-12977e46ad98
2017-12-12 07:44:09 +00:00
Sauw Ming
5b52b9b2e8
Re #2062 : Remove deprecated Linux kernel implementation
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5692 74dad513-b988-da41-8d7b-12977e46ad98
2017-11-13 06:06:25 +00:00
Sauw Ming
3785e35cf0
Changed version to 2.7.1-svn
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5685 74dad513-b988-da41-8d7b-12977e46ad98
2017-11-08 03:47:34 +00:00
Sauw Ming
0c548deeff
Changed version to 2.7.1
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5683 74dad513-b988-da41-8d7b-12977e46ad98
2017-11-08 03:03:22 +00:00
Riza Sulistyo
37f0826f9f
Closed #2056 : Add validity checking for numeric header values.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5682 74dad513-b988-da41-8d7b-12977e46ad98
2017-11-08 02:58:18 +00:00
Sauw Ming
54b3ab3544
Changed version to 2.7-svn
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5663 74dad513-b988-da41-8d7b-12977e46ad98
2017-09-25 09:24:08 +00:00
Sauw Ming
f5a1fbfc84
Changed version to 2.7
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5661 74dad513-b988-da41-8d7b-12977e46ad98
2017-09-25 04:20:21 +00:00
Nanang Izzuddin
075ed502b7
Close #2044 : Compile time setting for QoS using IP_TOS/IPV6_TCLASS on Darwin OS
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5658 74dad513-b988-da41-8d7b-12977e46ad98
2017-09-25 02:25:39 +00:00
Sauw Ming
e34fa7ed5e
Fixed #2032 : NAT64 support for IPv4 interoperability
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5636 74dad513-b988-da41-8d7b-12977e46ad98
2017-08-02 02:51:59 +00:00
Riza Sulistyo
5339d9f98a
Fixed #2019 : Conflict with 'isblank' when using g++ 5.4.0. Thanks to Ken Mastro
...
for the report and suggested fix.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5599 74dad513-b988-da41-8d7b-12977e46ad98
2017-06-05 03:31:18 +00:00
Sauw Ming
394279af15
Re #1994 (misc): Make the log's sender and thread width a compile-time configurable setting.
...
Thanks to Richard Mudgett for the suggestion.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5554 74dad513-b988-da41-8d7b-12977e46ad98
2017-02-20 00:57:15 +00:00
Nanang Izzuddin
a8d4778494
Changed version to 2.6-svn
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5552 74dad513-b988-da41-8d7b-12977e46ad98
2017-01-26 03:47:58 +00:00
Nanang Izzuddin
6708aa8be6
Changed version to 2.6
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5550 74dad513-b988-da41-8d7b-12977e46ad98
2017-01-26 02:29:59 +00:00
Nanang Izzuddin
8e9b1a9d42
Misc (re #1945 ): Automatically define macro PJ_ANDROID=1 on Android platforms (previously should be defined manually via config_site_sample.h or config_site.h).
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5543 74dad513-b988-da41-8d7b-12977e46ad98
2017-01-24 05:36:50 +00:00