yandex / ozo

OZO is a C++17 Boost.Asio based header-only library for asyncronous communication with PostgreSQL DBMS.
PostgreSQL License
227 stars 46 forks source link

Fix absence of unwrap_connection for the transaction #259

Closed thed636 closed 4 years ago

thed636 commented 4 years ago

Problem: io_deadline_handler relays on unwrapped Connection address, for the transaction it may change during the setup of request operation context, so reference on the underlying Connection object is needed.