diff --git a/include/async_mqtt5/impl/client_service.hpp b/include/async_mqtt5/impl/client_service.hpp index 083f89b..b70dfe8 100644 --- a/include/async_mqtt5/impl/client_service.hpp +++ b/include/async_mqtt5/impl/client_service.hpp @@ -161,6 +161,7 @@ public: _stream_context(std::move(tls_context)), _stream(ex, _stream_context), _async_sender(*this), + _active_span(_read_buff.cend(), _read_buff.cend()), _rec_channel(ex, 128) {}