Closed abhikandoi closed 6 years ago
@mpromonet any idea about this?
Hi Abhishek, Probably a concurrent access to the map. You can try reducing the number of HTTP threads of civet, adding :
options.push_back("num_threads");
options.push_back("1");
This should slow down the HTTP server request processing, but it should avoid concurrent access. Best Regards, Michel.
Since introducing mutex to protect the map, I did not reproduce this crash. I close the issue, you could open a new one if you still have the problem after this fix Best Regards Michel
On concurrently hanging up 8 streams (all of them have the same streamLabel), I get the following error:
I've added log statements to help with debugging. This is how the function
hangUp
looks like: