Resolve IP address from last curl connection and use it as address for next Octoprint upload

IP resolve only for non secure connection and on windows.
This commit is contained in:
David Kocik 2021-11-25 15:17:41 +01:00
parent 9868206eee
commit e276b70851
4 changed files with 55 additions and 1 deletions

View file

@ -44,6 +44,7 @@ private:
virtual void set_auth(Http &http) const;
std::string make_url(const std::string &path) const;
std::string make_url(const std::string& path, const std::string& addr) const;
};
class SL1Host: public OctoPrint