X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=src%2Fhttp.c;h=5430f6e04f0fa881034d5bbccc663aed854b1ecf;hb=fa5ad51f6951bdda9c84f8c2252e457d61edec61;hp=bb61e9fbe628a04940866f82939ff8439aea236a;hpb=443d0ccb147b5d845dcf1fc68a5f39c12f47ac6f;p=pazpar2-moved-to-github.git diff --git a/src/http.c b/src/http.c index bb61e9f..5430f6e 100644 --- a/src/http.c +++ b/src/http.c @@ -1,5 +1,5 @@ /* - * $Id: http.c,v 1.3 2006-12-21 04:16:25 quinn Exp $ + * $Id: http.c,v 1.4 2006-12-21 04:27:17 quinn Exp $ */ #include @@ -550,11 +550,10 @@ static void http_io(IOCHAN i, int event) return; } hc->response = 0; - yaz_log(YLOG_LOG, "Request: %s %s%s%s v %s", hc->request->method, + yaz_log(YLOG_LOG, "Request: %s %s%s%s", hc->request->method, hc->request->path, *hc->request->search ? "?" : "", - hc->request->search, - hc->request->http_version); + hc->request->search); if (http_weshouldproxy(hc->request)) http_proxy(hc->request); else @@ -759,7 +758,7 @@ static void http_accept(IOCHAN i, int event) if (fcntl(s, F_SETFL, flags | O_NONBLOCK) < 0) yaz_log(YLOG_FATAL|YLOG_ERRNO, "fcntl2"); - yaz_log(YLOG_LOG, "New command connection"); + yaz_log(YLOG_DEBUG, "New command connection"); c = iochan_create(s, http_io, EVENT_INPUT | EVENT_EXCEPT); ch = http_create();