Hi,
I don't know if there is some reason to disable keepalive if chunked filter
is disabled.
If don't have a reason for that I would ask to apply this patch to nginx
core.
--- src/http/modules/ngx_http_chunked_filter_module.c 2011-09-30
11:20:52.000000000 -0300
+++ src/http/modules/ngx_http_chunked_filter_module.c 2012-01-21
22:35:51.663785000 -0200
@@ -84,9 +84,6 @@
}
ngx_http_set_ctx(r, ctx, ngx_http_chunked_filter_module);
-
- } else {
- r->keepalive = 0;
}
}
}
I developed a module which delivery the same message to many users in a
chunked connection, because of that I disable chunked filter and make the
chunks myself to deliver to all users saving some memory and processing.
Everything is working fine, but without this patch I can not use keepalive
on my connections, because nginx chunked filter disable this feature when
it is disabled.
I hope you can accept this simple patch, regardless of my use case.
Regards,
Wandenberg
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel