OXYGENHUB

oxy serve refuses a push of more than 2 MB, and says nothing issue #138 closed: completed andymccall opened this · 0 comments

andymccall

Found measuring issue #136 (2026-10-25): pushing oxygenhub-android's history to a local oxy serve failed after "part 1 of 3: 8 changes" with Network Error: Broken pipe (os error 32), and the server logged nothing. oxy_server::router sets no body limit, so axum's default of 2 MB applies to every request, and a push part is up to push.batch-bytes (64 MiB). OxygenHub is not affected: it sets its own push_body_limit (4 GiB) on the protocol routes.

Fix: oxy serve takes requests up to 4 GiB (oxy_server::BODY_LIMIT, the hub's default), with a test pushing 3 MB over HTTP that fails without it.

andymccall set labels bug ·

closed by change e30c081a5064 ·

andymccall referenced by change 570e35310f31 on main ·