Mercurial > hg > nginx-vendor-0-7
comparison src/core/ngx_file.c @ 322:d16d691432c9 NGINX_0_6_5
nginx 0.6.5
*) Feature: $nginx_version variable.
Thanks to Nick S. Grechukh.
*) Feature: the mail proxy supports AUTHENTICATE in IMAP mode.
Thanks to Maxim Dounin.
*) Feature: the mail proxy supports STARTTLS in SMTP mode.
Thanks to Maxim Dounin.
*) Bugfix: now nginx escapes space in $memcached_key variable.
*) Bugfix: nginx was incorrectly built by Sun Studio on
Solaris/amd64.
Thanks to Jiang Hong.
*) Bugfix: of minor potential bugs.
Thanks to Coverity's Scan.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Mon, 23 Jul 2007 00:00:00 +0400 |
parents | 95183808f549 |
children | f7cd062ee035 |
comparison
equal
deleted
inserted
replaced
321:a87830ef6fdd | 322:d16d691432c9 |
---|---|
516 if (ctx->init_handler(data, prev) == NGX_ABORT) { | 516 if (ctx->init_handler(data, prev) == NGX_ABORT) { |
517 goto failed; | 517 goto failed; |
518 } | 518 } |
519 | 519 |
520 ctx->data = data; | 520 ctx->data = data; |
521 | |
522 } else { | |
523 data = NULL; | |
521 } | 524 } |
522 | 525 |
523 for ( ;; ) { | 526 for ( ;; ) { |
524 | 527 |
525 ngx_set_errno(0); | 528 ngx_set_errno(0); |
641 | 644 |
642 if (buf.len) { | 645 if (buf.len) { |
643 ngx_free(buf.data); | 646 ngx_free(buf.data); |
644 } | 647 } |
645 | 648 |
646 if (ctx->alloc) { | 649 if (data) { |
647 ngx_free(ctx->data); | 650 ngx_free(data); |
648 ctx->data = prev; | 651 ctx->data = prev; |
649 } | 652 } |
650 | 653 |
651 if (ngx_close_dir(&dir) == NGX_ERROR) { | 654 if (ngx_close_dir(&dir) == NGX_ERROR) { |
652 ngx_log_error(NGX_LOG_CRIT, ctx->log, ngx_errno, | 655 ngx_log_error(NGX_LOG_CRIT, ctx->log, ngx_errno, |