Skip to content

Commit

Permalink
Merge pull request payara#6640 from luiseufrasio/FISH-6456-remove-htt…
Browse files Browse the repository at this point in the history
…p-2-warning

FISH-6456: checking if http2 is enabled
  • Loading branch information
luiseufrasio authored and Pandrex247 committed May 2, 2024
1 parent 1e115e9 commit 27114cc
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
* holder.
*
*
* Portions Copyright [2016-2021] [Payara Foundation and/or its affiliates]
* Portions Copyright [2016-2024] [Payara Foundation and/or its affiliates]
*/
package org.glassfish.grizzly.config;

Expand Down Expand Up @@ -487,9 +487,9 @@ protected void configureSubProtocol(final ServiceLocator habitat,
ProtocolFinder.class, finderClassname, finderClassname);
configureElement(habitat, networkListener, finderConfig, protocolFinder);
final Protocol subProtocol = finderConfig.findProtocol();

if (subProtocol.getHttp() != null) {
if (LOGGER.isLoggable(WARNING)) {
if (LOGGER.isLoggable(WARNING) && isHttp2Enabled()) {
LOGGER.log(WARNING,
"HTTP/2 (enabled by default) is unsupported with port " +
"unification and will be disabled for network listener {0}.", networkListener.getName());
Expand Down

0 comments on commit 27114cc

Please sign in to comment.