You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by kx...@apache.org on 2015/10/29 15:29:23 UTC

chttpd commit: updated refs/heads/master to 2147dba

Repository: couchdb-chttpd
Updated Branches:
  refs/heads/master 32e965353 -> 2147dba9c


Fix Last-Event-ID header handling for db changes feed

This assumes Last-Event-ID header value to be opaque.

COUCHDB-2858


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

Branch: refs/heads/master
Commit: 2147dba9c87ae0ae39206009bdb2784108507a16
Parents: 32e9653
Author: Alexander Shorin <kx...@apache.org>
Authored: Thu Oct 29 03:38:52 2015 +0300
Committer: Alexander Shorin <kx...@apache.org>
Committed: Thu Oct 29 17:27:38 2015 +0300

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


http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/blob/2147dba9/src/chttpd_db.erl
----------------------------------------------------------------------
diff --git a/src/chttpd_db.erl b/src/chttpd_db.erl
index ad2017e..3374654 100644
--- a/src/chttpd_db.erl
+++ b/src/chttpd_db.erl
@@ -1435,7 +1435,7 @@ parse_changes_query(Req) ->
                 undefined ->
                     ChangesArgs;
                 Value ->
-                    ChangesArgs#changes_args{since=list_to_integer(Value)}
+                    ChangesArgs#changes_args{since=Value}
             end;
         _ ->
             ChangesArgs