summaryrefslogtreecommitdiffhomepage
path: root/src/mail/ngx_mail_proxy_module.c (follow)
AgeCommit message (Collapse)AuthorFilesLines
2017-11-20Fixed worker_shutdown_timeout in various cases.Maxim Dounin1-2/+5
The ngx_http_upstream_process_upgraded() did not handle c->close request, and upgraded connections do not use the write filter. As a result, worker_shutdown_timeout did not affect upgraded connections (ticket #1419). Fix is to handle c->close in the ngx_http_request_handler() function, thus covering most of the possible cases in http handling. Additionally, mail proxying did not handle neither c->close nor c->error, and thus worker_shutdown_timeout did not work for mail connections. Fix is to add c->close handling to ngx_mail_proxy_handler(). Also, added explicit handling of c->close to stream proxy, ngx_stream_proxy_process_connection(). This improves worker_shutdown_timeout handling in stream, it will no longer wait for some data being transferred in a connection before closing it, and will also provide appropriate logging at the "info" level.
2016-03-31Fixed logging.Sergey Kandaurov1-1/+1
2015-04-29Removed the deprecated "so_keepalive" directive.Ruslan Ermilov1-13/+0
2014-01-17Mail: fixed passing of IPv6 client address in XCLIENT.Ruslan Ermilov1-5/+28
2013-09-30Mail: handle smtp multiline replies.Maxim Dounin1-1/+20
See here for details: http://nginx.org/pipermail/nginx/2010-August/021713.html http://nginx.org/pipermail/nginx/2010-August/021784.html http://nginx.org/pipermail/nginx/2010-August/021785.html
2013-09-30Mail: smtp pipelining support.Maxim Dounin1-1/+6
Basically, this does the following two changes (and corresponding modifications of related code): 1. Does not reset session buffer unless it's reached it's end, and always wait for LF to terminate command (even if we detected invalid command). 2. Record command name to make it available for handlers (since now we can't assume that command starts from s->buffer->start).
2012-01-18Copyright updated.Maxim Konovalov1-0/+1
2011-11-14Fixed NGX_CONF_TAKE1/NGX_CONF_FLAG misuse.Sergey Budnevitch1-1/+1
2010-05-14ngx_str_set() and ngx_str_null()Igor Sysoev1-6/+3
2010-04-23Zimbra IMAP server may return only 4 bytes: "+ \r\n"Igor Sysoev1-1/+1
2009-11-02rename ngx_peer_addr_t to ngx_addr_tIgor Sysoev1-1/+1
2009-06-02return NULL instead of NGX_CONF_ERROR on a create conf failureIgor Sysoev1-1/+1
2009-02-10send HELO/EHLO after XCLIENTIgor Sysoev1-6/+35
patch by Maxim Dounin
2009-01-13update r2439: make clear nameIgor Sysoev1-3/+3
2009-01-12fix r2312Igor Sysoev1-1/+1
2008-12-09use "!= NGX_OK" instead of "== NGX_ERROR"Igor Sysoev1-6/+6
2008-11-13do not close session if SMTP backend returned an error on RCPT TOIgor Sysoev1-15/+13
patch by Maxim Dounin
2008-11-13smtp_auth noneIgor Sysoev1-22/+87
patch by Maxim Dounin
2008-06-17*) back out r2040Igor Sysoev1-7/+7
*) refactor ngx_palloc() *) introduce ngx_pnalloc() *) additional pool blocks have smaller header
2008-04-29reset messageIgor Sysoev1-0/+2
2008-02-13resolver in smtp proxy moduleIgor Sysoev1-8/+7
2007-09-15ngx_mail_pop3_module, ngx_mail_imap_module, and ngx_mail_smtp_moduleIgor Sysoev1-0/+2
2007-07-24fix case when client has closed connection but upstream buffer is not emptyIgor Sysoev1-3/+5
2007-04-18style fix: remove tabsIgor Sysoev1-9/+9
2007-03-19Many changes:Igor Sysoev1-0/+994
*) rename imap to mail, sort pop3/imap functions *) smtp auth support *) pop3 starttls only *) fix segfault if cram-md5 was used without apop