mirror of
https://github.com/nginx/nginx.git
synced 2024-12-12 18:29:00 +08:00
reset pop3 parsing state
This commit is contained in:
parent
eb885fafd2
commit
66fe3fdc10
@ -1024,6 +1024,7 @@ ngx_pop3_auth_state(ngx_event_t *rev)
|
||||
s->args.nelts = 0;
|
||||
s->buffer->pos = s->buffer->start;
|
||||
s->buffer->last = s->buffer->start;
|
||||
s->state = 0;
|
||||
|
||||
if (rev->timer_set) {
|
||||
ngx_del_timer(rev);
|
||||
@ -1095,6 +1096,7 @@ ngx_pop3_auth_state(ngx_event_t *rev)
|
||||
s->args.nelts = 0;
|
||||
s->buffer->pos = s->buffer->start;
|
||||
s->buffer->last = s->buffer->start;
|
||||
s->state = 0;
|
||||
|
||||
if (rev->timer_set) {
|
||||
ngx_del_timer(rev);
|
||||
@ -1154,6 +1156,7 @@ ngx_pop3_auth_state(ngx_event_t *rev)
|
||||
s->args.nelts = 0;
|
||||
s->buffer->pos = s->buffer->start;
|
||||
s->buffer->last = s->buffer->start;
|
||||
s->state = 0;
|
||||
|
||||
if (rev->timer_set) {
|
||||
ngx_del_timer(rev);
|
||||
|
Loading…
Reference in New Issue
Block a user