Sebastiano Merlino
Sebastiano Merlino
@EverydayDiesel you should already be able to access the ip address of the requester using the `get_requestor` method from the http_request; see: https://github.com/etr/libhttpserver#parsing-requests
This is getting off topic from what this thread was about, so if you need further info on how to use the APIs, please open a separate one or use...
> I like my projects to be cloned and my ide to auto compile everything for me and not having to do manually compile libraries and making sure they get...
Overall, it looks good - just a few minor comments
It looks like the PR is failing at compiling
I am trying to understand the effect of a data race in this case before we add locks, which I am actively trying to keep the main response flow free...
> The underlying std::map implementation is usually based on red-black trees. This means that an insertion might trigger a re-balancing operation that will modify the internal structure of the tree....
As said above, data races are not an issue. Race conditions are. Data races can indeed happen (as you say), but they don't matter in the use case of this...
Did you run the bootstrap script first before running configure? see: https://github.com/etr/libhttpserver#building
@bcsgh I think your change fixes this issue, right?