You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit ed88f03
Browse filesBrowse the repository at this point in the historyBrowse files
docs: Point streaming cap references at the new setting
Javadoc and README now name maxDecompressedStreamingRequestBytes where
streamed bodies are concerned. Adds an IT holding a streaming extra
route to the streaming cap, with the setters in reverse order.
Copy file name to clipboardExpand all lines: docs/superpowers/plans/2026-10-08-streaming-request-bodies.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -194,5 +194,6 @@ Spec: "Streaming decompression cap". Lifts the 2 GiB ceiling on decoded streams
194
194
-[x]**Step 1:**`RequestBodyReader`: three-argument constructor `(maxDecompressedBytes, maxStreamedDecompressedBytes, decoders)`, both validated positive; the two-argument constructor delegates with the same cap. `stream` passes the streamed cap to `DecodingInputStream`; `read` is unchanged.
195
195
-[x]**Step 2:**`Builder.maxDecompressedStreamingRequestBytes(long)` — any positive `long`; unset falls back to `maxDecompressedRequestBytes` at `build()`. Javadoc on both setters.
196
196
-[x]**Step 3:** Tests. Unit: streamed body held to its own cap, buffered body keeps its cap when the streamed one is higher, constructor rejects a non-positive streamed cap; builder accepts `Integer.MAX_VALUE + 1` and `Long.MAX_VALUE`, rejects 0 and -1. IT: a gzip body past the buffered cap streams when the streaming cap is higher; one past the streaming cap is 413.
197
-
-[x]**Step 4:** README "Raising the cap for streamed bodies", cross-links from "Content encoding", the streaming bullets and "Raw bodies"; spec section and constraint; this task.
197
+
-[x]**Step 4:** README "A separate cap for streamed bodies", cross-links from "Content encoding", the streaming bullets and "Raw bodies"; spec section and constraint; this task.
198
198
-[x]**Step 5:**`pre-commit run`, `mvn verify`, SonarLint on changed files; commit `feat: Separate decompression cap for streamed bodies` (signed) and push to PR #131.
199
+
-[x]**Step 6: Review (Opus, SHIP WITH FIXES, docs only).** Point the `StreamingRequestHandler`, `ContentCoding` and `contentCoding` javadoc and the README coding paragraph at the streaming cap; rename the README section to "A separate cap for streamed bodies" (it can be lower too) and complete its snippet; rewrap the spec paragraph. IT: a streaming extra route is held to the streaming cap, with the setters in reverse order.
0 commit comments