couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kxe...@apache.org
Subject chttpd commit: updated refs/heads/master to 6a2a6b9
Date Wed, 06 Jan 2016 04:23:05 GMT
Repository: couchdb-chttpd
Updated Branches:
  refs/heads/master 417679a9c -> 6a2a6b976


Don't crash on unknown request method


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

Branch: refs/heads/master
Commit: 6a2a6b976b3af04241b19fc0fca6bb01de260f3b
Parents: 417679a
Author: Alexander Shorin <kxepal@apache.org>
Authored: Sun Jan 3 20:17:29 2016 +0300
Committer: Alexander Shorin <kxepal@apache.org>
Committed: Sun Jan 3 20:17:29 2016 +0300

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


http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/blob/6a2a6b97/src/chttpd.erl
----------------------------------------------------------------------
diff --git a/src/chttpd.erl b/src/chttpd.erl
index 2988012..e47c49f 100644
--- a/src/chttpd.erl
+++ b/src/chttpd.erl
@@ -372,7 +372,7 @@ maybe_log(#httpd{} = HttpReq, #httpd_resp{should_log = true} = HttpResp)
->
     RawUri = MochiReq:get(raw_path),
     RequestTime = timer:now_diff(EndTime, BeginTime) / 1000,
     couch_log:notice("~s ~s ~s ~s ~s ~B ~p ~B", [Nonce, Peer, Host,
-        atom_to_list(Method), RawUri, Code, Status, round(RequestTime)]);
+        Method, RawUri, Code, Status, round(RequestTime)]);
 maybe_log(_HttpReq, #httpd_resp{should_log = false}) ->
     ok.
 


Mime
View raw message