Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mtproto_proxy
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
mtproto_proxy
Commits
dcdf05a3
Unverified
Commit
dcdf05a3
authored
Aug 18, 2019
by
Sergey Prokhorov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use explicit ipv4 in curl makefile; add timeout; disable unused emulator threads
parent
30f7e6b9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
Makefile
Makefile
+1
-1
vm.args.example
config/vm.args.example
+3
-1
No files found.
Makefile
View file @
dcdf05a3
...
@@ -25,7 +25,7 @@ config/prod-sys.config: config/sys.config.example
...
@@ -25,7 +25,7 @@ config/prod-sys.config: config/sys.config.example
config/prod-vm.args
:
config/vm.args.example
config/prod-vm.args
:
config/vm.args.example
[
-f
$@
]
&&
diff
$^
$@
||
true
[
-f
$@
]
&&
diff
$^
$@
||
true
cp
-i
-b
$^
$@
cp
-i
-b
$^
$@
@
IP
=
$(
shell
curl
-s
http://ip.seriyps.ru
||
curl
-s
https://digitalresistance.dog/myIp
)
\
@
IP
=
$(
shell
curl
-s
-4
-m
10 http://ip.seriyps.ru
||
curl
-s
-4
-m
10
https://digitalresistance.dog/myIp
)
\
&&
sed
-i
s/@0
\.
0
\.
0
\.
0/@
$$
{
IP
}
/
$@
&&
sed
-i
s/@0
\.
0
\.
0
\.
0/@
$$
{
IP
}
/
$@
user
:
user
:
...
...
config/vm.args.example
View file @
dcdf05a3
...
@@ -3,4 +3,6 @@
...
@@ -3,4 +3,6 @@
-setcookie mtproto-proxy-cookie
-setcookie mtproto-proxy-cookie
## this one is essential for >500 connections
## this one is essential for >500 connections
+K true
+K true
\ No newline at end of file
+A 2
+SDio 2
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment