mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
These changes are necessary to support the Universal port feature. Synopsis: * Persist HTTP peer io_service::work lifetime: This simplification eliminates any potential for bugs caused by incorrect lifetime management of the io_service::work object. * Restructure Door to prevent data races, and handle clean exit: The Server, Door, Door::detector, and Peer objects work together to correctly implement graceful stop and destructors that block until all child objects have been destroyed. Cleanups: * De-pimpl HTTP::Server * Rename ServerImpl data members * Tidy up HTTP::Port interface