[Bug 61142] New: mod_proxy_wstunnel to upgrade to any protocol dynamically

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[Bug 61142] New: mod_proxy_wstunnel to upgrade to any protocol dynamically

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

            Bug ID: 61142
           Summary: mod_proxy_wstunnel to upgrade to any protocol
                    dynamically
           Product: Apache httpd-2
           Version: 2.5-HEAD
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_proxy_wstunnel
          Assignee: [hidden email]
          Reporter: [hidden email]
  Target Milestone: ---

I'm trying to use Apache httpd 2.4.x in order to proxy incoming connection to
another IP/Port used by Wildfly 11 that listens to an upgraded http connection.

In this specific case I'm trying to proxy a remote JMS invocation. Here more
than one connection are being used by the "framework" code, each having a
different "upgrade".

The first request has the upgrade 'jboss-remoting' whereas the second request
has the upgrade 'activemq-remoting'. This is due to the fact that the initial
request is made by the JBoss remoting and the next request is then being
handled by netty from the messaging sub-system 'ActiveMQ'...

So what is needed is a dynamic upgrade to the protocol in the header.

I'll provide a way to reproduce it later, as there're currently some errors in
the community projects...

--
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
|  
Report Content as Inappropriate

[Bug 61142] mod_proxy_wstunnel to upgrade to any protocol dynamically

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

--- Comment #1 from jfclere <[hidden email]> ---
Note I have already add some logic in mod_proxy_wstunnel to allow different
configurable upgrade, this case is similar except we use a single port/ip to
upgrade to 2 different protocols in the first request Upgrade header contains
the protocol the back-end will do, mod_proxy_wstunnel tunnels so that be quite
easy to add.

--
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
|  
Report Content as Inappropriate

[Bug 61142] mod_proxy_wstunnel to upgrade to any protocol dynamically

Bugzilla from bugzilla@apache.org
In reply to this post by Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=61142

--- Comment #2 from Joerg Baesner <[hidden email]> ---
Created attachment 35093
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=35093&action=edit
Reproducer application

This zip contains a simple Maven project that can be used to create this
situation. An explanation how to use the project is given in the included
README.md...

--
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
|  
Report Content as Inappropriate

[Bug 61142] mod_proxy_wstunnel to upgrade to any protocol dynamically

Bugzilla from bugzilla@apache.org
In reply to this post by Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=61142

--- Comment #3 from jfclere <[hidden email]> ---
Created attachment 35117
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=35117&action=edit
patch to fix the issue

patch for 2.4.x

--
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
|  
Report Content as Inappropriate

[Bug 61142] mod_proxy_wstunnel to upgrade to any protocol dynamically

Bugzilla from bugzilla@apache.org
In reply to this post by Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=61142

--- Comment #4 from jfclere <[hidden email]> ---
Committed in trunk and back port proposed for 2.4.x

--
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
|  
Report Content as Inappropriate

[Bug 61142] mod_proxy_wstunnel to upgrade to any protocol dynamically

Bugzilla from bugzilla@apache.org
In reply to this post by Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=61142

jfclere <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--
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]

Loading...