couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rnew...@apache.org
Subject chttpd commit: updated refs/heads/master to e7f9ed8
Date Fri, 19 Jun 2015 10:30:18 GMT
Repository: couchdb-chttpd
Updated Branches:
  refs/heads/master 56cf6412a -> e7f9ed83d


Increase nonce size by a byte


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

Branch: refs/heads/master
Commit: e7f9ed83da8e77aeaf8b140344280e990b0580ad
Parents: 56cf641
Author: Paul J. Davis <paul.joseph.davis@gmail.com>
Authored: Mon Nov 3 16:15:29 2014 -0600
Committer: Robert Newson <rnewson@apache.org>
Committed: Fri Jun 19 11:30:07 2015 +0100

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


http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/blob/e7f9ed83/src/chttpd.erl
----------------------------------------------------------------------
diff --git a/src/chttpd.erl b/src/chttpd.erl
index 7062813..f6ce530 100644
--- a/src/chttpd.erl
+++ b/src/chttpd.erl
@@ -196,7 +196,7 @@ handle_request(MochiReq0) ->
     },
 
     % put small token on heap to keep requests synced to backend calls
-    erlang:put(nonce, couch_util:to_hex(crypto:rand_bytes(4))),
+    erlang:put(nonce, couch_util:to_hex(crypto:rand_bytes(5))),
 
     % suppress duplicate log
     erlang:put(dont_log_request, true),


Mime
View raw message