Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
The Tor Project
Anti-censorship
Pluggable Transports
Snowflake
Commits
1b1fb37a
Commit
1b1fb37a
authored
Jan 20, 2017
by
David Fifield
Browse files
Add "hostname" args to the bridge descriptor as well.
parent
80acfbd8
Changes
1
Hide whitespace changes
Inline
Side-by-side
server/server.go
View file @
1b1fb37a
...
...
@@ -301,6 +301,9 @@ func main() {
ln
,
err
=
startListener
(
"tcp"
,
bindaddr
.
Addr
)
}
else
{
args
.
Add
(
"tls"
,
"yes"
)
for
_
,
hostname
:=
range
acmeHostnames
{
args
.
Add
(
"hostname"
,
hostname
)
}
ln
,
err
=
startListenerTLS
(
"tcp"
,
bindaddr
.
Addr
,
&
certManager
)
}
if
err
!=
nil
{
...
...
Write
Preview
Supports
Markdown
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