Mercurial > hg > nginx-vendor-0-5
comparison src/mail/ngx_mail_proxy_module.c @ 320:1e9e2c5e7c14 NGINX_0_5_30
nginx 0.5.30
*) Feature: the $args variable can be set with the "set" directive.
*) Feature: the $is_args variable.
*) Bugfix: if a client has closed connection to mail proxy then nginx
might not close connection to backend.
*) Bugfix: now nginx escapes space in $memcached_key variable.
*) Bugfix: a segmentation fault might occur in worker process when the
HTTPS protocol was used in the "proxy_pass" directive.
*) Bugfix: the perl $$ variable value in ngx_http_perl_module was equal
to the master process identification number.
*) Bugfix: fix building on Solaris/amd64 by Sun Studio 11 and early
versions; bug appeared in 0.5.29.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Mon, 30 Jul 2007 00:00:00 +0400 |
parents | 2ceaee987f37 |
children | f70f2f565fe0 |
comparison
equal
deleted
inserted
replaced
319:10d5a311cc5e | 320:1e9e2c5e7c14 |
---|---|
864 break; | 864 break; |
865 } | 865 } |
866 | 866 |
867 c->log->action = "proxying"; | 867 c->log->action = "proxying"; |
868 | 868 |
869 if ((s->connection->read->eof || s->proxy->upstream.connection->read->eof) | 869 if ((s->connection->read->eof && s->buffer->pos == s->buffer->last) |
870 && s->buffer->pos == s->buffer->last | 870 || (s->proxy->upstream.connection->read->eof |
871 && s->proxy->buffer->pos == s->proxy->buffer->last) | 871 && s->proxy->buffer->pos == s->proxy->buffer->last) |
872 || (s->connection->read->eof | |
873 && s->proxy->upstream.connection->read->eof)) | |
872 { | 874 { |
873 action = c->log->action; | 875 action = c->log->action; |
874 c->log->action = NULL; | 876 c->log->action = NULL; |
875 ngx_log_error(NGX_LOG_INFO, c->log, 0, "proxied session done"); | 877 ngx_log_error(NGX_LOG_INFO, c->log, 0, "proxied session done"); |
876 c->log->action = action; | 878 c->log->action = action; |