Skip to content

server: a request body may be 2 GiB - #6

Merged
cynodesmus merged 1 commit into
cynodesmus:pr-27-upstream-payload-2gibfrom
timoncool:upstream-payload-2gib
Nov 19, 2026
Merged

cynodesmus merged 1 commit into
cynodesmus:pr-27-upstream-payload-2gibfrom
timoncool:upstream-payload-2gib

Conversation

@cynodesmus

Copy link
Copy Markdown
Owner

ServeurpersoCom#27
cpp-httplib refuses a request body over 100 MiB by default, so POST /transcribe or a VAE encode of a
recording longer than about four and a half minutes in 32-bit WAV was answered 413 Payload Too Large
(reported in YuE2 Studio #259). The server now accepts up to 2 GiB (an hour of 32-bit stereo at 48 kHz is
1.4 GB).

Tested in YuE2 Studio: a 126 MB WAV is accepted and transcribed into a score.

Ported onto master by hand from our fork, where it runs in YuE2 Studio 4.1.0; not built on master on our side.

cpp-httplib refuses a body over 100 MiB by default, so a recording longer
than about four and a half minutes in 32-bit WAV (POST /transcribe, a VAE
encode) was answered 413 Payload Too Large. An hour of 32-bit stereo at
48 kHz is 1.4 GB.
@cynodesmus
cynodesmus merged commit a7841e0 into cynodesmus:pr-27-upstream-payload-2gib Nov 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants