{"action":"created","issue":{"url":"https://api.github.com/repos/emqtt/emqttd/issues/181","labels_url":"https://api.github.com/repos/emqtt/emqttd/issues/181/labels{/name}","comments_url":"https://api.github.com/repos/emqtt/emqttd/issues/181/comments","events_url":"https://api.github.com/repos/emqtt/emqttd/issues/181/events","html_url":"https://github.com/emqtt/emqttd/issues/181","id":92303280,"number":181,"title":"http push qos 1/2 not work","user":{"login":"roytan883","id":4022752,"avatar_url":"https://avatars.githubusercontent.com/u/4022752?v=3","gravatar_id":"","url":"https://api.github.com/users/roytan883","html_url":"https://github.com/roytan883","followers_url":"https://api.github.com/users/roytan883/followers","following_url":"https://api.github.com/users/roytan883/following{/other_user}","gists_url":"https://api.github.com/users/roytan883/gists{/gist_id}","starred_url":"https://api.github.com/users/roytan883/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roytan883/subscriptions","organizations_url":"https://api.github.com/users/roytan883/orgs","repos_url":"https://api.github.com/users/roytan883/repos","events_url":"https://api.github.com/users/roytan883/events{/privacy}","received_events_url":"https://api.github.com/users/roytan883/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-01T07:41:25Z","updated_at":"2015-07-01T07:54:43Z","closed_at":null,"body":"my client connect to emqttd server with clean flag \"false\"\r\nbut http push qos 1/2 not work, the client can't receive offline message when reconnect.\r\n\r\nthe log show http push is qos 1/2, but send to client force to qos 0, is it a bug?\r\n\r\n15:32:33.760 [info] HTTP Publish: [{\"qos\",\"2\"},{\"retain\",\"0\"},{\"topic\",\"$Q/client/client-1\"},{\"message\",\"{\\\"msgType\\\":\\\"String\\\",\\\"msgContent\\\":\\\"hello-1\\\"}\"}]\r\n15:32:33.761 [info] SEND to client-1@192.168.1.68:40339: PUBLISH(Qos=0, Retain=false, Dup=false, TopicName=$Q/client/client-1, PacketId=undefined, Payload=<<\"{\\\"msgType\\\":\\\"String\\\",\\\"msgContent\\\":\\\"hello-1\\\"}\">>)\r\n\r\n15:34:32.788 [info] HTTP Publish: [{\"qos\",\"1\"},{\"retain\",\"0\"},{\"topic\",\"$Q/client/client-1\"},{\"message\",\"{\\\"msgType\\\":\\\"String\\\",\\\"msgContent\\\":\\\"hello-1\\\"}\"}]\r\n15:34:32.789 [info] SEND to client-1@192.168.1.68:40339: PUBLISH(Qos=0, Retain=false, Dup=false, TopicName=$Q/client/client-1, PacketId=undefined, Payload=<<\"{\\\"msgType\\\":\\\"String\\\",\\\"msgContent\\\":\\\"hello-1\\\"}\">>)\r\n\r\nalso i try mosquitto_pub to publish message to client, also the log shows Qos=0\r\n"},"comment":{"url":"https://api.github.com/repos/emqtt/emqttd/issues/comments/117516321","html_url":"https://github.com/emqtt/emqttd/issues/181#issuecomment-117516321","issue_url":"https://api.github.com/repos/emqtt/emqttd/issues/181","id":117516321,"user":{"login":"roytan883","id":4022752,"avatar_url":"https://avatars.githubusercontent.com/u/4022752?v=3","gravatar_id":"","url":"https://api.github.com/users/roytan883","html_url":"https://github.com/roytan883","followers_url":"https://api.github.com/users/roytan883/followers","following_url":"https://api.github.com/users/roytan883/following{/other_user}","gists_url":"https://api.github.com/users/roytan883/gists{/gist_id}","starred_url":"https://api.github.com/users/roytan883/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roytan883/subscriptions","organizations_url":"https://api.github.com/users/roytan883/orgs","repos_url":"https://api.github.com/users/roytan883/repos","events_url":"https://api.github.com/users/roytan883/events{/privacy}","received_events_url":"https://api.github.com/users/roytan883/received_events","type":"User","site_admin":false},"created_at":"2015-07-01T07:54:43Z","updated_at":"2015-07-01T07:54:43Z","body":"seems the auto sub $Q/client/xxx force use qos 0\r\n[{<<\"$Q/client/ms1\">>,0}]. Granted QoS: [0]\r\ncan you add a config to sepcify the auto sub qos level?"}}