comparison src/http/modules/ngx_http_gzip_filter_module.c @ 1626:7caa66b819df

fix gzip and SSL
author Igor Sysoev <igor@sysoev.ru>
date Thu, 08 Nov 2007 15:21:22 +0000
parents 45cbc1aa8652
children 775edc46ee66
comparison
equal deleted inserted replaced
1625:91c08c1f4654 1626:7caa66b819df
835 835
836 break; 836 break;
837 } 837 }
838 } 838 }
839 839
840 if (last == NGX_AGAIN && !ctx->done) { 840 if (ctx->out == NULL) {
841 return NGX_AGAIN; 841
842 } 842 if (last == NGX_AGAIN) {
843 843 return NGX_AGAIN;
844 if (ctx->out == NULL && ctx->busy == NULL) { 844 }
845 return NGX_OK; 845
846 if (ctx->busy == NULL) {
847 return NGX_OK;
848 }
846 } 849 }
847 850
848 last = ngx_http_next_body_filter(r, ctx->out); 851 last = ngx_http_next_body_filter(r, ctx->out);
849 852
850 /* 853 /*