Explorar el Código

topic type: dynamic or static

Ery Lee hace 11 años
padre
commit
3c44aeecb8
Se han modificado 3 ficheros con 5 adiciones y 2 borrados
  1. 1 0
      CHANGELOG.md
  2. 1 1
      apps/emqtt/include/emqtt_topic.hrl
  3. 3 1
      rel/files/app.config

+ 1 - 0
CHANGELOG.md

@@ -15,6 +15,7 @@ Change: fix emqtt_pubsub.erl to match '#', '+'
 
 Tests: emqtt_topic_tests.erl add more test cases
 
+
 v0.3.0-alpha (2015-01-18)
 ------------------------
 

+ 1 - 1
apps/emqtt/include/emqtt_topic.hrl

@@ -39,7 +39,7 @@
 -record(topic_trie_node, {
     node_id        	:: binary() | atom(),
     edge_count = 0  :: non_neg_integer(),
-    topic    		:: binary()
+    topic    		:: binary(),
     type = dynamic  :: dynamic | static
 }).
 

+ 3 - 1
rel/files/app.config

@@ -32,7 +32,9 @@
 	]}
  ]},
  {emqtt, [
-    {auth, {anonymous, []}}, %internal, anonymous
+    %Authetication. Internal, Anonymous Default.
+    {auth, {anonymous, []}}, 
+    {access, []},
     {session, [ 
         {expires, 1}, 
         {max_queue, 1000},