Skip to content

Commit

Permalink
Update the doc on when to turn off append_payload
Browse files Browse the repository at this point in the history
  • Loading branch information
GreaterFire committed Apr 23, 2019
1 parent 48e6c0d commit 5448353
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ In this page, we will look at the config file of trojan. Trojan uses [`JSON`](ht
- `remote_addr`: server address (hostname)
- `remote_port`: server port
- `password`: password used for verification (only the first password in the array will be used)
- `append_payload`: whether to append the first packet to trojan request. It can reduce length patterns of sessions, but may cause stability issues, in which case set it to `false`.
- `append_payload`: whether to append the first packet to trojan request. It can reduce length patterns of sessions, but may cause stability issues, in which case set it to `false`. For example, if you are running trojan server and trojan client on the same machine, you should set this option to `false` because there is a race condition at the time the client receives its first packet.
- `log_level`: how much log to dump. 0: ALL; 1: INFO; 2: WARN; 3: ERROR; 4: FATAL; 5: OFF.
- `ssl`: `SSL` specific configurations
- `verify`: whether to verify `SSL` certificate **STRONGLY RECOMMENDED**
Expand Down

0 comments on commit 5448353

Please sign in to comment.