b***@apache.org
2018-11-21 11:02:10 UTC
https://bz.apache.org/bugzilla/show_bug.cgi?id=62932
Bug ID: 62932
Summary: bug in function proxy_wstunnel_canon preventing
functionality of websocket proxy over Unix Domain
Sockets
Product: Apache httpd-2
Version: 2.4-HEAD
Hardware: All
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: mod_proxy_wstunnel
Assignee: ***@httpd.apache.org
Reporter: ***@dcmsys.com
Target Milestone: ---
Created attachment 36271
--> https://bz.apache.org/bugzilla/attachment.cgi?id=36271&action=edit
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
Bug ID: 62932
Summary: bug in function proxy_wstunnel_canon preventing
functionality of websocket proxy over Unix Domain
Sockets
Product: Apache httpd-2
Version: 2.4-HEAD
Hardware: All
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: mod_proxy_wstunnel
Assignee: ***@httpd.apache.org
Reporter: ***@dcmsys.com
Target Milestone: ---
Created attachment 36271
--> https://bz.apache.org/bugzilla/attachment.cgi?id=36271&action=edit
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
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-***@httpd.apache.org
For additional commands, e-mail: bugs-***@httpd.apache.org
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-***@httpd.apache.org
For additional commands, e-mail: bugs-***@httpd.apache.org