quark

quark web server
git clone git://git.suckless.org/quark
Log | Files | Refs | LICENSE

commit 0fc6b0cccdcd3055e10aaea7469c740cbf021d84
parent 4f2cc504160a79ea948552680161c24b05e8483f
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Sat, 22 Jul 2017 12:30:35 +0200

don't allow named service->port translation

this will also mess up the redirect (to a named service otherwise).

Diffstat:
Mquark.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/quark.c b/quark.c @@ -852,6 +852,7 @@ getipsock(void) int ret, insock = 0, yes; memset(&hints, 0, sizeof(hints)); + hints.ai_flags = AI_NUMERICSERV; hints.ai_family = AF_UNSPEC; hints.ai_socktype = SOCK_STREAM;