Browse Source

Do not cache default vhost in mod_simple_vhost (#709)

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2322 152afb58-edef-0310-8abb-c4023f1b3aa9
svn/tags/lighttpd-1.4.21
Stefan Bühler 13 years ago
parent
commit
da4e28778f
  1. 1
      NEWS
  2. 2
      src/mod_simple_vhost.c

1
NEWS

@ -12,6 +12,7 @@ NEWS
* Fix leaving zombie process with include_shell (#1777)
* Removed debian/, openwrt/ and cygwin/; they weren't kept up-to-date, and we decided to remove dist. specific stuff
* Try to convert string options to shorts for numeric options in config file; allows to use env-vars for numeric options. (#1159, thx andrewb)
* Do not cache default vhost in mod_simple_vhost (#709)
- 1.4.20 - 2008-09-30

2
src/mod_simple_vhost.c

@ -249,6 +249,8 @@ static handler_t mod_simple_vhost_docroot(server *srv, connection *con, void *p_
return HANDLER_GO_ON;
} else {
buffer_copy_string_buffer(con->server_name, p->conf.default_host);
/* do not cache default host */
return HANDLER_GO_ON;
}
} else {
buffer_copy_string_buffer(con->server_name, con->uri.authority);

Loading…
Cancel
Save