Browse Source
* Fix #1518 config file with wrong json format Removing trailing "," to make the configuration file compliant with JSON specification * Remove extra "," in json file * server_port should be integer instead of string server_port in generated json configuration file should be integer instead of string * Add list active service ports feature A new management API has been added to list all active service ports. * Make list API output JSON compliant In the following format: [ { "server_port":"8388","password":"password"}, ... ] Note that server_port value is string instead of integer for easy display on the console. * Make safe room for the new list entry "\n\t{\"server_port\":\"%s\",\"password\":\"%s\"}," Reserve 50 char spaces for the extra characters in the above. * Output method for each service port in list APIpull/1525/head
Xiandong
7 years ago
committed by
Max Lv