From 9e48748182cc39a56925f3047238889c67401c7f Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Mon, 5 Mar 2018 18:25:51 +0000 Subject: [PATCH] httplib: Note that authentication is a good idea for non localhost --- cmd/serve/httplib/httplib.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cmd/serve/httplib/httplib.go b/cmd/serve/httplib/httplib.go index e8d3e29ce..b473bc8ed 100644 --- a/cmd/serve/httplib/httplib.go +++ b/cmd/serve/httplib/httplib.go @@ -26,6 +26,9 @@ Use --addr to specify which IP address and port the server should listen on, eg --addr 1.2.3.4:8000 or --addr :8080 to listen to all IPs. By default it only listens on localhost. +If you set --addr to listen on a public or LAN accessible IP address +then using Authentication if advised - see the next section for info. + --server-read-timeout and --server-write-timeout can be used to control the timeouts on the server. Note that this is the total time for a transfer.