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 <[email protected]> Authored: Mon Nov 3 16:15:29 2014 -0600 Committer: Robert Newson <[email protected]> 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),
