Skip to content

Commit

Permalink
Fix fake http 🐛
Browse files Browse the repository at this point in the history
  • Loading branch information
Jrohy committed Dec 6, 2018
1 parent 2d02ad5 commit 6f7c34a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion json_template/http.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
"tlsSettings": {},
"httpSettings": {},
"tcpSettings": {
"connectionReuse": true,
"header": {
"type": "http",
"request": {
Expand Down
1 change: 1 addition & 0 deletions profile.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ def parse_group(self, part_json, group_index, local_ip):
path = conf_stream["wsSettings"]["path"]
elif conf_stream["tcpSettings"]:
host = conf_stream["tcpSettings"]["header"]["request"]["headers"]["Host"]
header = "http"

if (tls == "tls"):
conf_ip = Config().get_data('domain')
Expand Down

0 comments on commit 6f7c34a

Please sign in to comment.