Kouhei Sutou
null+****@clear*****
Mon Jan 26 12:00:15 JST 2015
Kouhei Sutou 2015-01-26 12:00:15 +0900 (Mon, 26 Jan 2015) New Revision: 513763f54eccdcac0357ea97c8b4fe6e2ccb3d96 https://github.com/groonga/groonga/commit/513763f54eccdcac0357ea97c8b4fe6e2ccb3d96 Message: groonga-httpd: flush dump chunk immediately It's for reducing internal buffer to store dump result. Modified files: src/httpd/nginx-module/ngx_http_groonga_module.c Modified: src/httpd/nginx-module/ngx_http_groonga_module.c (+1 -0) =================================================================== --- src/httpd/nginx-module/ngx_http_groonga_module.c 2015-01-26 10:35:55 +0900 (0b7fd26) +++ src/httpd/nginx-module/ngx_http_groonga_module.c 2015-01-26 12:00:15 +0900 (1e8984c) @@ -441,6 +441,7 @@ ngx_http_groonga_context_receive_handler_raw(grn_ctx *context, chain->buf->pos = (u_char *)chunk; chain->buf->last = (u_char *)chunk + chunk_size; chain->buf->tag = (ngx_buf_tag_t)&ngx_http_groonga_module; + chian->buf->flush = 1; chain->buf->temporary = 0; chain->buf->memory = 1; chain->buf->in_file = 0; -------------- next part -------------- HTML����������������������������...Download