#1192 Unloading mod_http where http_host is used by many VirtualHosts
What steps will reproduce the problem?
Two or more hosts with the same `http_host`.
http_host = "a"
Unload mod_http from one host.
module:load("http") -- loaded on all first
HTTP request to something on host 'a'.
What is the expected output?
What do you see instead?
404, unknown host
Please provide any additional information below.
When mod_http, a global/shared module, is loaded on two hosts with the same http_host it registers the `http_host` name twice. If it is unloaded from one host, it unregisters the name despite it being used by other, still enabled, hosts.
Zash: Could we perhaps move the host awareness out of net.http.server?
MattJ: Hmm, that sounds pretty sensible