]> 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)
commitc0a32bda504767af9d7ae1c0d189d240525c56aa
treeb05a4bd96f861e3643b1858fc6e299bf30ad5b51
parentba6f1bdb61a82f2e2008a2b8a23d3a9326a88cec
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