Skip to content

Commit 9fccc3b

Browse files
committed
Go suddenly complains about a missing final HTTP chunk
1 parent b7f47a8 commit 9fccc3b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

trailer_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ Trailer: Expires, Hdr
5252
5353
`
5454

55-
var longReq1 = rawHeaders1 + "5000\r\n" + strings.Repeat("x", 0x5000) + "\r\n\r\n" + "Hdr: zoomba\r\n\r\n"
55+
var longReq1 = rawHeaders1 + "5000\r\n" + strings.Repeat("x", 0x5000) + "\r\n0\r\n" + "Hdr: zoomba\r\n\r\n"
5656

5757
func TestTrailer_Get(t *testing.T) {
5858
fetchVerifier := func(r *http.Request) (string, *Verifier) {

0 commit comments

Comments
 (0)