Commit Graph

1095 Commits

Author SHA1 Message Date
Gilbert Wong
c145cb89f4 add validate_properties for PUBLISH and fix error for SUB 2018-09-06 15:45:18 +08:00
Gilbert Wong
9189d4ff41 catch topic_alias_invalid reasoncode 2018-09-06 14:24:07 +08:00
Gilbert Wong
876a983e93 Pub Packet delivered from client to server cannot contain sub id 2018-09-06 13:37:26 +08:00
Gilbert Wong
c8b92a59b1 check topic alias 2018-09-05 19:06:34 +08:00
周子博
f0f818ab1a Fix bug in emqx_frame 2018-09-05 10:28:49 +08:00
周子博
842f4fbf13 Crash when reserved flag in CONNECT packet doesn't equal to 0, and remove repeated check for protocol version 2018-09-04 11:16:15 +08:00
chenyy
abc6081282 fix error spelling word 2018-09-01 11:54:28 +08:00
terry-xiaoyu
ec456dcc73 Fix dialyze issue 2018-08-31 20:48:57 +08:00
terry-xiaoyu
3f42f1271b bug fix 2018-08-31 18:14:10 +08:00
Feng Lee
880c6ab5fe Fix typo 2018-08-31 17:27:36 +08:00
Feng Lee
ec7b39f3fd
Merge pull request #1777 from emqtt/emqx30-dialyzer
Add banned support, and fix dialyzer errors
2018-08-31 16:58:57 +08:00
Feng Lee
7c45d988f2 Update the spec of deliver/2 function 2018-08-31 16:57:43 +08:00
Feng Lee
ea1ae70833 Fix errors found by dialyzer 2018-08-31 16:46:51 +08:00
Gilbert Wong
e6fd7faa4b add format_variable for disconnect packet 2018-08-31 16:24:10 +08:00
Feng Lee
3045ec10ab Add banned feature 2018-08-31 14:04:26 +08:00
Feng Lee
237e65a4e0 Use emqx_mqueue:init/1 to create a mqueue 2018-08-31 10:22:16 +08:00
terry-xiaoyu
23e72feab7 fix reason codes 2018-08-31 01:54:25 +08:00
terry-xiaoyu
9406bc1fd1 fix typo 2018-08-31 01:39:56 +08:00
Feng Lee
aa1334313c Merge branch 'emqx30' of github.com:emqtt/emqttd into emqx30 2018-08-31 01:22:55 +08:00
Feng Lee
25391e8c71 Rename 'Subscription-Identifiers-Available' to 'Subscription-Identifier-Available' 2018-08-31 01:22:03 +08:00
Gilbert Wong
748826bdee update access sutie and access control 2018-08-31 01:16:54 +08:00
Feng Lee
dc9a1cd80f Format emqx_protocol module 2018-08-31 00:48:23 +08:00
Feng Lee
1574d85570
Merge pull request #1775 from emqtt/emqx30-feng
Support server_keepalive and CONNACK properties
2018-08-31 00:45:51 +08:00
Feng Lee
07f13db453 Fix conflict 2018-08-31 00:41:48 +08:00
Feng Lee
b6006b5947 Support CONNACK properties 2018-08-31 00:40:10 +08:00
Gilbert Wong
1c94566141 add topic alias validate 2018-08-30 23:49:08 +08:00
Feng Lee
3131acd3bc
Merge branch 'emqx30' into emqx30-feng 2018-08-30 23:41:26 +08:00
Feng Lee
674b55e6e7
Merge pull request #1773 from tigercl/emqx30
Add emqx_banned test suite, and fix bugs in emqx_banned
2018-08-30 23:35:15 +08:00
Feng Lee
0379219a04 Improve the design of session discard 2018-08-30 23:14:09 +08:00
周子博
83e11b6e39 Add emqx_banned test suite, and fix bugs in emqx_banned 2018-08-30 22:45:08 +08:00
terry-xiaoyu
fb8a86c5e0 delayed will message 2018-08-30 21:58:02 +08:00
terry-xiaoyu
cf0f55d057 delayed will message 2018-08-30 21:44:00 +08:00
Feng Lee
4a1fdddc31
Merge pull request #1771 from emqtt/emqx30-feng
Only store packet_id and timestamp for qos2 message
2018-08-30 21:26:01 +08:00
Feng Lee
78a8ccd0f2 Only store packet_id and timestamp for qos2 message 2018-08-30 21:17:20 +08:00
Feng Lee
dd7f0dec3c Add 'messages/qos2/expired' counter 2018-08-30 21:01:09 +08:00
Gilbert Wong
2fc41b6935 fix reason code name for mqtt 4 2018-08-30 19:09:22 +08:00
Feng Lee
cae673cf5e Fix update_expiry/1 function_clause 2018-08-30 18:59:47 +08:00
Feng Lee
826daace61 Align the state record 2018-08-30 18:44:58 +08:00
Feng Lee
c49e5dfddc
Merge branch 'emqx30' into emqx30-feng 2018-08-30 18:42:29 +08:00
Feng Lee
553a60cdec Update 'Message Expiry Interval' property before delivering a PUBLISH 2018-08-30 18:31:37 +08:00
Feng Lee
7b5f2577d3 Support message ttl and expiration 2018-08-30 18:30:33 +08:00
Feng Lee
1f2bbe3eb8 Support priority queue 2018-08-30 18:29:20 +08:00
Feng Lee
a67958adb4 Add 'messages/expired' counter 2018-08-30 18:28:40 +08:00
Feng Lee
021d43755f Add update_expiry/1 function 2018-08-30 18:28:02 +08:00
terry-xiaoyu
8a5519cafa attrs for ws_connection 2018-08-30 14:32:31 +08:00
Gilbert Wong
b0ed953708 fix emqx_session:unsubscribe bug 2018-08-30 13:56:55 +08:00
Feng Lee
2ccec1f719 Merge branch 'emqx30' into emqx30-feng 2018-08-30 11:54:49 +08:00
Feng Lee
2342a7db6d Rename 'Pid' to 'ConnPid' 2018-08-30 11:48:49 +08:00
Feng Lee
2db64cf53c Support 'Message-Expiry-Interval property 2018-08-30 11:42:24 +08:00
Feng Lee
2351b41f11 Add is_expired/1, check_expiry/1, check_expiry/2 2018-08-30 11:40:53 +08:00