stephenberry / glaze

Extremely fast, in memory, JSON and interface library for modern C++
MIT License
1.23k stars 123 forks source link

Asio improvements #1444

Closed stephenberry closed 20 hours ago

stephenberry commented 1 day ago

Adding a run_async option for the glz::asio_server and simplifying the stop() method (removing unnecessary thread).

glz::asio_client::init() now returns a repe::error_t for consistency

Removed exceptions from send_buffer and receive_buffer

Also fixes/hides a number of MSVC warnings.

stephenberry commented 21 hours ago

Note that MSVC build is broken due to an MSVC bug in 17.12.1 that I reported and was fixed last night, but has not been released yet.