Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-09-01 | one more typo from codespellHEADmaster | Omar Polo | |
2024-09-01 | spell "nam" with the "e"; from codespell | Omar Polo | |
2024-09-01 | typos; courtesy of codespell | Omar Polo | |
2024-08-29 | improve failure log of test_log_* | Omar Polo | |
2024-08-29 | add some tests for the different log styles | Omar Polo | |
2024-08-29 | fix timestamps in common and combined log styles | Omar Polo | |
Reported by Colin Henein, thank you! see <https://github.com/omar-polo/gmid/issues/39> | |||
2024-08-25 | -current again | Omar Polo | |
2024-08-25 | prepare release 2.1.12.1.1 | Omar Polo | |
2024-08-25 | typo; fix release number | Omar Polo | |
2024-08-24 | regress: hide REMOTE_{ADDR,HOST} too | Omar Polo | |
2024-08-24 | update the readme | Omar Polo | |
2024-08-24 | regress/fcgi: dump and check all the parameters | Omar Polo | |
2024-08-24 | github: limit docker image builds to tags and the master branch | Omar Polo | |
2024-08-24 | fix previous; no need to match_host for the alias | Omar Polo | |
The issue with the test was due to differences in upper/lower cased letters in the domain names. Normally these don't matter, and when decoding the IRI we lowercase, BUT the SNI can have upper-case letters and we preserve them as-is in `c->domain'. | |||
2024-08-24 | no need for the match_host dance | Omar Polo | |
2024-08-24 | improve tests | Omar Polo | |
2024-08-24 | rework match_host(); fix alias handling; add two alias tests | Omar Polo | |
2024-08-24 | fix config.log args logging | Omar Polo | |
2024-08-23 | work around comically tiny HOST_NAME_MAX on glibc system | Omar Polo | |
glibc is clearly violating POSIX since they set HOST_NAME_MAX to 64, and they've known so for years. Unfortunately this means that, despite using the right interfaces, we have to work around bugs in their libc. ugh. Luckily, gmid doesn't need to do DNS, it just needs a define large enough to store a hostname, but not unlimited, to catch possible misconfigurations. We don't risk to round-trip this into an interface that expects smaller strings. Reported and fix tested by Anna “CyberTailor”, see <https://codeberg.org/op/gmid/issues/3>. | |||
2024-08-18 | fcgi-test: fix stale comment | Omar Polo | |
2024-08-18 | sync changelog | Omar Polo | |
2024-08-18 | fix: send port as SERVER_PORT | Christoph Liebender | |
2024-08-05 | configure/getprogname: fix handling and use __progname too | Omar Polo | |
1. fix the handling of the fallbacks in getprogname i.e. actually use the fallback 2. add a check for __progname too See https://github.com/omar-polo/gmid/issues/35 | |||
2024-08-03 | -current again | Omar Polo | |
2024-08-03 | prepare release 2.12.1 | Omar Polo | |
2024-08-03 | proxy-protocol: accept cross-family proxying | Omar Polo | |
Due to a strict interpretation of the spec if "TCP4" is used we expect two ipv4 addresses (and similar for "TCP6" and ipv6 addresses). However, the family specified in the proxy header matters only for the first address (the source), not the destination! After all, it's not strange to proxy from/to ipv4 and ipv6. Use getaddrinfo(NI_NUMERICHOST) to parse the IP addresses since inet_pton() is too strict. | |||
2024-08-03 | remove unused argument from check_port_v1 | Omar Polo | |
2024-08-03 | sync changelog | Omar Polo | |
2024-08-03 | gg: support IPv6 addresses in -P | Omar Polo | |
2024-08-03 | reword | Omar Polo | |
2024-08-03 | remove useless debugging log | Omar Polo | |
2024-08-03 | main_reload: save and restore prefork | Omar Polo | |
We only honour the prefork at startup time. | |||
2024-08-03 | regress: fix quit() | Omar Polo | |
2024-08-03 | regress: simplify code and fix comment | Omar Polo | |
we're not running under `set -e' since a long time. | |||
2024-08-03 | gmid.conf.5: some love for the EXAMPLES section | Omar Polo | |
Few grammar and style fixes, plus add an example about logging on a file. Prodded by https://github.com/omar-polo/gmid/issues/34 | |||
2024-08-03 | add support for using the proxy protocol v1 when proxying too | Omar Polo | |
This is symmetrical to the support for *incoming* requests. The new regress case uses this to proxy to itself using the proxy-protocol v1. Fixes https://github.com/omar-polo/gmid/issues/31 | |||
2024-08-03 | regress: run the proxies on a different port | Omar Polo | |
Soon we may want to run (some) proxies with the proxy-protocol so we can't reuse the same port. | |||
2024-08-03 | proxy_init: simplify logic | Omar Polo | |
2024-08-03 | regress: fix test_high_prefork() | Omar Polo | |
we don't load the prefork dynamically, only the prefork at startup is honoured, so fix the test by stopping gmid so it is started with the right prefork. | |||
2024-08-03 | fmt | Omar Polo | |
2024-07-08 | change the type for read_pos | Omar Polo | |
2024-07-08 | proxy protocol v1: handle EOF and short reads | Omar Polo | |
2024-07-08 | remove trailing whitespaces and extra braces | Omar Polo | |
2024-07-08 | move some variables to function scope | Omar Polo | |
2024-07-08 | fix left computation | Omar Polo | |
2024-07-08 | no need to clear error before calling read(2) | Omar Polo | |
There are only a few functions (so badly designed) that need to have errno cleared beforehand (hello, strtoll!). read(2) is not among these. | |||
2024-07-08 | s/should_buffer/proxy_proto | Omar Polo | |
2024-07-08 | fmt | Omar Polo | |
2024-07-06 | remove debug log | Omar Polo | |
2024-07-02 | gemexp: add -v | Omar Polo | |