diff options
author | Glenn Strauss <gstrauss@gluelogic.com> | 2019-12-09 23:57:53 -0500 |
---|---|---|
committer | Glenn Strauss <gstrauss@gluelogic.com> | 2020-07-08 19:54:29 -0400 |
commit | 27e27e5e4040e6b71a9c63077a5919aa151137f8 (patch) | |
tree | 19fd46f1fc19f0e71dec5f707571e83f8021bf43 /src/mod_ssi.c | |
parent | b4a0ec05fd4508c81854644bed7220ab0c37a535 (diff) | |
download | lighttpd-git-27e27e5e4040e6b71a9c63077a5919aa151137f8.tar.gz |
[core] static buffers for mtime_cache
Diffstat (limited to 'src/mod_ssi.c')
-rw-r--r-- | src/mod_ssi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mod_ssi.c b/src/mod_ssi.c index 9eacee48..1055d64f 100644 --- a/src/mod_ssi.c +++ b/src/mod_ssi.c @@ -1223,7 +1223,7 @@ static int mod_ssi_handle_request(connection *con, handler_ctx *p) { etag_mutate(con->physical.etag, con->physical.etag); http_header_response_set(con, HTTP_HEADER_ETAG, CONST_STR_LEN("ETag"), CONST_BUF_LEN(con->physical.etag)); - mtime = strftime_cache_get(con->srv, st.st_mtime); + mtime = strftime_cache_get(st.st_mtime); http_header_response_set(con, HTTP_HEADER_LAST_MODIFIED, CONST_STR_LEN("Last-Modified"), CONST_BUF_LEN(mtime)); if (HANDLER_FINISHED == http_response_handle_cachable(con, mtime)) { |