Skip to content

Commit 388e2b3

Browse files
committed
Emit 431 on too many headers
1 parent 6b966b2 commit 388e2b3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/HttpParser.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -446,6 +446,7 @@ struct HttpParser {
446446
}
447447
}
448448
/* We ran out of header space, too large request */
449+
err = HTTP_ERROR_431_REQUEST_HEADER_FIELDS_TOO_LARGE;
449450
return 0;
450451
}
451452

0 commit comments

Comments
 (0)