]> git.ipfire.org Git - thirdparty/apache/httpd.git/commit
name-based vhosts listed twice with apachectl -S
authorEric Covener <covener@apache.org>
Fri, 20 Sep 2013 13:36:33 +0000 (13:36 +0000)
committerEric Covener <covener@apache.org>
Fri, 20 Sep 2013 13:36:33 +0000 (13:36 +0000)
commitf889cb92be0339ea75eebff0b97dce73372d6260
treeb05a4bd96f861e3643b1858fc6e299bf30ad5b51
parent63e7600d8456202c880bc88ac44548d83aa93e4b
name-based vhosts listed twice with apachectl -S

When processing a vhost with * or _default_, we'd add the "names" once
for 0.0.0.0 and once for [::], but these are stored in the same "default"
ip chain.  Catch the back-to-back wildcard + same port and short-circuit the
second add.

Submitted By: rjung
Committed By: covener

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1525000 13f79535-47bb-0310-9956-ffa450edef68
server/vhost.c