]>
cat aescling's git repositories - httpd-execline.git/log
summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
cat æscling [Wed, 26 Jul 2023 01:21:58 +0000 (21:21 -0400)]
httpd.execline: fix: typo; s6-test deprecation
The latter is a partial fix
cat æscling [Tue, 25 Jul 2023 23:33:07 +0000 (19:33 -0400)]
Implement Content-Type override
Document accordingly
Ignore any Content-Type headers in
`configuration/override/${resource}/headers`
* Remove empty line comments
cat æscling [Wed, 26 Jul 2023 00:47:32 +0000 (20:47 -0400)]
Content-Type_table: fix: JS; charsets
aescling [Sat, 16 Apr 2022 06:33:01 +0000 (06:33 +0000)]
correct reference to http-print-header-files.execline
aescling [Sat, 16 Apr 2022 06:19:29 +0000 (06:19 +0000)]
http-header-parse.execline: convert parsed header names to lowercase
Update all lookups for what is now called httpd_header_parse_host
* Fix accidental whitespace errors
single-right-quote [Mon, 25 Oct 2021 21:02:13 +0000 (21:02 +0000)]
httpd-print-header-file.execline: rename; fix
single-right-quote [Mon, 25 Oct 2021 20:37:01 +0000 (16:37 -0400)]
fix: preserve user configuration for logger on `git pull`
single-right-quote [Sun, 12 Sep 2021 20:15:39 +0000 (16:15 -0400)]
http-print-header-file.execline: improve documentation
in addition, rename this script for accuracy
single-right-quote [Sun, 12 Sep 2021 05:16:57 +0000 (01:16 -0400)]
Update README
single-right-quote [Sun, 12 Sep 2021 03:53:10 +0000 (23:53 -0400)]
allow less specific headers to take effect
single-right-quote [Thu, 9 Sep 2021 03:58:09 +0000 (03:58 +0000)]
allow headers to refer to requested hostname, resource
also document this fact
single-right-quote [Thu, 9 Sep 2021 03:57:30 +0000 (03:57 +0000)]
uncomment a line from README
single-right-quote [Wed, 8 Sep 2021 01:07:34 +0000 (01:07 +0000)]
fix: correct errors in README
additionally, update it
single-right-quote [Wed, 8 Sep 2021 00:57:55 +0000 (00:57 +0000)]
improve logger output for processing
single-right-quote [Wed, 8 Sep 2021 00:39:36 +0000 (00:39 +0000)]
bugfix: respond for any sytactically valid Hosts
as a fallback, make sure to send a response even when invalid
hostnames are required
single-right-quote [Wed, 8 Sep 2021 00:32:50 +0000 (00:32 +0000)]
adjust hiding client input to satisfy toybox
when done reading from the client, we defensively close stdin, to
prevent potential bugs being exploitable to malicious input
toybox opens /dev/null if stdin does not exist, which crashes in a
chrooted evironment. piping in an empty string more or less
accomplishes the same thing as closing stdin would
i really do not know why toybox found this necessary.
single-right-quote [Wed, 8 Sep 2021 00:29:46 +0000 (00:29 +0000)]
change example content type for Market Commons
per https://github.com/marrus-sh/MarketCommons2-Ecmascript#miscellaneous
single-right-quote [Thu, 26 Aug 2021 02:44:46 +0000 (22:44 -0400)]
http-error-response.execline: cleanup
single-right-quote [Wed, 25 Aug 2021 04:30:02 +0000 (00:30 -0400)]
add notes/warning on external contributions
single-right-quote [Wed, 25 Aug 2021 04:29:13 +0000 (00:29 -0400)]
change license
single-right-quote [Tue, 24 Aug 2021 04:26:52 +0000 (04:26 +0000)]
bugfix: unbreak response when no extra headers
single-right-quote [Tue, 24 Aug 2021 04:25:35 +0000 (04:25 +0000)]
use more sensible default values
single-right-quote [Mon, 23 Aug 2021 12:58:17 +0000 (08:58 -0400)]
update for breaking changes in execline
+ `backtick -i` is now the default behaviour
+ `backtick -I` is now the old default behaviour
+ `backtick -x` is now what `-I` used to be
+ `backtick -E` was added to automatically `import -i -u`
+ `trap` no longer supports timeouts; switch to timeout(1p)
single-right-quote [Thu, 24 Sep 2020 19:42:40 +0000 (19:42 +0000)]
allow configuring domain-name–agnostic error response pages
additionally, remove outdated comments.
single-right-quote [Thu, 24 Sep 2020 19:35:27 +0000 (19:35 +0000)]
remove unused debugging line
single-right-quote [Wed, 16 Sep 2020 18:52:45 +0000 (18:52 +0000)]
http-get-extra-headers.execline: bugfix: terminate headers with \r\n
embarrassing.
single-right-quote [Fri, 11 Sep 2020 00:47:01 +0000 (00:47 +0000)]
update README for changes
note the TODO about error status pages. how did i forget that???
single-right-quote [Thu, 10 Sep 2020 22:03:12 +0000 (22:03 +0000)]
reorganize configuration of resource- and domain-specific headers
in doing so, move so-called ”extra headers” code to a separate script
furthermore, slightly adjust the logic of http-error-response.execline
headers are now specified on a per-header basis, one file per header
single-right-quote [Thu, 10 Sep 2020 21:52:46 +0000 (21:52 +0000)]
begin making visible-to-httpd/configuration/overrides generic
single-right-quote [Fri, 14 Aug 2020 19:57:23 +0000 (19:57 +0000)]
isolate chroot-exclusive contents
also rename several folders in anticipation of further restructuring
as a bonus, `supported-hostname-test.execline` no longer needs special cases
single-right-quote [Thu, 13 Aug 2020 21:20:08 +0000 (17:20 -0400)]
introduce custom HTTP status pages [NEEDS WORK]
as an additional bonus, child processes of `httpd.execline` now inherit
the environment variables for the parsed start line and headers; this
allows `http-error-response.execline` to make use of the host supplied
by the client request with minimal changes.
note that `Content-Length` is currently not supplied anymore for header
responses (functional, but the HTTP/1.1 standard says you “SHOULD” use
that header); this needs fixing.
also note that `http-error-response.execline` currently forces error
status pages to use a `Content-Type` of
`application/xhtml+xml; charset=utf-8`; surely we should allow the user
to override this. (perhaps make status code *folders*, and use
constituent files `Content-Type`, perhaps `extra_headers`, and of course
`message_body`, in that directory? this interface would be less than
ideal though)
single-right-quote [Tue, 11 Aug 2020 21:56:45 +0000 (17:56 -0400)]
initial commit