summaryrefslogtreecommitdiff
path: root/src/tipideed/log.c
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2023-09-21 02:18:35 +0000
committerLaurent Bercot <ska@appnovation.com>2023-09-21 02:18:35 +0000
commit3d334dca671898241732dbc0ef6838b768308da7 (patch)
tree0cac6b60ea1356455fef2553e41105f3c68bce9d /src/tipideed/log.c
parent6be5496f8a5660875c5f45f915210f69496d231b (diff)
downloadtipidee-3d334dca671898241732dbc0ef6838b768308da7.tar.xz
Implement If-Modified-Since
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src/tipideed/log.c')
-rw-r--r--src/tipideed/log.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/tipideed/log.c b/src/tipideed/log.c
index a257ff5..f5f2e81 100644
--- a/src/tipideed/log.c
+++ b/src/tipideed/log.c
@@ -44,6 +44,12 @@ void log_regular (char const *fn, char const *sizefmt, int ishead, char const *c
strerr_warni8x("sending ", ishead ? "headers for " : "", "regular file ", fn, " (", sizefmt, " bytes) with type ", ct) ;
}
+void log_304 (char const *fn)
+{
+ if (g.verbosity >= 2)
+ strerr_warni2x("answering 304 for regular file ", fn) ;
+}
+
void log_nph (char const *const *argv, char const *const *envp)
{
if (g.verbosity >= 2)