AtherEnergy / rumqtt

Pure rust mqtt cilent
The Unlicense
202 stars 71 forks source link

Update password while being connected #91

Closed denizs closed 5 years ago

denizs commented 6 years ago

Hey there! Is there any way to update client credentials whilst staying connected? If not, what's the way to go here? Call disconnect on the client, call set_password on client options and start a new client with the updated options? Best, D

tekjar commented 6 years ago

The current design doesn't allow this as the connect options are passed to network thread during the initial run. I'm implementing a new design with tokio (which is private now). I'll keep this feature in mind.

denizs commented 5 years ago

Closed in 0.30.1