1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-02-13 03:41:55 +00:00
srs/trunk
Winlin 900c4cdd97 DTLS: Use bio callback to get fragment packet. v5.0.156, v6.0.47 (#3565)
1. The MTU is effective, with the certificate being split into two DTLS records to comply with the limit.
2. The issue occurs when using BIO_get_mem_data, which retrieves all DTLS packets in a single call, even though each is smaller than the MTU.
3. An alternative callback is available for using BIO_new with BIO_s_mem.
4. Improvements to the MTU setting were made, including adding the DTLS_set_link_mtu function and removing the SSL_set_max_send_fragment function.
5. The handshake process was refined, calling SSL_do_handshake only after ICE completion, and using SSL_read to handle handshake messages.
6. The session close code was improved to enable immediate closure upon receiving an SSL CloseNotify or fatal message.

------

Co-authored-by: chundonglinlin <chundonglinlin@163.com>
2023-06-05 10:54:57 +08:00
..
3rdparty API: Support HTTP basic authentication for API. v6.0.4, v5.0.152 (#3458) 2023-04-01 12:48:33 +08:00
auto WebRTC: Support configure CANDIDATE by env (#3470) 2023-03-27 19:25:20 +08:00
conf API: Support HTTP basic authentication for API. v6.0.4, v5.0.152 (#3458) 2023-04-01 12:48:33 +08:00
doc DTLS: Use bio callback to get fragment packet. v5.0.156, v6.0.47 (#3565) 2023-06-05 10:54:57 +08:00
etc/init.d Squash: Fix bugs 2022-01-13 18:26:28 +08:00
gdb ST: Support show coroutines. 2020-12-10 11:36:24 +08:00
ide/srs_clion Disable CLS and APM by default. v5.0.101 2022-12-03 18:35:41 +08:00
modules Moduels: Refine the description 2021-04-21 11:18:35 +08:00
packaging Windows: Refine cygwin pipeline (#3260) 2022-11-21 14:32:26 +08:00
research Support the publishing of RTP plaintext packets using WHIP. v5.0.155 2023-05-14 12:50:35 +08:00
scripts Package script support extra options. v5.0.102 2022-12-03 18:56:21 +08:00
src DTLS: Use bio callback to get fragment packet. v5.0.156, v6.0.47 (#3565) 2023-06-05 10:54:57 +08:00
usr/lib/systemd/system Squash: Support RPM. Fix bugs. 2021-11-04 07:37:17 +08:00
.gitignore For #2136: API: Cleanup no active streams for statistics. v5.0.42 2022-08-19 19:45:19 +08:00
AUTHORS.md Update new authors. 2022-12-31 12:22:05 +08:00
AUTHORS.txt Update AUTHORS 2021-08-25 07:43:35 +08:00
configure FFmpeg: Support build with FFmpeg native opus. v5.0.131 (#3140) 2023-01-06 17:44:00 +08:00
Dockerfile Rename SRS_SRS_LOG_TANK to SRS_LOG_TANK. #3410 2023-02-13 11:35:06 +08:00
Dockerfile.builds Disable CLS and APM by default. v5.0.101 2022-12-03 18:35:41 +08:00
Dockerfile.cov GB28181: Enable regression test for gb28181. v5.0.122 2022-12-31 19:36:49 +08:00
Dockerfile.pkg GB28181: Enable GB for CentOS 7 package. v5.0.103 2022-12-03 18:56:55 +08:00
Dockerfile.test GB28181: Enable regression test for gb28181. v5.0.122 2022-12-31 19:36:49 +08:00