Merge commit from fork

Cap `Content-Length` at `HTTP_POST_MAX_BODY` (10 MiB) and size the
allocation to the actual body length (`content_length + 1` for
the trailing NUL).

Also fix `WS_BLOCK` units — `kws_raw_read` takes ms, set to 10000.
This commit is contained in:
Dmitry Verenitsin authored and GitHub committed 2026-05-26 22:02:42 +03:00
1 parent e3dc9950fd
commit 33ee3663bb
5 files changed
+405 -4

No files matched your search

+1
View File
@@ -6,6 +6,7 @@ noinst_PROGRAMS += switch_core_video switch_core_db switch_vad switch_packetizer
noinst_PROGRAMS += switch_stun
noinst_PROGRAMS += test_tts_format
noinst_PROGRAMS+= switch_hold switch_sip
noinst_PROGRAMS += test_mod_verto
if HAVE_PCAP
noinst_PROGRAMS += switch_rtp_pcap