Skip to content

Buffer chunked HTTP uploads - #479

Merged
0xShug0 merged 2 commits into
mainfrom
fix/buffer-chunked-http-uploads
Sep 7, 2026
Merged

Buffer chunked HTTP uploads#479
0xShug0 merged 2 commits into
mainfrom
fix/buffer-chunked-http-uploads

Conversation

@0xShug0

@0xShug0 0xShug0 commented Sep 7, 2026

Copy link
Copy Markdown
Owner

Summary

  • buffer non-live HTTP/1.1 requests that use exact Transfer-Encoding: chunked
  • keep /v1/audio/transcriptions/live and /v1/audio/speech/live on the existing incremental body-stream path
  • fixes Open WebUI-style chunked multipart uploads reaching /v1/audio/transcriptions as an empty body

Validation

  • cmake --build build/debug -j$(nproc) --target audiocpp_server
  • chunked multipart MP3 upload reaches multipart parsing and returns the same existing 400 as a content-length MP3 upload: only WAV audio uploads are currently supported for transcription; MP3 support is planned
  • chunked JSON reaches JSON parsing instead of an empty body path
  • /v1/audio/transcriptions/live still follows the live incremental route

@0xShug0
0xShug0 merged commit 9c2f238 into main Sep 7, 2026
9 checks passed
@0xShug0
0xShug0 deleted the fix/buffer-chunked-http-uploads branch September 7, 2026 06:07
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.

1 participant