You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2017/06/01 15:09:02 UTC
[Bug 61142] New: mod_proxy_wstunnel to upgrade to any protocol
dynamically
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: bugs@httpd.apache.org
Reporter: jbaesner@redhat.com
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: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
[Bug 61142] mod_proxy_wstunnel to upgrade to any protocol
dynamically
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61142
jfclere <jf...@gmail.com> 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: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
[Bug 61142] mod_proxy_wstunnel to upgrade to any protocol
dynamically
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61142
--- Comment #5 from Yann Ylavic <yl...@gmail.com> ---
Backported to 2.4.28 in r1808698.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
[Bug 61142] mod_proxy_wstunnel to upgrade to any protocol
dynamically
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61142
--- Comment #1 from jfclere <jf...@gmail.com> ---
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: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
[Bug 61142] mod_proxy_wstunnel to upgrade to any protocol
dynamically
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61142
--- Comment #3 from jfclere <jf...@gmail.com> ---
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: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
[Bug 61142] mod_proxy_wstunnel to upgrade to any protocol
dynamically
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61142
--- Comment #2 from Joerg Baesner <jb...@redhat.com> ---
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: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
[Bug 61142] mod_proxy_wstunnel to upgrade to any protocol
dynamically
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61142
--- Comment #4 from jfclere <jf...@gmail.com> ---
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: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org