mirror of
https://github.com/nginx/nginx.git
synced 2025-01-19 01:42:58 +08:00
close connection for too long commands
This commit is contained in:
parent
9d58e4bed3
commit
bb19bcd867
@ -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…
Reference in New Issue
Block a user