couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kocol...@apache.org
Subject [1/3] chttpd commit: updated refs/heads/2724-chunked-buffering to d4e19ee
Date Tue, 23 Jun 2015 02:01:08 GMT
Repository: couchdb-chttpd
Updated Branches:
  refs/heads/2724-chunked-buffering [created] d4e19ee78


Remove temporary upgrade clause

This clause was only needed for a very old hot code upgrade.


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

Branch: refs/heads/2724-chunked-buffering
Commit: 87fa8166701dd2a183d10e93a06f7f5ccb39478e
Parents: e7f9ed8
Author: Adam Kocoloski <adam@cloudant.com>
Authored: Mon Jun 22 19:15:23 2015 -0400
Committer: Adam Kocoloski <adam@cloudant.com>
Committed: Mon Jun 22 19:16:25 2015 -0400

----------------------------------------------------------------------
 src/chttpd_db.erl | 6 ------
 1 file changed, 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-chttpd/blob/87fa8166/src/chttpd_db.erl
----------------------------------------------------------------------
diff --git a/src/chttpd_db.erl b/src/chttpd_db.erl
index 7f63023..017f832 100644
--- a/src/chttpd_db.erl
+++ b/src/chttpd_db.erl
@@ -104,9 +104,6 @@ changes_callback(start, {"continuous", Req}) ->
 changes_callback({change, Change}, {"continuous", Resp}) ->
     {ok, Resp1} = chttpd:send_delayed_chunk(Resp, [?JSON_ENCODE(Change) | "\n"]),
     {ok, {"continuous", Resp1}};
-changes_callback({stop, EndSeq0}, {"continuous", Resp}) ->
-    % Temporary upgrade clause - Case 24236
-    changes_callback({stop, EndSeq0, null}, {"continuous", Resp});
 changes_callback({stop, EndSeq0, Pending}, {"continuous", Resp}) ->
     EndSeq = case is_old_couch(Resp) of true -> 0; false -> EndSeq0 end,
     Row = {[
@@ -153,9 +150,6 @@ changes_callback(start, {_, Req}) ->
 changes_callback({change, Change}, {Prepend, Resp}) ->
     {ok, Resp1} = chttpd:send_delayed_chunk(Resp, [Prepend, ?JSON_ENCODE(Change)]),
     {ok, {",\r\n", Resp1}};
-changes_callback({stop, EndSeq}, Acc) ->
-    % Temporary upgrade clause - Case 24236
-    changes_callback({stop, EndSeq, null}, Acc);
 changes_callback({stop, EndSeq, Pending}, {_, Resp}) ->
     {ok, Resp1} = case is_old_couch(Resp) of
     true ->


Mime
View raw message