Merge pull request #9007 from qzhuyan/perf/william/tls-buffer-defaults-2
perf(TLS): set default sndbuf and recbuf to 4K
This commit is contained in:
commit
49d1fb2b99
|
|
@ -15,7 +15,9 @@ File format:
|
||||||
|
|
||||||
- TLS listener memory usage optimization
|
- TLS listener memory usage optimization
|
||||||
new option 'hibernate_after' to hibernate TLS process after idling
|
new option 'hibernate_after' to hibernate TLS process after idling
|
||||||
|
- TLS listener default buffer size to 4KB
|
||||||
|
Eliminate uncertainty that the buffer size is set by OS default
|
||||||
|
|
||||||
## v4.3.20
|
## v4.3.20
|
||||||
|
|
||||||
### Bug fixes
|
### Bug fixes
|
||||||
|
|
|
||||||
|
|
@ -1609,14 +1609,14 @@ listener.ssl.external.ciphers = TLS_AES_256_GCM_SHA384,TLS_AES_128_GCM_SHA256,TL
|
||||||
## See: listener.tcp.$name.recbuf
|
## See: listener.tcp.$name.recbuf
|
||||||
##
|
##
|
||||||
## Value: Bytes
|
## Value: Bytes
|
||||||
## listener.ssl.external.recbuf = 4KB
|
listener.ssl.external.recbuf = 4KB
|
||||||
|
|
||||||
## The TCP send buffer(os kernel) for internal MQTT connections.
|
## The TCP send buffer(os kernel) for internal MQTT connections.
|
||||||
##
|
##
|
||||||
## See: listener.tcp.$name.sndbuf
|
## See: listener.tcp.$name.sndbuf
|
||||||
##
|
##
|
||||||
## Value: Bytes
|
## Value: Bytes
|
||||||
## listener.ssl.external.sndbuf = 4KB
|
listener.ssl.external.sndbuf = 4KB
|
||||||
|
|
||||||
## The size of the user-level software buffer used by the driver.
|
## The size of the user-level software buffer used by the driver.
|
||||||
##
|
##
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue