comparison src/imap/ngx_imap_proxy_module.c @ 531:c3bd8cdabb8f release-0.1.40

nginx-0.1.40-RELEASE import *) Bugfix: if a client sent too long header line, then the request information did not logged in the error log. *) Bugfix: the "Set-Cookie" header line was not transferred when the "X-Accel-Redirect" was used; the bug had appeared in 0.1.39. *) Bugfix: the "Content-Disposition" header line was not transferred when the "X-Accel-Redirect" was used. *) Bugfix: the master process did not close the listen socket on the SIGQUIT signal. *) Bugfix: after on-line upgrade on Linux and Solaris the process name became shorter in the "ps" command.
author Igor Sysoev <igor@sysoev.ru>
date Mon, 25 Jul 2005 09:41:38 +0000
parents e5d7d0334fdb
children 371c1cee100d
comparison
equal deleted inserted replaced
530:1feed3cc8571 531:c3bd8cdabb8f
262 if (s->imap_state == ngx_imap_passwd) { 262 if (s->imap_state == ngx_imap_passwd) {
263 s->connection->read->handler = ngx_imap_proxy_handler; 263 s->connection->read->handler = ngx_imap_proxy_handler;
264 s->connection->write->handler = ngx_imap_proxy_handler; 264 s->connection->write->handler = ngx_imap_proxy_handler;
265 rev->handler = ngx_imap_proxy_handler; 265 rev->handler = ngx_imap_proxy_handler;
266 c->write->handler = ngx_imap_proxy_handler; 266 c->write->handler = ngx_imap_proxy_handler;
267
268 ngx_del_timer(c->read);
267 } 269 }
268 } 270 }
269 271
270 272
271 static void 273 static void
382 if (s->imap_state == ngx_pop3_passwd) { 384 if (s->imap_state == ngx_pop3_passwd) {
383 s->connection->read->handler = ngx_imap_proxy_handler; 385 s->connection->read->handler = ngx_imap_proxy_handler;
384 s->connection->write->handler = ngx_imap_proxy_handler; 386 s->connection->write->handler = ngx_imap_proxy_handler;
385 rev->handler = ngx_imap_proxy_handler; 387 rev->handler = ngx_imap_proxy_handler;
386 c->write->handler = ngx_imap_proxy_handler; 388 c->write->handler = ngx_imap_proxy_handler;
389
390 ngx_del_timer(c->read);
387 } 391 }
388 } 392 }
389 393
390 394
391 static void 395 static void