{"action":"opened","issue":{"url":"https://api.github.com/repos/TelegramMessenger/MTProxy/issues/75","repository_url":"https://api.github.com/repos/TelegramMessenger/MTProxy","labels_url":"https://api.github.com/repos/TelegramMessenger/MTProxy/issues/75/labels{/name}","comments_url":"https://api.github.com/repos/TelegramMessenger/MTProxy/issues/75/comments","events_url":"https://api.github.com/repos/TelegramMessenger/MTProxy/issues/75/events","html_url":"https://github.com/TelegramMessenger/MTProxy/issues/75","id":328880276,"node_id":"MDU6SXNzdWUzMjg4ODAyNzY=","number":75,"title":"Discrepancy between README and command line options - mixed up -p and -H","user":{"login":"lcferrum","id":3532944,"node_id":"MDQ6VXNlcjM1MzI5NDQ=","avatar_url":"https://avatars3.githubusercontent.com/u/3532944?v=4","gravatar_id":"","url":"https://api.github.com/users/lcferrum","html_url":"https://github.com/lcferrum","followers_url":"https://api.github.com/users/lcferrum/followers","following_url":"https://api.github.com/users/lcferrum/following{/other_user}","gists_url":"https://api.github.com/users/lcferrum/gists{/gist_id}","starred_url":"https://api.github.com/users/lcferrum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lcferrum/subscriptions","organizations_url":"https://api.github.com/users/lcferrum/orgs","repos_url":"https://api.github.com/users/lcferrum/repos","events_url":"https://api.github.com/users/lcferrum/events{/privacy}","received_events_url":"https://api.github.com/users/lcferrum/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-04T01:11:48Z","updated_at":"2018-06-04T01:11:48Z","closed_at":null,"author_association":"NONE","body":"Regarding usage example (`mtproto-proxy -u nobody -p 8888 -H 443`), README currently states that 8888 is local HTTP port for getting stats and 443 is listening port. While this information is correct (kind of) and server indeed works using this example, it contradicts mtproto-proxy help. Here, `-p` option is described as listening port (and not HTTP port) and `-H` appears as actual HTTP port (and not listening port).\r\n\r\nQuick look at the sources shows that, indeed, it was their original purpose: `-p` option stores it's argument in variables named `start_port` and `end_port`, and `-H` stores argument in `http_port` array."}}
{"actor":{"display_login":"lcferrum"}}