35 Commits

Author SHA1 Message Date
Ciprian
5ce4855a1e
[core] Enable MSRP over IPv6
* [core] Enable MSRP over IPv6
* [core] SWITCH_SO_IPV6_V6ONLY socket option
2020-09-15 13:42:22 +04:00
Dragos Oancea
063c6f9884 [core] scan-build: Value stored to 'q' during its initialization is never read - msrp_parse_headers() 2020-02-13 18:56:07 +00:00
Ciprian
696814cb26 [Core] Disable msrp by default, only enable when listen-port or listen-ssl-port config params configured in msrp.conf 2019-10-13 21:27:58 +04:00
Andrey Volk
70831a7140 FS-12041: [Core] Fix memory leak on msrp shutdown 2019-09-07 03:10:20 +04:00
Andrey Volk
718d2341f7 FS-11952: [Core] Fix memory leaks. 2019-07-24 20:26:32 +04:00
Andrey Volk
ff30de1692 FS-11903: Fix errors reported by PVS-Studio Static Code Analyzer for switch_msrp.c 2019-07-18 19:27:57 +04:00
Seven Du
5371de231e FS-11721 refactor msrp serialize function
to be consistant with Content-Type at the end of headers if present
dynamically alloc memory to avoid buffer overflow on large message
2019-07-17 23:26:19 +04:00
Seven Du
fe53318ef4 FS-11721 fix send empty message
A request with no body MUST NOT include a Content-Type or any other
MIME-specific header fields.  A request without a body MUST contain
an end-line after the final header field.  No extra CRLF will be
present between the header section and the end-line.
2019-07-17 23:26:12 +04:00
Seven Du
daf424880a FS-11721 Content-Type must be the last header according to RFC 2019-07-17 23:25:58 +04:00
Seven Du
b23d7f277d FS-11721 add Message-ID to msrp message 2019-07-17 23:25:44 +04:00
Seven Du
76a278b03d FS-11721 fix msrp parser when more than one messages in buffer 2019-07-17 23:25:32 +04:00
Seven Du
1a95ef664b FS-11721 add a send queue to buffer msg messages before msrp socket is ready 2019-07-17 23:25:25 +04:00
Seven Du
7432091fdd FS-11721 remove extra newline in uuid_send_text and improve msrp logs 2019-07-17 23:25:18 +04:00
Hunyadvári Péter
fcc81f385e FS-11207: [core] msrp: fix init ssl 2018-11-13 18:34:18 +01:00
Andrey Volk
f0a03ca337 Revert "Merge pull request #1608 in FS/freeswitch from ~HUNYI/freeswitch:bugfix/FS-11207-sofia-msrp_worker-crash-when-initializing to master"
This reverts commit abd8b0b061465cc71d42718b724d3639f9cd662d, reversing
changes made to 102161e14d1ee4e1283c38e5d755adf739d9091a.
2018-11-13 20:47:28 +04:00
Hunyadvári Péter
0fbe46ea09 FS-11207: [core] Fix msrp_init_ssl and msrp_deinit_ssl functions, check globals.ssl_ready variable 2018-10-12 11:06:04 +02:00
Hunyadvári Péter
785ac737ca FS-11207: [core] Fix msrp_init_ssl error handling 2018-10-05 14:43:55 +02:00
Sergey Safarov
df1ab07ca4 FS-9924: Removed extra space in source files 2017-02-09 23:59:49 -05:00
Mike Jerris
60d4e87487 FS-10027: [build] fix build error on rpi2 2017-02-09 17:48:03 -06:00
Seven Du
d6b5058efa FS-9904 fix assert from the last refactor 2017-02-08 16:51:22 +08:00
Seven Du
08603c7e89 FS-9904 #resolve cleanup and refactor msrp 2017-02-07 20:41:46 +08:00
Mike Jerris
19c29ee362 FS-9903: [msrp] fix namespacing and visibility of some structs and defines for ssl private header 2017-01-03 12:46:07 -06:00
Seven Du
c1abfaf4f8 FS-9903 #resolve #comment fix server side TLS and add client TLS support 2017-01-02 18:09:47 -06:00
Seven Du
7e24a79580 FS-9903 WIP MSRP client mode support 2017-01-02 10:34:41 +08:00
Brian West
25be37bef2 FS-9749 fix undeclared identifier on windows. 2016-11-17 08:32:27 -06:00
Seven Du
f3b7105d66 FS-9638 #comment fix seg when read -1 2016-11-15 09:50:51 +08:00
Anthony Minessale
27eb116f03 FS-9638 fail when write doesn't work 2016-11-14 12:40:17 -06:00
Brian West
421edacc06 FS-9729 dont segfault if config file is misisng 2016-11-14 11:11:59 -06:00
Brian West
db50702d99 FS-9729 remove hard coded path for cert and key from msrp and add config params for it 2016-11-11 12:15:14 -06:00
Anthony Minessale
9b8a5edd3d FS-9638 2016-11-10 12:09:00 -06:00
Seven Du
11f4b3c4f7 FS-9575 fix windows build
random() is a posix ext not available on windows
2016-10-11 08:21:29 +08:00
Mike Jerris
0764d9addd FS-9581: fix msrp compile fail on windows 2016-10-07 16:13:33 -04:00
Mike Jerris
743b77c901 FS-9617: fix build error on rpi 2016-10-05 15:58:33 -04:00
Mike Jerris
1870d148ed FS-9603: include ssl headers locally so modules don't need ssl include path 2016-10-04 14:56:05 -04:00
Seven Du
7dd872e9b8 FS-9575 #resolve [Add MRCP] 2016-09-27 16:41:04 -05:00