Motoi Washida
null+****@clear*****
Sat Aug 17 22:30:12 JST 2013
Motoi Washida 2013-08-17 22:30:12 +0900 (Sat, 17 Aug 2013) New Revision: 2b1dedaff11a0efba4f4817cb83a2ad90010ee9d https://github.com/groonga/groonga/commit/2b1dedaff11a0efba4f4817cb83a2ad90010ee9d Merged 3eb016a: Merge pull request #101 from wm3/httpd-posts-doesnt-work-bug Message: groonga-httpd: support loading data using POST method. Modified files: src/httpd/nginx-module/ngx_http_groonga_module.c Modified: src/httpd/nginx-module/ngx_http_groonga_module.c (+1 -1) =================================================================== --- src/httpd/nginx-module/ngx_http_groonga_module.c 2013-08-18 09:16:08 +0900 (cfb8dff) +++ src/httpd/nginx-module/ngx_http_groonga_module.c 2013-08-17 22:30:12 +0900 (7b9744a) @@ -343,7 +343,7 @@ ngx_http_groonga_handler_process_body(ngx_http_request_t *r, context = &(data->context); - body = r->request_body->buf; + body = r->request_body->bufs->buf; if (!body) { ngx_http_groonga_handler_set_content_type(r, "text/plain"); GRN_TEXT_PUTS(context, &(data->body), "must send load data as body"); -------------- next part -------------- HTML����������������������������... Télécharger