1
0
mirror of https://github.com/eclipse/paho.mqtt.cpp.git synced 2025-05-09 11:21:24 +08:00

#426 Update properties when moving/copying connect options.

This commit is contained in:
fpagliughi 2023-11-16 08:59:12 -05:00
parent 147554f18d
commit 5ff5484559

View File

@ -152,6 +152,10 @@ void connect_options::update_c_struct()
opts_.serverURIs = serverURIs_->c_arr();
}
// Connect Properties
opts_.connectProperties = const_cast<MQTTProperties*>(&props_.c_struct());
// HTTP & Proxy
opts_.httpProxy = c_str(httpProxy_);