disassemble quests during Save Files
This commit is contained in:
@@ -675,14 +675,6 @@ ProxyServer::LinkedSession::SavingFile::SavingFile(
|
||||
is_download(is_download),
|
||||
remaining_bytes(remaining_bytes) {}
|
||||
|
||||
void ProxyServer::LinkedSession::SavingFile::write() const {
|
||||
string data = join(this->blocks);
|
||||
if (is_download && (ends_with(this->basename, ".bin") || ends_with(this->basename, ".dat"))) {
|
||||
data = decode_dlq_data(data);
|
||||
}
|
||||
save_file(this->output_filename, data);
|
||||
}
|
||||
|
||||
void ProxyServer::LinkedSession::dispatch_on_timeout(
|
||||
evutil_socket_t, short, void* ctx) {
|
||||
reinterpret_cast<LinkedSession*>(ctx)->on_timeout();
|
||||
|
||||
Reference in New Issue
Block a user