Commits
Commit:
d8d170aa5ee1498babee095078b3888f1525a2b3
From:
Omar Polo <op@omarpolo.com>
Date:
Fri Apr 8 13:44:49 2022 UTC
allow add_mime to fail add_mime nows allocate dinamically copies of the passed strings, so that we can actually free what we parse from the config file. This matters a lot especially with lengthy `types' block: strings that reach the internal mapping are never free'd, so every manual addition is leaked.
Commit:
e5d82d9472513ef742dbb0b5ac451337625feb58
From:
Omar Polo <op@omarpolo.com>
Date:
Sat Mar 19 11:02:42 2022 UTC
const-ify some tables matches found with % grep -R '=[ ]*{' . | fgrep -v const
Commit:
0bfdcb1799c05c1db08fa7843b8b590e41464582
From:
Omar Polo <op@omarpolo.com>
Date:
Thu Apr 22 19:10:08 2021 UTC
missing comma ,
Commit:
4d820b6cd266d6e81b38e25e0850f8990abef32e
From:
Omar Polo <op@omarpolo.com>
Date:
Wed Apr 21 07:51:29 2021 UTC
use `text/x-patch' for .patch and .diff files
Commit:
52418c8d828bc25e0e84cc25d5e349a84be0b397
From:
Omar Polo <op@omarpolo.com>
Date:
Fri Feb 12 12:47:20 2021 UTC
fix various compilation errors Include gmid.h as first header in every file, as it then includes config.h (that defines _GNU_SOURCE for instance). Fix also a warning about unsigned vs signed const char pointers in openssl.
Commit:
c8b74339185123feebb6164b91f500f1930e45ff
From:
Omar Polo <op@omarpolo.com>
Date:
Sun Jan 24 14:11:40 2021 UTC
added support for location blocks
Commit:
95210bb3961727e034b99912a65700f6ace49753
From:
Omar Polo <op@omarpolo.com>
Date:
Thu Jan 21 16:14:01 2021 UTC
use recallocarray it also does an overflow check on multiplication, other than being more readable.
Commit:
b2a6b6137186dd3fce21640150926a133a35c2c8
From:
Omar Polo <op@omarpolo.com>
Date:
Thu Jan 21 15:01:37 2021 UTC
rename mimes to mime ; pass config esplicitly to mime* functions
Commit:
6119e13e8aa794988b3875614a0a2c3ce0f07e7b
From:
Omar Polo <op@omarpolo.com>
Date:
Tue Jan 19 11:28:41 2021 UTC
moving "default type" from global options to server options
Commit:
a010b0ddc5aa8cf49207b0ab87d36be6ebb320cf
From:
Omar Polo <op@omarpolo.com>
Date:
Mon Jan 18 18:48:37 2021 UTC
move mimes into the struct config
Commit:
982069a120a3d36483427ce00b9cf90a8bf4daab
From:
Omar Polo <op@omarpolo.com>
Date:
Mon Jan 18 18:43:47 2021 UTC
add "mime" and "default type" option for the configuration
Commit:
0fbe79b33c1d16b0611851e2019558ce8888a02e
From:
Omar Polo <op@omarpolo.com>
Date:
Mon Jan 18 18:18:57 2021 UTC
improve mime handling we still have an hardcoded list, but this implements the API needed to modify the mappings.
Omar Polo