Skip to content

feature: Enlarge maxBodySize #737

Description

@esnible

Feature Description

maxBodySize is hard-coded to 1MB, Envoy's default per_stream_buffer_limit_bytes.

I can Claude through authbridge's forward proxy, and I see

time=2026-08-04T19:00:49.374Z level=INFO msg=inference-parser binary=authbridge-proxy model=claude-opus-5
time=2026-08-04T19:00:57.435Z level=WARN msg="forward-proxy: response body too large" binary=authbridge-proxy host=downloads.claude.ai len=1048577
time=2026-08-04T19:01:03.243Z level=WARN msg="forward-proxy: text/event-stream response with WritesBody plugin — falling back to buffered path" binary=authbridge-proxy host=ete-litellm.ai-models.vpc-int.res.ibm.com

in the logs. Note that I only asked Claude to test connection to get this large response.

Proposed Solution

Increase the default and add a config or env variable to override the default.

Want to contribute?

  • I would like to work on this issue.

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions