oxy serve refuses a push of more than 2 MB, and says nothing issue #138 closed: completed andymccall opened this · 0 comments
andymccall set labels bug ·
closed by change e30c081a5064 ·
andymccall referenced by change 570e35310f31 on main ·
andymccall set labels bug ·
closed by change e30c081a5064 ·
andymccall referenced by change 570e35310f31 on main ·
Found measuring issue #136 (2026-10-25): pushing oxygenhub-android's history to a local
oxy servefailed after "part 1 of 3: 8 changes" withNetwork Error: Broken pipe (os error 32), and the server logged nothing.oxy_server::routersets no body limit, so axum's default of 2 MB applies to every request, and a push part is up topush.batch-bytes(64 MiB). OxygenHub is not affected: it sets its ownpush_body_limit(4 GiB) on the protocol routes.Fix:
oxy servetakes 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.