aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Socket.h
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2025-09-29 14:47:36 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2025-09-29 14:47:36 +0200
commit0e45906f27f51f89326de479b7a9cb60fc2920b8 (patch)
treeb65ec00afdce0826fe32bdf5f85a3dbb563b68de /lib/Socket.h
parent87fce948967230707de283b3e7d0e833f00bfad2 (diff)
downloaddabmod-next.tar.gz
dabmod-next.tar.bz2
dabmod-next.zip
common 53fdfd2: Fix race condition in TCPDataDispatcher get_statsnext
Diffstat (limited to 'lib/Socket.h')
-rw-r--r--lib/Socket.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Socket.h b/lib/Socket.h
index 29b618a..b9a40ee 100644
--- a/lib/Socket.h
+++ b/lib/Socket.h
@@ -298,7 +298,7 @@ class TCPDataDispatcher
std::thread m_listener_thread;
TCPSocket m_listener_socket;
- std::mutex m_mutex;
+ mutable std::mutex m_mutex;
std::deque<std::vector<uint8_t> > m_preroll_queue;
std::list<TCPConnection> m_connections;
};