[master] 98491be http is 80/tcp
nils.goroll at uplex.de
Thu May 28 14:03:50 CEST 2015
Author: Nils Goroll <nils.goroll at uplex.de>
Date: Thu May 28 13:32:14 2015 +0200
http is 80/tcp
Some systems cannot resolve service "http", so in commit
8c7e459dc19542646bba5ca5789bdf99dc5724d0 we changed the
hardcoded default service from "http" to "80".
Before we complicate the implementation uselessly to first look
up http and then fall back to 80, just docfix. Port 80 is probably
_the_ one assignment with the least chance of ever changing.
diff --git a/doc/sphinx/reference/varnishd.rst b/doc/sphinx/reference/varnishd.rst
index 65181cb..6494524 100644
@@ -35,8 +35,8 @@ OPTIONS
address can be a host name ("localhost"), an IPv4 dotted-quad
("127.0.0.1"), or an IPv6 address enclosed in square brackets
("[::1]"). If address is not specified, `varnishd` will listen on all
- available IPv4 and IPv6 interfaces. If port is not specified, the
- default HTTP port as listed in ``/etc/services`` is used.
+ available IPv4 and IPv6 interfaces. If port is not specified, port
+ 80 (http) is used.
An additional protocol type can be set for the listening socket with PROTO.
Valid protocol types are: HTTP/1 (default), and PROXY.
Multiple listening adresses can be specificed by using multiple -a arguments.
More information about the varnish-commit