Skip to content

JFR File Download does not use transfer-encoding/chunked method  #117

@tallpsmith

Description

@tallpsmith

I faced an issue using this excellent starter (thank you). Our service was running behind Google Cloud Run which defines a hard limit of 32MB response unless the

from: https://cloud.google.com/run/quotas#cloud_run_limits

Maximum HTTP/1 response size | 32 MiB if not using Transfer-Encoding: chunked or streaming mechanisms

The Download endpoint sets the headers for file transfer, but doesn't specifically return a 'friendly' streaming response (at least not friendly to Google Cloud Run):

I suspect this method would need to change to something like a StreamingResponseBody, possibly?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions