comparison src/imap/ngx_imap_handler.c @ 567:1af2fcb3be8a release-0.3.5

nginx-0.3.5-RELEASE import *) Bugfix: the segmentation fault may occurred if the IMAP/POP3 login was changed by authorization server; the bug had appeared in 0.2.2. *) Bugfix: the accept mutex did not work and all connections were handled by one process; the bug had appeared in 0.3.3. *) Bugfix: the timeout did not work if the "rtsig" method and the "timer_resolution" directive were used.
author Igor Sysoev <igor@sysoev.ru>
date Fri, 21 Oct 2005 19:12:18 +0000
parents 818fbd4750b9
children 174f1e853e1e
comparison
equal deleted inserted replaced
566:4fc7c33856a4 567:1af2fcb3be8a
765 765
766 766
767 static u_char * 767 static u_char *
768 ngx_imap_log_error(ngx_log_t *log, u_char *buf, size_t len) 768 ngx_imap_log_error(ngx_log_t *log, u_char *buf, size_t len)
769 { 769 {
770 u_char *p; 770 u_char *p;
771 ngx_imap_session_t *s; 771 ngx_imap_session_t *s;
772 ngx_imap_log_ctx_t *ctx; 772 ngx_imap_log_ctx_t *ctx;
773 773
774 if (log->action) { 774 if (log->action) {
775 p = ngx_snprintf(buf, len, " while %s", log->action); 775 p = ngx_snprintf(buf, len, " while %s", log->action);
776 len -= p - buf; 776 len -= p - buf;
777 buf = p; 777 buf = p;