private Http2Settings http2Settings() {
        final Http2Settings settings = new Http2Settings();
        final int initialWindowSize = clientFactory.http2InitialStreamWindowSize();
        if (initialWindowSize != DEFAULT_WINDOW_SIZE) {
            settings.initialWindowSize(initialWindowSize);
        }
        final int maxFrameSize = clientFactory.http2MaxFrameSize();
        if (maxFrameSize != DEFAULT_MAX_FRAME_SIZE) {
            settings.maxFrameSize(maxFrameSize);
        }
        settings.maxHeaderListSize(clientFactory.http2MaxHeaderListSize());
        settings.pushEnabled(false);
        return settings;
    }
A handler that closes an HTTP/2 connection when the server responds with an HTTP/1 response, so that
HTTP/1 is used instead of HTTP/2 on next connection attempt.
core/src/main/java/com/linecorp/armeria/client/HttpClientPipelineConfigurator.java