Print HTTP port number in the logs during startup
authorAndrii Senkovych <andrii@senkovych.com>
Fri, 10 Apr 2020 06:40:29 +0000 (07:40 +0100)
committerSandro Tosi <morph@debian.org>
Fri, 10 Apr 2020 06:40:29 +0000 (07:40 +0100)
commit4be06ce20d899f934e1eb3ec6741a7610e534376
tree36035af34ec354260204e450974613c2b592ed3b
parent9d6adfc0610600996a90441cf92d80657b438195
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