From 6717b707725f07ddaf7a03bf1ff48676e480d2ca Mon Sep 17 00:00:00 2001 From: Andrew Noyes Date: Mon, 15 Sep 2025 12:32:19 -0400 Subject: [PATCH] Remove HttpConnectionState::response_queue_mutex --- src/http_handler.cpp | 2 -- src/http_handler.hpp | 1 - 2 files changed, 3 deletions(-) diff --git a/src/http_handler.cpp b/src/http_handler.cpp index ed02a70..ed18d03 100644 --- a/src/http_handler.cpp +++ b/src/http_handler.cpp @@ -68,8 +68,6 @@ void HttpHandler::on_preprocess_writes( // Process incoming responses and add to reorder queue { - std::lock_guard lock(state->response_queue_mutex); - for (auto &pending : pending_responses) { auto *ctx = static_cast(pending.protocol_context); diff --git a/src/http_handler.hpp b/src/http_handler.hpp index ad3f063..7144dff 100644 --- a/src/http_handler.hpp +++ b/src/http_handler.hpp @@ -92,7 +92,6 @@ struct HttpConnectionState { std::deque queue; // Response ordering for HTTP pipelining - std::mutex response_queue_mutex; std::map ready_responses; // sequence_id -> response data int64_t next_sequence_to_send = 0;