[jboss-jira] [JBoss JIRA] (WFLY-13432) Provide capability for Undertow HTTP Upgrade registry
Richard Achmatowicz (Jira)
issues at jboss.org
Fri May 8 12:35:00 EDT 2020
[ https://issues.redhat.com/browse/WFLY-13432?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14085257#comment-14085257 ]
Richard Achmatowicz commented on WFLY-13432:
--------------------------------------------
The HTTP Upgrade feature of Undertow depends on other subsystems having access to a Value service defined in the Undertow HttpListenerResource. The ServiceName is JBOSS."http-upgrade-registry" and the value returned is ChannelUpgradeHandler.
This is used by other subsystems (remoting, host-controller, and server in Wildfly core, and messaging-activemq in Wildfly) and currently does no make use of capabilities.
I added a capability HTTP_UPGRADE_REGISTRY_CAPABILIY in HttpListenerResourceDefinition and used it to generate the ServiceName for the Value service. Because other subsystems still rely on the old ServiceName, I added that ServiceName as an alias when building the service so that the other subsystems would not be affected. Thanks to Paul F. for helping out with that!
> Provide capability for Undertow HTTP Upgrade registry
> -----------------------------------------------------
>
> Key: WFLY-13432
> URL: https://issues.redhat.com/browse/WFLY-13432
> Project: WildFly
> Issue Type: Bug
> Components: Web (Undertow)
> Affects Versions: 20.0.0.Beta1
> Reporter: Richard Achmatowicz
> Assignee: Richard Achmatowicz
> Priority: Major
>
> The HTTP Upgrade feature of Undertow depends on subsystems such as Messaging and EJB having access to a registry of upgrade protocols (ChannelUpgradeHandler) provided by Undertow. This needs to be updated to use capabilities.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
More information about the jboss-jira
mailing list