summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authoryangwei <[email protected]>2024-08-23 17:55:02 +0800
committeryangwei <[email protected]>2024-08-23 17:55:02 +0800
commitad01deabef9d3137e181b88901c9a1609d2cb64c (patch)
tree9c2ed25306009e9f22175e8079d53054017dc8c1 /include
parent2ef4c8f3cad74fa4291129c7047a3bfdca5a3861 (diff)
✨ feat(rename nouse to discard): set tcp max stream num separately
Diffstat (limited to 'include')
-rw-r--r--include/private/sapp_global_val.h4
1 files changed, 3 insertions, 1 deletions
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;