Loading client_http.hpp +5 −0 Original line number Diff line number Diff line Loading @@ -507,8 +507,13 @@ namespace SimpleWeb { } else { parsed_host_port.first = host_port.substr(0, host_end); try { parsed_host_port.second = static_cast<unsigned short>(stoul(host_port.substr(host_end + 1))); } catch(...) { parsed_host_port.second = default_port; } } return parsed_host_port; } Loading Loading
client_http.hpp +5 −0 Original line number Diff line number Diff line Loading @@ -507,8 +507,13 @@ namespace SimpleWeb { } else { parsed_host_port.first = host_port.substr(0, host_end); try { parsed_host_port.second = static_cast<unsigned short>(stoul(host_port.substr(host_end + 1))); } catch(...) { parsed_host_port.second = default_port; } } return parsed_host_port; } Loading