improved error-msg and fixed invalid read from uninit memory

git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@727 152afb58-edef-0310-8abb-c4023f1b3aa9
svn/tags/lighttpd-1.4.6
Jan Kneschke 18 years ago
parent 519788686c
commit dccb266a39

@ -281,7 +281,8 @@ int http_response_handle_cachable(server *srv, connection *con, buffer *mtime) {
}
} else {
log_error_write(srv, __FILE__, __LINE__, "ss",
con->request.http_if_modified_since, buf);
"DEBUG: Last-Modified check failed as the received timestamp was too long:",
con->request.http_if_modified_since);
con->http_status = 412;
return HANDLER_FINISHED;

Loading…
Cancel
Save