[Bug 62932] New: bug in function proxy_wstunnel_canon preventing functionality of websocket proxy over Unix Domain Sockets

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug 62932] New: bug in function proxy_wstunnel_canon preventing functionality of websocket proxy over Unix Domain Sockets

Bugzilla from bugzilla@apache.org
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: [hidden email]
          Reporter: [hidden email]
  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: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Bug 62932] bug in function proxy_wstunnel_canon preventing functionality of websocket proxy over Unix Domain Sockets

Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=62932

gamolphob <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]
                URL|                            |http://192.168.50.1/login?d
                   |                            |st=http%3A%2F%2Fconnectivit
                   |                            |ycheck.gstatic.com%2Fgenera
                   |                            |te_204

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]