Skip to content

Open-source Grok Bot alternative with a virtual machine that bots can use

Phone web app HTTP: the trailer limit error names what is left of the section

Bugfixer 21744a78d1b4c
diff --git a/src/lib/e2e/http.ts b/src/lib/e2e/http.ts
index 20ce16a51e..4c2324bc02 100644
--- a/src/lib/e2e/http.ts
+++ b/src/lib/e2e/http.ts
@@ -255,7 +255,7 @@ export async function streamFetch(open: () => E2EStream, request: StreamRequest)
const trailers = new Headers();
let room = MAX_HEAD;
for (;;) {
- const line = await reader.until([13, 10], room, "trailer section");
+ const line = await reader.until([13, 10], room, "rest of the trailer section");
if (!line.length) break;
room = Math.max(0, room - line.length - 2);
appendField(trailers, byteString(line));