Skip to content

Commit

Permalink
Emit 431 on too many headers
Browse files Browse the repository at this point in the history
  • Loading branch information
uNetworkingAB committed Sep 1, 2024
1 parent 6b966b2 commit 388e2b3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/HttpParser.h
Original file line number Diff line number Diff line change
Expand Up @@ -446,6 +446,7 @@ struct HttpParser {
}
}
/* We ran out of header space, too large request */
err = HTTP_ERROR_431_REQUEST_HEADER_FIELDS_TOO_LARGE;
return 0;
}

Expand Down

0 comments on commit 388e2b3

Please sign in to comment.