From ad01deabef9d3137e181b88901c9a1609d2cb64c Mon Sep 17 00:00:00 2001 From: yangwei Date: Fri, 23 Aug 2024 17:55:02 +0800 Subject: ✨ feat(rename nouse to discard): set tcp max stream num separately MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- include/private/sapp_global_val.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/private/sapp_global_val.h b/include/private/sapp_global_val.h index 51a8152..87671a0 100644 --- a/include/private/sapp_global_val.h +++ b/include/private/sapp_global_val.h @@ -106,7 +106,9 @@ typedef struct{ int max_timeouts_per_sec; int max_opening_per_sec; int reorder_on_closing; - int fast_close_nouse; + int fast_close_discard; + int max_opening; + int max_discard; }sapp_config_stream_tcp_t; -- cgit v1.2.3