You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 19, 2024. It is now read-only.
If a vhost is set to proxy mode, and where the proxy target/endpoint is 127.0.0.1:443, slimHTTP will hang indefinitely due to the lack of threads. Since slimHTTP will connect to the proxy (self), and wait for data as it's not part of the main event loop (yet).
Which means that slimHTTP can't process the incoming client request from itself - and thus hang.
the HTTP_PROXY_REQUEST should be part of the main event poller, although I'm not sure how to wrap it in there just yet.
So for now, let check_config find and warn/raise an issue when the proxy config points to a listening address/session of itself.
If a
vhostis set toproxymode, and where the proxy target/endpoint is127.0.0.1:443, slimHTTP will hang indefinitely due to the lack of threads. Since slimHTTP will connect to the proxy (self), and wait for data as it's not part of the main event loop (yet).Which means that slimHTTP can't process the incoming client request from itself - and thus hang.
the
HTTP_PROXY_REQUESTshould be part of the main event poller, although I'm not sure how to wrap it in there just yet.So for now, let
check_configfind and warn/raise an issue when the proxy config points to a listening address/session of itself.