mirror of
https://github.com/seriyps/mtproto_proxy.git
synced 2026-08-04 15:19:47 +00:00
Add fake telegram "middle-proxy" server and http config server implementations
And make it possible to make proxy connect to it
This commit is contained in:
parent
aa6e06a4d5
commit
871ab11ad3
4 changed files with 307 additions and 5 deletions
|
|
@ -63,12 +63,17 @@
|
|||
|
||||
%% Should be module with function `notify/4' exported.
|
||||
%% See mtp_metric:notify/4 for details
|
||||
%% {metric_backend, my_metric_backend}
|
||||
%% {metric_backend, my_metric_backend},
|
||||
|
||||
%% User-space recv socket buffer sizes. Set to higher if you have
|
||||
%% enough RAM
|
||||
%% {upstream_socket_buffer_size, 51200}, %50kb
|
||||
%% {downstream_socket_buffer_size, 512000} %500kb
|
||||
%% {downstream_socket_buffer_size, 512000}, %500kb
|
||||
|
||||
%% Where to fetch telegram proxy configuration
|
||||
%% Mostly used to testing
|
||||
%% {proxy_secret_url, "https://core.telegram.org/getProxySecret"},
|
||||
%% {proxy_config_url, "https://core.telegram.org/getProxyConfig"},
|
||||
]},
|
||||
{modules, []},
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue