Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion include/iocore/net/TLSSNISupport.h
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ class TLSSNISupport
ClientHelloContainer _chc;
#if HAVE_SSL_CTX_SET_CLIENT_HELLO_CB
int *_ext_ids = nullptr;
size_t _ext_len;
size_t _ext_len{0};
#endif
};

Expand Down
18 changes: 9 additions & 9 deletions include/proxy/HostStatus.h
Original file line number Diff line number Diff line change
Expand Up @@ -99,17 +99,17 @@ struct HostStatuses {

// host status POD
struct HostStatRec {
TSHostStatus status;
unsigned int reasons;
TSHostStatus status{TSHostStatus::TS_HOST_STATUS_INIT};
unsigned int reasons{0};
// time the host was marked down for a given reason.
time_t active_marked_down;
time_t local_marked_down;
time_t manual_marked_down;
time_t self_detect_marked_down;
time_t active_marked_down{0};
time_t local_marked_down{0};
time_t manual_marked_down{0};
time_t self_detect_marked_down{0};
// number of seconds that the host should be marked down for a given reason.
unsigned int active_down_time;
unsigned int local_down_time;
unsigned int manual_down_time;
unsigned int active_down_time{0};
unsigned int local_down_time{0};
unsigned int manual_down_time{0};

HostStatRec();
HostStatRec(std::string str);
Expand Down
2 changes: 1 addition & 1 deletion include/proxy/http/HttpTunnel.h
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ struct ChunkedHandler {
//@{
/// The maximum chunk size.
/// This is the preferred size as well, used whenever possible.
int64_t max_chunk_size;
int64_t max_chunk_size{DEFAULT_MAX_CHUNK_SIZE};
/// Caching members to avoid using printf on every chunk.
/// It holds the header for a maximal sized chunk which will cover
/// almost all output chunks.
Expand Down
22 changes: 11 additions & 11 deletions include/proxy/http/HttpVCTable.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,17 +41,17 @@ enum class HttpVC_t {
};

struct HttpVCTableEntry {
VConnection *vc;
MIOBuffer *read_buffer;
MIOBuffer *write_buffer;
VIO *read_vio;
VIO *write_vio;
HttpSMHandler vc_read_handler;
HttpSMHandler vc_write_handler;
HttpVC_t vc_type;
HttpSM *sm;
bool eos;
bool in_tunnel;
VConnection *vc{nullptr};
MIOBuffer *read_buffer{nullptr};
MIOBuffer *write_buffer{nullptr};
VIO *read_vio{nullptr};
VIO *write_vio{nullptr};
HttpSMHandler vc_read_handler{};
HttpSMHandler vc_write_handler{};
HttpVC_t vc_type{HttpVC_t::UNKNOWN};
HttpSM *sm{nullptr};
Comment thread
bryancall marked this conversation as resolved.
bool eos{false};
bool in_tunnel{false};
};

struct HttpVCTable {
Expand Down
2 changes: 1 addition & 1 deletion plugins/experimental/cache_fill/configs.cc
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ BgFetchConfig::readConfig(const char *config_file)
swoc::bwprint(ts::bw_dbg, "adding background_fetch address range rule {} for {}: {}", exclude, cfg_name, cfg_value);
Dbg(dbg_ctl, "%s", ts::bw_dbg.c_str());
} else if ("Content-Length"_tv == cfg_name) {
BgFetchRule::size_cmp_type::OP op;
BgFetchRule::size_cmp_type::OP op{BgFetchRule::size_cmp_type::LESS_THAN_OR_EQUAL};
if (cfg_value[0] == '<') {
op = BgFetchRule::size_cmp_type::LESS_THAN_OR_EQUAL;
} else if (cfg_value[0] == '>') {
Expand Down
2 changes: 1 addition & 1 deletion plugins/experimental/txn_box/plugin/src/Ex_Base.cc
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ Ex_txn_conf::validate(Config &cfg, Spec &spec, const TextView &arg)
Feature
Ex_txn_conf::extract(Context &ctx, const Extractor::Spec &spec)
{
Feature zret{};
Feature zret{NIL_FEATURE};
auto var = spec._data.span.rebind<store_type>()[0];
auto &&[value, errata] = ctx._txn.override_fetch(*var);
if (errata.is_ok()) {
Expand Down
Loading