apply @MDr164 various fixes

This commit is contained in:
Patricio Whittingslow
2026-07-28 20:29:06 -03:00
parent 743e09a4c1
commit de766c8a24
6 changed files with 114 additions and 35 deletions
+1 -1
View File
@@ -707,7 +707,7 @@ func TestExchangeRequestParseForm(t *testing.T) {
name: "body larger than buffer",
request: "POST /f HTTP/1.1\r\nHost: h\r\n" + formType + "Content-Length: 11\r\n\r\na=1&b=2&c=3",
bufSize: 4,
wantErr: lneto.ErrBufferFull,
wantErr: lneto.ErrShortBuffer,
},
} {
t.Run(test.name, func(t *testing.T) {