clang-format-3.5
This commit is contained in:
parent
2b769bc162
commit
0b2c139eaa
|
@ -1434,8 +1434,7 @@ SSL/TLS:
|
||||||
period. This behaviour applies to all TLS based
|
period. This behaviour applies to all TLS based
|
||||||
frontends, and TLS HTTP/2 backends.
|
frontends, and TLS HTTP/2 backends.
|
||||||
Default: )"
|
Default: )"
|
||||||
<< util::utos_with_unit(get_config()->tls_dyn_rec_warmup_threshold)
|
<< util::utos_with_unit(get_config()->tls_dyn_rec_warmup_threshold) << R"(
|
||||||
<< R"(
|
|
||||||
--tls-dyn-rec-idle-timeout=<DURATION>
|
--tls-dyn-rec-idle-timeout=<DURATION>
|
||||||
Specify TLS dynamic record size behaviour timeout. See
|
Specify TLS dynamic record size behaviour timeout. See
|
||||||
tls-dyn-rec-warmup-threshold for more information. This
|
tls-dyn-rec-warmup-threshold for more information. This
|
||||||
|
|
|
@ -500,7 +500,7 @@ const size_t SHRPX_SMALL_WRITE_LIMIT = 1300;
|
||||||
size_t Connection::get_tls_write_limit() {
|
size_t Connection::get_tls_write_limit() {
|
||||||
|
|
||||||
if (tls_dyn_rec_warmup_threshold == 0) {
|
if (tls_dyn_rec_warmup_threshold == 0) {
|
||||||
return std::numeric_limits<ssize_t>::max();
|
return std::numeric_limits<ssize_t>::max();
|
||||||
}
|
}
|
||||||
|
|
||||||
auto t = ev_now(loop);
|
auto t = ev_now(loop);
|
||||||
|
|
|
@ -114,8 +114,7 @@ HttpDownstreamConnection::HttpDownstreamConnection(
|
||||||
: DownstreamConnection(dconn_pool),
|
: DownstreamConnection(dconn_pool),
|
||||||
conn_(loop, -1, nullptr, nullptr, get_config()->downstream_write_timeout,
|
conn_(loop, -1, nullptr, nullptr, get_config()->downstream_write_timeout,
|
||||||
get_config()->downstream_read_timeout, 0, 0, 0, 0, connectcb,
|
get_config()->downstream_read_timeout, 0, 0, 0, 0, connectcb,
|
||||||
readcb, timeoutcb, this,
|
readcb, timeoutcb, this, get_config()->tls_dyn_rec_warmup_threshold,
|
||||||
get_config()->tls_dyn_rec_warmup_threshold,
|
|
||||||
get_config()->tls_dyn_rec_idle_timeout),
|
get_config()->tls_dyn_rec_idle_timeout),
|
||||||
ioctrl_(&conn_.rlimit), response_htp_{0}, group_(group), addr_idx_(0),
|
ioctrl_(&conn_.rlimit), response_htp_{0}, group_(group), addr_idx_(0),
|
||||||
connected_(false) {}
|
connected_(false) {}
|
||||||
|
|
Loading…
Reference in New Issue