瀏覽代碼

dispatcher: refine documentation
- more clear documentation for the new ds_is_from_list flags

Dennis Yurasov 1 年之前
父節點
當前提交
761e963c0f
共有 1 個文件被更改,包括 6 次插入3 次删除
  1. 6 3
      src/modules/dispatcher/doc/dispatcher_admin.xml

+ 6 - 3
src/modules/dispatcher/doc/dispatcher_admin.xml

@@ -1805,9 +1805,12 @@ if(ds_list_exists("10")) {
 				If bit two is set, then protocol is ignored.
 				If bit two is set, then protocol is ignored.
 				If bit three is set, then state must be active.
 				If bit three is set, then state must be active.
 				If bit four is set, then socket/sockname be matched.
 				If bit four is set, then socket/sockname be matched.
-				If bit five is set, then try to find the most complete 
-				"address/protocol/port/local socket" combination for all dispatcher targets.	The parameter
-				can be an integer or a variable holding an integer value.
+				If bit five is set, then try to find the most closest target from all
+				dispatcher targets with the mandatory ip and combination of local socket, protocol, port,
+				the weighted search result is combined from bit flags of matched components:
+				ip - 1, port - 2, protocol - 4, local socket - 8,
+				the target with the maximum value of flags combination will be selected.
+				The parameter can be an integer or a variable holding an integer value.
 				It must be provided if the uri parameter is provided.
 				It must be provided if the uri parameter is provided.
 			</para>
 			</para>
 		</listitem>
 		</listitem>