fix GC NTE proxy behavior
This commit is contained in:
+4
-1
@@ -219,7 +219,6 @@ private:
|
||||
PrefixedLogger log;
|
||||
Channel channel;
|
||||
uint16_t local_port;
|
||||
Version version;
|
||||
struct sockaddr_storage next_destination;
|
||||
|
||||
std::shared_ptr<PSOBBMultiKeyDetectorEncryption> detector_crypt;
|
||||
@@ -242,6 +241,10 @@ private:
|
||||
std::shared_ptr<ProxyServer> require_server() const;
|
||||
std::shared_ptr<ServerState> require_server_state() const;
|
||||
|
||||
inline Version version() const {
|
||||
return this->channel.version;
|
||||
}
|
||||
|
||||
void receive_and_process_commands();
|
||||
|
||||
static void on_input(Channel& ch, uint16_t command, uint32_t flag, std::string& msg);
|
||||
|
||||
Reference in New Issue
Block a user