Navigation Menu

Skip to content

Commit

Permalink
groonga-httpd: flush dump chunk immediately
Browse files Browse the repository at this point in the history
It's for reducing internal buffer to store dump result.
  • Loading branch information
kou committed Jan 26, 2015
1 parent 66fe88f commit 513763f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/httpd/nginx-module/ngx_http_groonga_module.c
Expand Up @@ -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;
Expand Down

0 comments on commit 513763f

Please sign in to comment.