This commit is contained in:
Omar Polo 2021-12-29 20:36:54 +00:00
parent 4b5b1e82a9
commit 6a6b4a2a98
1 changed files with 1 additions and 1 deletions

View File

@ -1284,7 +1284,7 @@ cgi_read(struct bufferevent *bev, void *d)
header = evbuffer_readln(src, &len, EVBUFFER_EOL_CRLF_STRICT);
if (header == NULL) {
/* max reply + \r\n */
if (EVBUFFER_LENGTH(src) > 1026) {
if (EVBUFFER_LENGTH(src) > 1029) {
log_warn(client, "CGI script is trying to "
"send a header too long.");
cgi_error(bev, EVBUFFER_READ, client);