kansifang / moquette-mqtt

Automatically exported from code.google.com/p/moquette-mqtt
Apache License 2.0
0 stars 0 forks source link

Client cant't get PingResp until it is time out #20

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
NettyMQTTHandler 

line 55: ctx.write(pingResp);

should be: ctx.writeAndFlush(pingResp);

Original issue reported on code.google.com by shimon.xin@gmail.com on 3 Jan 2014 at 3:56

GoogleCodeExporter commented 9 years ago
http://netty.io/wiki/new-and-noteworthy-in-4.x.html 

write() does not flush automatically

Original comment by shimon.xin@gmail.com on 9 Jan 2014 at 4:43

GoogleCodeExporter commented 9 years ago

Original comment by selva.an...@gmail.com on 10 Jan 2014 at 9:46