Default value for dpd is set twice
static void apply_default_conf(vhost_cfg_st *vhost, unsigned int reload)
{
// ...
vhost->perm_config.config->dpd = DEFAULT_DPD_TIME;
// ...
vhost->perm_config.config->dpd = 60;
// ...
}
#define DEFAULT_DPD_TIME 600
Which value is more preferable as default? 60 or 600?
I'm guessing 60 because the in sample.config it is set to 90:
dpd = 90
which is closer to 60 than 600