Skip to content

GZIP encoding with AsyncMiddleManServlet #12935

@iiliev2

Description

@iiliev2

Jetty Version 12

Jetty Environment
ee8

17

Question
When building a transparent proxy based on AsyncMiddleManServlet how should gzipping be implemented? Do we need to use the GzipHandler, or a AsyncMiddleManServlet.GZIPContentTransformer? The handler's default isSyncFlush is false, which does not work well for a proxy. The server where the AsyncMiddleManServlet is deployed is serving other paths(restapi, etc.), so that handler should ideally be configured with a different syncFlush for different paths(but that is not supported).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions