update proxy options

This commit is contained in:
Martin Michelsen
2024-06-23 15:55:06 -07:00
parent 9322c023da
commit 6f056cb1bd
5 changed files with 26 additions and 14 deletions
+5
View File
@@ -160,6 +160,11 @@ public:
inline uint8_t language() const {
return this->client_channel.language;
}
inline uint32_t effective_sub_version() const {
return this->config.check_flag(Client::Flag::PROXY_VIRTUAL_CLIENT)
? default_sub_version_for_version(this->version())
: this->sub_version;
}
void set_version(Version v);
void resume(