mirror of
https://github.com/nginx/nginx.git
synced 2026-08-04 14:58:20 +00:00
close connection for too long commands
This commit is contained in:
parent
9d58e4bed3
commit
bb19bcd867
1 changed files with 2 additions and 0 deletions
|
|
@ -1253,6 +1253,8 @@ ngx_imap_read_command(ngx_imap_session_t *s)
|
|||
ngx_log_error(NGX_LOG_INFO, s->connection->log, 0,
|
||||
"client sent too long command \"%V\"", &l);
|
||||
|
||||
s->quit = 1;
|
||||
|
||||
return NGX_IMAP_PARSE_INVALID_COMMAND;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue