null+****@clear*****
null+****@clear*****
2010年 6月 8日 (火) 22:56:06 JST
Daijiro MORI 2010-06-08 13:56:06 +0000 (Tue, 08 Jun 2010)
New Revision: 3c3e9025840ee964eb94768448d9b0d3ec99ca20
Log:
Don't call output() from do_htreq().
Modified files:
src/groonga.c
Modified: src/groonga.c (+0 -4)
===================================================================
--- src/groonga.c 2010-06-08 12:58:15 +0000 (e841f5d)
+++ src/groonga.c 2010-06-08 13:56:06 +0000 (3c702af)
@@ -504,10 +504,6 @@ do_htreq(grn_ctx *ctx, grn_msg *msg, grn_obj *body)
GRN_TEXT_PUTS(ctx, body, "]]");
}
GRN_OBJ_FIN(ctx, &jsonp_func);
- if (ctx->stat == GRN_CTX_QUITTING) { ctx->stat = GRN_CTX_QUIT; }
- if (ctx->impl->output) {
- ctx->impl->output(ctx, 0, ctx->impl->data.ptr);
- }
if (send(fd, GRN_BULK_HEAD(body), GRN_BULK_VSIZE(body), MSG_NOSIGNAL) == -1) {
SERR("send");
}