Skip to content

execute throws NIOHTTPDecompression.DecompressionError.limit #902

@finestructure

Description

@finestructure

I've got a case when using AsyncHTTPClient where a large (but not super large) response is throwing a NIOHTTPDecompression.DecompressionError.limit. The same request works with URLSession. I've had a look around but I can't find any documentation on how to increase this limit and I can't switch to URLSession where this is being used, unfortunately.

Is this configurable at all?

If it helps, the call site is (via Vapor's wrapper)

let req = try Request(url: url, method: .GET, headers: headers)
try await Vapor.HTTPClient.shared.execute(request: req).get()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions