Bozohttpd

Check-in [b786821675]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Add version 20170201 of Bozohttpd
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: b786821675919a4f5b0de762b51d71ad85d07948
User & Date: atomicules 2017-11-24 21:16:52.260
Context
2021-05-19
09:43
Create new branch named "upstream" check-in: ec9d46659f user: atomicules tags: upstream
2017-11-25
19:08
Initial work on setting Cache-Control headers

The bit that foxed me was understanding getopts and that the "h" needed a ":"
after it because the option accepts and argument. It'll happily build and run
without this, but segfault when you try to use a "-h" argument.

This definitely and utterly sets a header. It doesn't seem that it's recognised
properly for whatever reason though, e.g here:

- https://developers.google.com/speed/pagespeed/insights/

and here:

- http://highloadtools.com/cachecontrol

But what can you do?

At the moment this just sets a header everywhere for everything being served.
What would be better would be just setting this on certain file types. check-in: a29fb4fb10 user: atomicules tags: trunk

2017-11-24
21:16
Add version 20170201 of Bozohttpd check-in: b786821675 user: atomicules tags: trunk
21:05
initial empty check-in check-in: 0fe8cd1d44 user: atomicules tags: trunk
Changes
Unified Diff Side-by-Side Diff Patch
Added CHANGES.
Added Makefile.
Added Makefile.boot.
Added auth-bozo.c.
Added bozohttpd.8.
Added bozohttpd.c.
Added bozohttpd.h.
Added cgi-bozo.c.
Added content-bozo.c.
Added daemon-bozo.c.
Added debug/Makefile.
Added dir-index-bozo.c.
Added libbozohttpd/Makefile.
Added libbozohttpd/libbozohttpd.3.
Added libbozohttpd/shlib_version.
Added lua-bozo.c.
Added lua/Makefile.
Added lua/bozo.lua.
Added lua/glue.c.
Added lua/optparse.lua.
Added lua/shlib_version.
Added main.c.
Added netbsd_queue.h.
Added printenv.lua.
Added small/Makefile.
Added ssl-bozo.c.
Added testsuite/Makefile.
Added testsuite/cgi-bin/empty.
Added testsuite/data/bigfile.
Added testsuite/data/bigfile.partial4000.
Added testsuite/data/bigfile.partial8000.
Added testsuite/data/file.
Added testsuite/data/index.html.
Added testsuite/html_cmp.
Added testsuite/t1.in.
Added testsuite/t1.out.
Added testsuite/t10.in.
Added testsuite/t10.out.
Added testsuite/t11.in.
Added testsuite/t11.out.
Added testsuite/t2.in.
Added testsuite/t2.out.
Added testsuite/t3.in.
Added testsuite/t3.out.
Added testsuite/t4.in.
Added testsuite/t4.out.
Added testsuite/t5.in.
Added testsuite/t5.out.
Added testsuite/t6.in.
Added testsuite/t6.out.
Added testsuite/t7.in.
Added testsuite/t7.out.
Added testsuite/t8.in.
Added testsuite/t8.out.
Added testsuite/t9.in.
Added testsuite/t9.out.
Added testsuite/test-bigfile.
Added testsuite/test-simple.
Added tilde-luzah-bozo.c.