summaryrefslogtreecommitdiffhomepage
path: root/src/mail/ngx_mail_pop3_handler.c (follow)
AgeCommit message (Collapse)AuthorFilesLines
2021-05-19Mail: POP3 pipelining support.Maxim Dounin1-3/+12
The change is mostly the same as the SMTP one (04e43d03e153 and 3f5d0af4e40a), and ensures that nginx is able to properly handle or reject multiple POP3 commands, as required by the PIPELINING capability (RFC 2449). The s->cmd field is not really used and set for consistency.
2021-03-05Mail: added missing event handling after reading data.Maxim Dounin1-1/+15
If we need to be notified about further events, ngx_handle_read_event() needs to be called after a read event is processed. Without this, an event can be removed from the kernel and won't be reported again, notably when using oneshot event methods, such as eventport on Solaris. For consistency, existing ngx_handle_read_event() call removed from ngx_mail_read_command(), as this call only covers one of the code paths where ngx_mail_read_command() returns NGX_AGAIN. Instead, appropriate processing added to the callers, covering all code paths where NGX_AGAIN is returned.
2021-03-05Mail: added missing event handling after blocking events.Maxim Dounin1-0/+6
As long as a read event is blocked (ignored), ngx_handle_read_event() needs to be called to make sure no further notifications will be triggered when using level-triggered event methods, such as select() or poll().
2017-01-12Mail: make it possible to disable SASL EXTERNAL.Sergey Kandaurov1-0/+4
2016-10-08Mail: support SASL EXTERNAL (RFC 4422).Rob N ★1-0/+11
This is needed to allow TLS client certificate auth to work. With ssl_verify_client configured, the auth daemon can choose to allow the connection to proceed based on the certificate data. This has been tested with Thunderbird for IMAP only. I've not yet found a client that will do client certificate auth for POP3 or SMTP, and the method is not really documented anywhere that I can find. That said, its simple enough that the way I've done is probably right.
2012-02-28Fixed spelling in single-line comments.Ruslan Ermilov1-1/+1
2012-01-18Copyright updated.Maxim Konovalov1-0/+1
2010-05-14ngx_str_set() and ngx_str_null()Igor Sysoev1-14/+7
2010-02-12delete surplus codeIgor Sysoev1-2/+0
2009-02-09compatibility with Microsoft'sIgor Sysoev1-1/+9
AUTH LOGIN [base64 encoded user name ] patch by Maxim Dounin
2008-12-09use "!= NGX_OK" instead of "== NGX_ERROR"Igor Sysoev1-1/+1
2008-06-17*) back out r2040Igor Sysoev1-5/+5
*) refactor ngx_palloc() *) introduce ngx_pnalloc() *) additional pool blocks have smaller header
2007-12-10move condition declarations inside blocks where they are usedIgor Sysoev1-4/+3
2007-09-15ngx_mail_pop3_module, ngx_mail_imap_module, and ngx_mail_smtp_moduleIgor Sysoev1-13/+16
2007-09-14style fix: remove trailing spacesIgor Sysoev1-1/+1
2007-09-14optimizationsIgor Sysoev1-2/+2
2007-09-14move event handling to protocol specific code,Igor Sysoev1-0/+6
it is required to support SMTP greeting delay
2007-09-13optimizationsIgor Sysoev1-89/+28
2007-09-13style fix and optimizationsIgor Sysoev1-3/+3
2007-09-13split pop3, imap, and smtp handlersIgor Sysoev1-0/+553