This is an automated email from the ASF dual-hosted git repository.

paulrutter pushed a commit to branch maintenance/FELIX-6832-fix-deprecations
in repository https://gitbox.apache.org/repos/asf/felix-dev.git

commit 9faae83b543837b6ccc815acbbf9eebac3b99db5
Author: Paul Rütter <[email protected]>
AuthorDate: Thu May 28 13:05:55 2026 +0200

    FELIX-6832 Remove obsolete org.apache.felix.jetty.gzip.inflateBufferSize 
property
    
    The new Jetty CompressionHandler API has no equivalent to GzipHandler's
    inflate buffer size knob, so this property no longer has any effect.
    Remove it entirely (constant, getter, and metatype entry) rather than
    leaving a dead config option that misleads users.
---
 .../apache/felix/http/jetty/internal/ConfigMetaTypeProvider.java   | 5 -----
 .../java/org/apache/felix/http/jetty/internal/JettyConfig.java     | 7 -------
 2 files changed, 12 deletions(-)

diff --git 
a/http/jetty12/src/main/java/org/apache/felix/http/jetty/internal/ConfigMetaTypeProvider.java
 
b/http/jetty12/src/main/java/org/apache/felix/http/jetty/internal/ConfigMetaTypeProvider.java
index a714a95dfa..dd629973ba 100644
--- 
a/http/jetty12/src/main/java/org/apache/felix/http/jetty/internal/ConfigMetaTypeProvider.java
+++ 
b/http/jetty12/src/main/java/org/apache/felix/http/jetty/internal/ConfigMetaTypeProvider.java
@@ -377,11 +377,6 @@ class ConfigMetaTypeProvider implements MetaTypeProvider
                 String.format("The minimum response size to trigger dynamic 
compression. Default is %d.", JettyConfig.DEFAULT_GZIP_MIN_SIZE),
                 JettyConfig.DEFAULT_GZIP_MIN_SIZE,
                 
bundle.getBundleContext().getProperty(JettyConfig.FELIX_JETTY_GZIP_MIN_GZIP_SIZE)));
-        adList.add(new 
AttributeDefinitionImpl(JettyConfig.FELIX_JETTY_GZIP_INFLATE_BUFFER_SIZE,
-                "Gzip Inflate Buffer Size",
-                "The size in bytes of the buffer to inflate compressed 
request, or <= 0 for no inflation. Default is -1.",
-                -1,
-                
bundle.getBundleContext().getProperty(JettyConfig.FELIX_JETTY_GZIP_INFLATE_BUFFER_SIZE)));
         adList.add(new 
AttributeDefinitionImpl(JettyConfig.FELIX_JETTY_GZIP_SYNC_FLUSH,
                 "Gzip Sync Flush",
                 "True if Deflater#SYNC_FLUSH should be used, else 
Deflater#NO_FLUSH will be used. Default is false.",
diff --git 
a/http/jetty12/src/main/java/org/apache/felix/http/jetty/internal/JettyConfig.java
 
b/http/jetty12/src/main/java/org/apache/felix/http/jetty/internal/JettyConfig.java
index f3a7680f2d..d344447acd 100644
--- 
a/http/jetty12/src/main/java/org/apache/felix/http/jetty/internal/JettyConfig.java
+++ 
b/http/jetty12/src/main/java/org/apache/felix/http/jetty/internal/JettyConfig.java
@@ -240,9 +240,6 @@ public final class JettyConfig
     /** Felix specific property to specify the minimum response size to 
trigger dynamic compression */
     public static final String FELIX_JETTY_GZIP_MIN_GZIP_SIZE = 
"org.apache.felix.jetty.gzip.minGzipSize";
 
-    /** Felix specific property to specify the size in bytes of the buffer to 
inflate compressed request, or 0 for no inflation. */
-    public static final String FELIX_JETTY_GZIP_INFLATE_BUFFER_SIZE = 
"org.apache.felix.jetty.gzip.inflateBufferSize";
-
     /** Felix specific property to specify the {@link Deflater} flush mode to 
use. */
     public static final String FELIX_JETTY_GZIP_SYNC_FLUSH = 
"org.apache.felix.jetty.gzip.syncFlush";
 
@@ -693,10 +690,6 @@ public final class JettyConfig
         return getIntProperty(FELIX_JETTY_GZIP_MIN_GZIP_SIZE, 
DEFAULT_GZIP_MIN_SIZE);
     }
 
-    public int getGzipInflateBufferSize() {
-        return getIntProperty(FELIX_JETTY_GZIP_INFLATE_BUFFER_SIZE, -1);
-    }
-
     public boolean isGzipSyncFlush() {
         return getBooleanProperty(FELIX_JETTY_GZIP_SYNC_FLUSH, false);
     }

Reply via email to