Print HTTP port number in the logs during startup
authorAndrii Senkovych <andrii@senkovych.com>
Sun, 26 Aug 2018 12:30:36 +0000 (13:30 +0100)
committerAndrii Senkovych <andrii@senkovych.com>
Sun, 26 Aug 2018 12:30:36 +0000 (13:30 +0100)
commit2e87b5e471054cf8d786ed5038fa88412b2711a4
treecb329c3f62c349a6d5361cf27094a80815dfc35d
parent2d578cf0884448c1c9544cd427ff729bf5d106a6
Print HTTP port number in the logs during startup

Last-Update: 2016-11-17

Current test suite allows dynamic HTTP port allocation for test purpose.
Once webdis is started it is possible to discover webdis' HTTP port using
netstat. However resent builds have shown that netstat has different options
for hurd and kfreebsd and thus tests are failed and the overall package build
is marked as failed as well. In order to overcome this I have tried to use
sockstat instead of netstat but bug #679876 renders sockstat unusable.

This patch removes the need to use netstat or sockstat to discover the port
number webdis is listening to and instead allows one to simply grep the
necessary info out of webdis logs.
===================================================================

Gbp-Pq: Name print-listen-port-number.patch
server.c