libhttpserver
libhttpserver copied to clipboard
Fix webserver thread safety
Identify the Bug
https://github.com/etr/libhttpserver/issues/329
Description of the Change
This pull request introduces the usage of locks in the werbserver class in order to protect member variables from data races.
Alternate Designs
N/A
Possible Drawbacks
This might slightly increase response time, but should not be noticeable.
Verification Process
N/A
Release Notes
Fixed an issue where multiple threads did access webserver member variables concurrently, leading to data races.
Overall, it looks good - just a few minor comments
It looks like the PR is failing at compiling
It looks like the PR is failing at compiling
Sorry about the delay. Should be fixed now.