clang-format
This commit is contained in:
parent
2fb8c260b3
commit
0e87d464a2
|
@ -618,7 +618,7 @@ int create_tcp_server_socket(int family) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(get_config()->fastopen > 0) {
|
if (get_config()->fastopen > 0) {
|
||||||
val = get_config()->fastopen;
|
val = get_config()->fastopen;
|
||||||
if (setsockopt(fd, SOL_TCP, TCP_FASTOPEN, &val,
|
if (setsockopt(fd, SOL_TCP, TCP_FASTOPEN, &val,
|
||||||
static_cast<socklen_t>(sizeof(val))) == -1) {
|
static_cast<socklen_t>(sizeof(val))) == -1) {
|
||||||
|
@ -1244,9 +1244,7 @@ Performance:
|
||||||
and limits the maximum length for the queue of connections
|
and limits the maximum length for the queue of connections
|
||||||
that have not yet completed the three-way handshake.
|
that have not yet completed the three-way handshake.
|
||||||
If value is 0 then fast open is disabled.
|
If value is 0 then fast open is disabled.
|
||||||
Default: )"
|
Default: )" << util::utos_with_unit(get_config()->fastopen) << R"(
|
||||||
<< util::utos_with_unit(get_config()->fastopen)
|
|
||||||
<< R"(
|
|
||||||
Timeout:
|
Timeout:
|
||||||
--frontend-http2-read-timeout=<DURATION>
|
--frontend-http2-read-timeout=<DURATION>
|
||||||
Specify read timeout for HTTP/2 and SPDY frontend
|
Specify read timeout for HTTP/2 and SPDY frontend
|
||||||
|
|
Loading…
Reference in New Issue