boostorg / mysql

MySQL C++ client based on Boost.Asio
https://www.boost.org/doc/libs/master/libs/mysql
Boost Software License 1.0
252 stars 32 forks source link

Per-operation cancellation in connection_pool #197

Open anarthal opened 8 months ago

anarthal commented 8 months ago

Per-operation cancellation for async_run and async_get_connection doesn't do the right thing. It should:

Document this.

anarthal commented 1 month ago

Now that asio::cancel_after and similar tokens exist, this is becoming more important. It may make sense to get rid of the overloads with a timeout and let cancel_after do the job.