[Groonga-commit] groonga/groonga [master] printf uri

Back to archive index

null+****@clear***** null+****@clear*****
2012年 6月 4日 (月) 14:39:38 JST


Ryo Onodera	2012-06-04 14:39:38 +0900 (Mon, 04 Jun 2012)

  New Revision: 5b9ec393c37ccc333bc7e4422c35fbd2868dae43

  Log:
    printf uri

  Modified files:
    src/nginx-module/ngx_http_groonga_module.c

  Modified: src/nginx-module/ngx_http_groonga_module.c (+1 -0)
===================================================================
--- src/nginx-module/ngx_http_groonga_module.c    2012-06-04 14:39:23 +0900 (179ad54)
+++ src/nginx-module/ngx_http_groonga_module.c    2012-06-04 14:39:38 +0900 (f4a55f3)
@@ -94,6 +94,7 @@ ngx_http_groonga_handler(ngx_http_request_t *r)
   loc_conf = ngx_http_get_module_loc_conf(r, ngx_http_groonga_module);
   printf("database: %.*s\n", (int)loc_conf->database.len, loc_conf->database.data);
   printf("version: %s\n", grn_get_version());
+  printf("uri: %d %.*s\n", (int)r->uri.len, (int)r->uri.len, r->uri.data);
 
   /* we response to 'GET' and 'HEAD' requests only */
   if (!(r->method & (NGX_HTTP_GET|NGX_HTTP_HEAD))) {




Groonga-commit メーリングリストの案内
Back to archive index