comparison src/http/modules/ngx_http_gzip_filter_module.c @ 1729:ee6d9d2780b6 stable-0.5

r1627 merge: fix gzip and SSL
author Igor Sysoev <igor@sysoev.ru>
date Wed, 12 Dec 2007 21:01:43 +0000
parents f7c4e833d85a
children
comparison
equal deleted inserted replaced
1728:412742b3e60e 1729:ee6d9d2780b6
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 /*