Summary: | bug in function proxy_wstunnel_canon preventing functionality of websocket proxy over Unix Domain Sockets | ||
---|---|---|---|
Product: | Apache httpd-2 | Reporter: | pavel |
Component: | mod_proxy_wstunnel | Assignee: | Apache HTTPD Bugs Mailing List <bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | kamonpopasa |
Priority: | P2 | Keywords: | FixedInTrunk, PatchAvailable |
Version: | 2.4-HEAD | ||
Target Milestone: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Attachments: | patch for modules/proxy/mod_proxy_wstunnel.c |
do you need additional information ? can i assist to reproduce this issue ? Thx for the report and for the reminder. Committed in trunk in r1851093. |
Created attachment 36271 [details] patch for modules/proxy/mod_proxy_wstunnel.c configuration example: <Location "/apis"> ProxyPass unix:/var/run/unix.sock|ws://127.0.0.1/api </Location> currently ap_proxy_get_worker can't get matched pre-defined worker because of different uri formatting in proxy_wstunnel_canon and ap_proxy_define_worker from additionally added logs i see what ap_proxy_get_worker has failed to match ws://127.0.0.1:80/api/router/proxy AND ws://127.0.0.1/api and fallback to default (*) proxy worker (which does work because nothing know about UDS path) imho this patch should be pushed to trunk also