[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [snowflake/master] Add "hostname" args to the bridge descriptor as well.



commit 1b1fb37afe435ffb38d7ec53b9a79896f6b6e5c2
Author: David Fifield <david@xxxxxxxxxxxxxxx>
Date:   Fri Jan 20 16:51:14 2017 -0800

    Add "hostname" args to the bridge descriptor as well.
---
 server/server.go | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/server/server.go b/server/server.go
index 9ebe255..aaf2e05 100644
--- a/server/server.go
+++ b/server/server.go
@@ -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 {



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits