8000 Merge pull request #208 from trofim24/patch-1 · sockjs/sockjs-node@50777ba · GitHub
[go: up one dir, main page]

Skip to content

Commit 50777ba

Browse files
authored
Merge pull request #208 from trofim24/patch-1
Pass some custom header.
2 parents d7bf959 + d2ac99d commit 50777ba

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/transport.coffee

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@ class Session
131131

132132
headers = {}
133133
for key in ['referer', 'x-client-ip', 'x-forwarded-for', \
134+
'x-forwarded-host', 'x-forwarded-port', \
134135
'x-cluster-client-ip', 'via', 'x-real-ip', \
135136
'x-forwarded-proto', 'x-ssl', \
136137
'host', 'user-agent', 'accept-language']

0 commit comments

Comments
 (0)
0