Skip to content

Commit

Permalink
fix upload queue bug
Browse files Browse the repository at this point in the history
  • Loading branch information
mmmray committed Sep 1, 2024
1 parent b388bc8 commit 13ab9d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/splithttp/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -180,8 +180,8 @@ async fn up_handler(
if let Err(e) = upload_socket.raw_writer.write_all(&packet.data).await {
tracing::debug!("failed to write to closed upstream: {e}");
}
}

upload_socket.next_seq = packet.seq + 1;
upload_socket.next_seq = packet.seq + 1;
}
}
}

0 comments on commit 13ab9d8

Please sign in to comment.