]> go.fuhry.dev Git - runtime.git/commit
[http] SNI proxying, healthcheck action, populate authorization, better handle nested...
authorDan Fuhry <dan@fuhry.com>
Fri, 15 Aug 2025 17:01:16 +0000 (13:01 -0400)
committerDan Fuhry <dan@fuhry.com>
Fri, 15 Aug 2025 21:37:57 +0000 (17:37 -0400)
commitfc0e309aa4b1786937947255f6ec1ee8297b32fa
tree8231347d3a3b1bfe6a272bf3d2cba48e67cb94e0
parentabc5ec7b9f6ecff22224a6adc72292d23a982173
[http] SNI proxying, healthcheck action, populate authorization, better handle nested authorization, docs

- added readme, because this is seriously getting too complicated for me to configure from memory
- refactored connection acceptance with a new `net.Listener` implementation that supports SNI, with virtual listeners that can be used with `http.Server`
- foundations laid for bare-TCP SNI proxying too, but implementation not started yet
- added `healthcheck` action
- added a mutable request context at the logging middleware level, to bubble up request data to the logger
- propagate SAML authorization state to global request context
- SAML action now skips if request was previously authorized
- got multiple listeners + multiple vhosts per listener working

No breaking config changes.
http/README.md [new file with mode: 0644]
http/http.go [new file with mode: 0644]
http/proxy/main.go
http/route_action_healthcheck.go [new file with mode: 0644]
http/route_action_saml.go
http/server.go
http/sni_listener.go [new file with mode: 0644]
mtls/fsnotify/fsnotify.go
utils/log/http.go
utils/log/log.go