vertx-mqtt icon indicating copy to clipboard operation
vertx-mqtt copied to clipboard

fix MqttServer Duplicate handler name: idle

Open dushibaiyu opened this issue 6 years ago • 4 comments

When The NetServerOptions set the ' IdleTimeout'. The connection will add the name 'idle' handler before. And the mqttserver will add the same name handler too.

dushibaiyu avatar Jun 11 '18 11:06 dushibaiyu

@dushibaiyu , can you implement it in a way, as it done in the MQTT client, I mean deprecating MqttServerOptions#setIdleTimeout and delegating it to the MqttServerOptions#setTimeoutOnConnect call.

Sammers21 avatar Jun 14 '18 12:06 Sammers21

Yes。 it changed.

dushibaiyu avatar Jun 15 '18 04:06 dushibaiyu

Yes , I have fixed it.

dushibaiyu avatar Jun 15 '18 08:06 dushibaiyu

can this get merged?

hilbert-ralf avatar Apr 09 '19 14:04 hilbert-ralf