meltwater / served

A C++11 RESTful web server library
MIT License
710 stars 173 forks source link

[WIP] Stability: Add stability test example and start multithreaded fixes #53

Open AdrianDC opened 5 years ago

AdrianDC commented 5 years ago

Served server generates random segmentation faults (SIGSEGV) upon cleanups, due to race conditions throughout the Boost ASIO io_service destructors.

The issue can be proven with the new "stability" example sources, iterating through 1000 creations of served::net::server with explicit stop() calls and through 1000 creations of served::net::server without calling stop().