- Last Change:
- Clone URL:
ssh://anonymous@rsadowski.gothub.org:2242/relayd.git
- ECDSA:
SHA256:Oq94TREAyXnZDrdacYaMwJnEVSPH4q+LaRHm/zHWzEY
- ED25519:
SHA256:ifzNYlBwG2RJUJ5G0c/Ec/Ggry4qeZBlg2SMMkdmHm8
- RSA:
SHA256:ic1xfYGl/bQ07MLkmBh3GjgznuKfAzIxsUmla82R9GY
Commit Briefs
Remove inline goto done (refactor/http)
Replace goto done with direct relay_close() calls and remove the now unused done labels. No functional change.
move HTTP start-line logic to a dedicated function
This is a structural refactoring with no functional change.
fix memory leak in rsae_send_imsg
If the cookie doesn't match, we bail with a continue and totally forget to free the imsg. OK claudio@
usr.sbin/relayd: add support for PROXY protocol in TCP relays
patch from Christoph Liebender OK: rsadowski@
Slightly iprove a confusing wording in the parse.y manuals:
The things that need quoting are not necessarily "argument names", and not even necessarily "names" at all, so just talk about "arguments". "I guess?" florian@ and no objection from otto@, both back in July 2025. Actually, the quoting rules are more complicated than the text makes believe, but i do not know how to better describe them. It may not be easy because some suspect the implementation may be somewhat adhoc rather than based on cleary defined lexical rules.
fix missing initialisation
It is possible that "request_method" is checked without having been initialised in line 439. OK kirill@ stsp@
relayd: fix dead store and unindent carp_demote_init
Found by scan-build: carp.c:64:7: warning: Although the value stored to 'c' is used in the enclosing expression, the value is never actually read from 'c' [deadcode.DeadSt ores] 64 | if ((c = carp_group_find(group)) == NULL) Feedback from Crystal Kolipe and tb@, OK tb@
relayd: fix relay_http_time() to emit GMT times again
The HTTP standard RFC 9110 requires GMT, in HTTP-date. We used to do this until a recent modification to localtime.c changed GMT to UTC. sync from httpd
