comparison src/http/modules/ngx_http_gzip_filter_module.c @ 2292:51487a60eba2

fix the previous commit
author Igor Sysoev <igor@sysoev.ru>
date Thu, 06 Nov 2008 19:54:54 +0000
parents e9a1cddf2aaa
children bbfaeb220e90
comparison
equal deleted inserted replaced
2291:e9a1cddf2aaa 2292:51487a60eba2
354 354
355 /* rc == NGX_AGAIN */ 355 /* rc == NGX_AGAIN */
356 } 356 }
357 357
358 if (ctx->out == NULL) { 358 if (ctx->out == NULL) {
359 return NGX_AGAIN; 359 return ctx->busy ? NGX_AGAIN : NGX_OK;
360 } 360 }
361 361
362 if (!ctx->gzheader) { 362 if (!ctx->gzheader) {
363 if (ngx_http_gzip_filter_gzheader(r, ctx) != NGX_OK) { 363 if (ngx_http_gzip_filter_gzheader(r, ctx) != NGX_OK) {
364 goto failed; 364 goto failed;