forked from zaxbbun/goscon
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathconfig.yaml
More file actions
51 lines (51 loc) · 938 Bytes
/
Copy pathconfig.yaml
File metadata and controls
51 lines (51 loc) · 938 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
manager: 127.0.0.1:6620
#tcp: 0.0.0.0:1248
#kcp: 0.0.0.0:1248
ws: 0.0.0.0:1249
scp:
handshake_timeout: 30
reuse_time: 30
reuse_buffer: 65536
tcp_option:
read_timeout: 0
keepalive: true
keepalive_interval: 60
kcp_option:
read_timeout: 60
fec_data_shards: 0
fec_parity_shards: 0
read_buffer: 4194304
write_buffer: 4194304
opt_mtu: 1400
opt_nodelay: 1
opt_interval: 10 # ms
opt_resend: 2
opt_nc: 1
opt_sndwnd: 2048
opt_rcvwnd: 2048
opt_stream: true
ws_option:
cert_file:
key_file:
backlog: 128
handshake_timeout: 0
frame_size: 4096
read_buffer: 4096
write_buffer: 4096
read_timeout: 0
upstream_option:
net: tcp
# resolv:
# port: 443
# suffix: .com
# prefix: mail.
# pattern : google
hosts:
- name: game1
addr: 127.0.0.1:7012
weight: 100
# - name: test2
# addr: 127.0.0.1:11249
# weight: 100
#etcd_host: 127.0.0.1:2379
#etcd_prefix: /mt2/Devel/UserGate