aboutsummaryrefslogtreecommitdiff
path: root/server.c
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2021-12-29 20:36:54 +0000
committerOmar Polo <op@omarpolo.com>2021-12-29 20:36:54 +0000
commit6a6b4a2a98c508d2714eb899c0a23d2087b6e683 (patch)
treeac5dc7472e035a8deb6bc4312c771b0c6877e6f0 /server.c
parent4b5b1e82a9459f7b4c11a31da4409c5b527730e8 (diff)
typo
Diffstat (limited to 'server.c')
-rw-r--r--server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/server.c b/server.c
index 402eda4..c2967da 100644
--- a/server.c
+++ b/server.c
@@ -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);