couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From iil...@apache.org
Subject [39/50] couch-httpd commit: updated refs/heads/split_out_httpd_stack to e44a372
Date Tue, 01 Mar 2016 20:01:12 GMT
Set stack in #httpd_resp{}


Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/commit/265c82c4
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/tree/265c82c4
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/diff/265c82c4

Branch: refs/heads/split_out_httpd_stack
Commit: 265c82c43519626fa9c93897043c5073ca298563
Parents: 58ac4f6
Author: ILYA Khlopotov <iilyak@ca.ibm.com>
Authored: Fri Feb 26 14:01:46 2016 -0800
Committer: ILYA Khlopotov <iilyak@ca.ibm.com>
Committed: Tue Mar 1 08:35:09 2016 -0800

----------------------------------------------------------------------
 include/couch_httpd.hrl     | 3 ++-
 src/couch_httpd_handler.erl | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/blob/265c82c4/include/couch_httpd.hrl
----------------------------------------------------------------------
diff --git a/include/couch_httpd.hrl b/include/couch_httpd.hrl
index 9d3bd97..b891cd5 100644
--- a/include/couch_httpd.hrl
+++ b/include/couch_httpd.hrl
@@ -18,5 +18,6 @@
     status,
     nonce,
     should_log = true,
-    reason
+    reason,
+    stack
 }).

http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/blob/265c82c4/src/couch_httpd_handler.erl
----------------------------------------------------------------------
diff --git a/src/couch_httpd_handler.erl b/src/couch_httpd_handler.erl
index 0149d54..44f3cfb 100644
--- a/src/couch_httpd_handler.erl
+++ b/src/couch_httpd_handler.erl
@@ -170,7 +170,8 @@ handle_request_int(Stack, MochiReq) ->
         status = Status,
         response = Resp,
         nonce = HttpReq2#httpd.nonce,
-        reason = Reason
+        reason = Reason,
+        stack = Stack
     },
 
     case after_request(HttpReq2, HttpResp) of


Mime
View raw message