OctoPrint upload: ignore certificate revocation checks

Fixes Hostname incorrect While test is positive (Bonjour discovery not
supported for the address field) #1781
(partial fix of #1781)
This commit is contained in:
Vojtech Bubnik 2021-08-24 11:24:48 +02:00
parent 0b654e1518
commit 6b03b66167
7 changed files with 35 additions and 3 deletions

View file

@ -396,6 +396,7 @@ void PhysicalPrinterDialog::build_printhost_settings(ConfigOptionsGroup* m_optgr
m_optgroup->append_line(cafile_hint);
}
else {
Line line{ "", "" };
line.full_width = 1;
@ -411,8 +412,14 @@ void PhysicalPrinterDialog::build_printhost_settings(ConfigOptionsGroup* m_optgr
sizer->Add(txt, 1, wxEXPAND);
return sizer;
};
m_optgroup->append_line(line);
#ifdef WIN32
option = m_optgroup->get_option("printhost_ignore_check");
option.opt.width = Field::def_width_wider();
m_optgroup->append_single_option_line(option);
#endif
}
for (const std::string& opt_key : std::vector<std::string>{ "printhost_user", "printhost_password" }) {