Mercurial > hg > nginx-vendor-0-7
comparison src/imap/ngx_imap_handler.c @ 118:644a7935144b NGINX_0_3_6
nginx 0.3.6
*) Change: now the IMAP/POP3 proxy do not send the empty login to
authorization server.
*) Feature: the "log_format" supports the variables in the $name form.
*) Bugfix: if at least in one server was no the "listen" directive,
then nginx did not listen on the 80 port; bug appeared in 0.3.3.
*) Bugfix: if the URI part is omitted in "proxy_pass" directive, the
the 80 port was always used.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Mon, 24 Oct 2005 00:00:00 +0400 |
parents | e38f51cd0905 |
children | df17fbafec8f |
comparison
equal
deleted
inserted
replaced
117:0821ea4ccfc5 | 118:644a7935144b |
---|---|
353 } | 353 } |
354 | 354 |
355 switch (s->command) { | 355 switch (s->command) { |
356 | 356 |
357 case NGX_IMAP_LOGIN: | 357 case NGX_IMAP_LOGIN: |
358 if (s->args.nelts == 2) { | 358 arg = s->args.elts; |
359 | 359 |
360 arg = s->args.elts; | 360 if (s->args.nelts == 2 && arg[0].len) { |
361 | 361 |
362 s->login.len = arg[0].len; | 362 s->login.len = arg[0].len; |
363 s->login.data = ngx_palloc(c->pool, s->login.len); | 363 s->login.data = ngx_palloc(c->pool, s->login.len); |
364 if (s->login.data == NULL) { | 364 if (s->login.data == NULL) { |
365 ngx_imap_session_internal_server_error(s); | 365 ngx_imap_session_internal_server_error(s); |