A minimal but flexible directory listing server
Find a file
Laslo Hunhold 6b508a0e07
Explicitly initialize struct tm with zeroes
This is recommended by the manual as strptime(), in principle,
might only touch the fields it parses from the string. Given
the struct tm implementations differ from operating system to
operating system, we make sure and set everything to zero
before passing it to strptime().

Signed-off-by: Laslo Hunhold <dev@frign.de>
2020-07-23 16:54:21 +02:00
arg.h Correct arg.h license 2018-07-16 11:49:51 +02:00
config.def.h Specify UTF-8 for non-binary content-types 2019-01-02 17:04:23 +01:00
config.mk Be extra pedantic again and remove all warnings 2018-03-05 00:30:53 +01:00
http.c Explicitly initialize struct tm with zeroes 2020-07-23 16:54:21 +02:00
http.h Refactor the single source file into multiple modules 2018-02-04 21:27:33 +01:00
LICENSE Use timegm() instead of mktime() to generate UNIX-timestamp 2020-07-23 16:48:34 +02:00
main.c Make host parameters optional 2020-04-21 17:04:52 +02:00
Makefile Refactor the single source file into multiple modules 2018-02-04 21:27:33 +01:00
quark.1 Make host parameters optional 2020-04-21 17:04:52 +02:00
resp.c Fix for sending HTTP response status 304 2020-05-07 13:40:29 +02:00
resp.h Refactor the single source file into multiple modules 2018-02-04 21:27:33 +01:00
sock.c Use compound literals and explicit initialization 2019-05-30 23:15:47 +02:00
sock.h Refactor the single source file into multiple modules 2018-02-04 21:27:33 +01:00
util.c Use pledge(2) and unveil(2) on OpenBSD 2019-09-23 16:56:28 +02:00
util.h Use pledge(2) and unveil(2) on OpenBSD 2019-09-23 16:56:28 +02:00