Results 358 comments of Takatoshi Kondo

I understand. I think that it is useful that the default store inherit clean options of the client too.

For your information. I personally passing stores to the client. Both the stores and the client have the same clean flag. The reason I do that is keeping the session...

@jedwards1211 See the following test case: https://github.com/mqttjs/MQTT.js/blob/4bd3f3c7e0180646e38d2acc490d511c0547e556/test/abstract_client.js#L2825-L2869 `incomingStore` and `outgoingStore` can be passed from the outside of the client. And they have clean flag. If it set false, then the...

The test case code set force option true when end() calling. https://github.com/mqttjs/MQTT.js/blob/4bd3f3c7e0180646e38d2acc490d511c0547e556/test/abstract_client.js#L2840 In order to send DISCONNECT packet, you need to set force flag to false. https://github.com/mqttjs/MQTT.js/blob/d8be59eba419d65ad2f46734623fd91ec437d6e2/lib/client.js#L861 https://github.com/mqttjs/MQTT.js/blob/d8be59eba419d65ad2f46734623fd91ec437d6e2/lib/client.js#L911 https://github.com/mqttjs/MQTT.js/blob/d8be59eba419d65ad2f46734623fd91ec437d6e2/lib/client.js#L1050-L1074 See...

Ah, I just realized that you are the person who create the issue #1286. I understand. I think that the current status is we have a way to send disconnect...

Thank you for your quick response. Your links are very helpful to understand the library mechanism. I forked the repository and start developing. In order to verify the server certificate...

@shantanu1singh, I'm not sure why you want to use gnutls. Do you send a pull request for Boost.Asio to support gnutls ? If you did it, please let me know...

@shantanu1singh , I understand your situation. And I've read https://github.com/paullouisageneau/boost-asio-gnutls carefully. There is no header file name conflict with Boost.Asio, it is good. I accept > 1. Include gnutls headers...

> @redboltz > > > Please don't use negative condition with else clause. See https://github.com/redboltz/mqtt_cpp/wiki/Coding-Rules > > Will do > > > Change namespace definitions for the ssl library: >...

I investigated a litte about Unix Domain Scokets. Boost.Asio support it. See https://www.boost.org/doc/libs/1_79_0/doc/html/boost_asio/reference/local__stream_protocol/socket.html I guess that mqtt_cpp can work with this. Now, I'm working on re-design endpoint for faster speed...