handle out-of-order quest downloads on proxy server

This commit is contained in:
Martin Michelsen
2024-09-17 21:56:13 -07:00
parent 79eabe5ed2
commit e6e11794b8
3 changed files with 28 additions and 23 deletions
+2 -2
View File
@@ -708,12 +708,12 @@ void ProxyServer::LinkedSession::update_channel_names() {
ProxyServer::LinkedSession::SavingFile::SavingFile(
const string& basename,
const string& output_filename,
size_t remaining_bytes,
size_t total_size,
bool is_download)
: basename(basename),
output_filename(output_filename),
is_download(is_download),
remaining_bytes(remaining_bytes) {}
total_size(total_size) {}
void ProxyServer::LinkedSession::dispatch_on_timeout(evutil_socket_t, short, void* ctx) {
reinterpret_cast<LinkedSession*>(ctx)->on_timeout();