From 33fca0976f95eac7ddce424080db9e381ec7388e Mon Sep 17 00:00:00 2001 From: Nick Thomas Date: Thu, 5 May 2016 13:16:32 +0100 Subject: Allow -listen-http, -listen-https and -listen-proxy to be given more than once Per issue #13, sometimes you want to listen on more than one port for each type of listener. This commit adds support for that. --- app_config.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'app_config.go') diff --git a/app_config.go b/app_config.go index 8da2437a..7ffa1e76 100644 --- a/app_config.go +++ b/app_config.go @@ -6,9 +6,9 @@ type appConfig struct { RootCertificate []byte RootKey []byte - ListenHTTP uintptr - ListenHTTPS uintptr - ListenProxy uintptr + ListenHTTP []uintptr + ListenHTTPS []uintptr + ListenProxy []uintptr HTTP2 bool RedirectHTTP bool -- cgit v1.2.3