Skip to content

Commit

Permalink
Merge pull request #6640 from luiseufrasio/FISH-6456-remove-http-2-wa…
Browse files Browse the repository at this point in the history
…rning

FISH-6456: checking if http2 is enabled
  • Loading branch information
luiseufrasio authored Apr 16, 2024
2 parents 89f4b88 + 5d979e9 commit 9900b21
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 9900b21

Please sign in to comment.