Closed tyler92 closed 1 month ago
Perfect, thanks much.
BTW, I will run some more overnight/soak tests before we take this change into master, we may do some more review etc., so it might be a few days.
Also, I’ll look at the other issue, though it’ll be next week sometime before I can.
Thanks again!
On Sat, Aug 31, 2024 at 4:16 AM tyler92 @.***> wrote:
A data race occurs when several HTTP requests are handled in parallel. Multiple threads write to the same std::unordered_map (routes) without synchronization. This could lead to memory corruption or writing to an invalid address.
Thread sanitizer report: tsan.log https://github.com/user-attachments/files/16824481/tsan.log
— Reply to this email directly, view it on GitHub https://github.com/pistacheio/pistache/issues/1238, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAFMA25UN65S6RNX44QYOL3ZUGQZTAVCNFSM6AAAAABNNZEJIGVHI2DSMVQWIX3LMV43ASLTON2WKOZSGQ4TQNZZGU2DONA . You are receiving this because you are subscribed to this thread.Message ID: @.***>
-- NOTICE: This email and its attachments may contain privileged and confidential information, only for the viewing and use of the intended recipient. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, acting upon, or use of the information contained in this email and its attachments is strictly prohibited and that this email and its attachments must be immediately returned to the sender and deleted from your system. If you received this email erroneously, please notify the sender immediately. Xage Security, Inc. and its affiliates will never request personal information (e.g., passwords, Social Security numbers) via email. Report suspicious emails to @. @.>
A data race occurs when several HTTP requests are handled in parallel. Multiple threads write to the same
std::unordered_map
(routes
) without synchronization. This could lead to memory corruption or writing to an invalid address.Full thread sanitizer report: tsan.log