couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rnew...@apache.org
Subject [43/50] chttpd commit: updated refs/heads/master to 58020ab
Date Thu, 28 Aug 2014 12:00:06 GMT
Add the request id and timing info in chttpd:send_response


Project: http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/commit/07bf741c
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/tree/07bf741c
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/diff/07bf741c

Branch: refs/heads/master
Commit: 07bf741c809767a71a1066472f0851d275514eb4
Parents: a456f88
Author: Russell Branca <chewbranca@gmail.com>
Authored: Fri Mar 28 10:33:43 2014 -0700
Committer: Robert Newson <rnewson@apache.org>
Committed: Thu Jul 31 11:55:11 2014 +0100

----------------------------------------------------------------------
 src/chttpd.erl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/blob/07bf741c/src/chttpd.erl
----------------------------------------------------------------------
diff --git a/src/chttpd.erl b/src/chttpd.erl
index c41707f..fab6695 100644
--- a/src/chttpd.erl
+++ b/src/chttpd.erl
@@ -591,7 +591,7 @@ send_chunk(Resp, Data) ->
 send_response(#httpd{mochi_req=MochiReq}=Req, Code, Headers0, Body) ->
     couch_stats_collector:increment({httpd_status_codes, Code}),
     Headers = Headers0 ++ server_header() ++
-	couch_httpd_auth:cookie_auth_header(Req, Headers0),
+	[timing(), reqid() | couch_httpd_auth:cookie_auth_header(Req, Headers0)],
     {ok, MochiReq:respond({Code, Headers, Body})}.
 
 


Mime
View raw message