anchor.diff:      end.
   
   
  +% This clause is only hit when _db_updates is queried with limit=0. For
  +% limit>0, the request is stopped by maybe_finish/1.
  +changes_callback({change, _}, #acc{limit=0}=Acc) ->
  +    {stop, Acc};
  +
   % callbacks for continuous feed (newline-delimited JSON Objects)
   changes_callback(start, #acc{feed="continuous"}=Acc) ->
       #acc{resp=Req} = Acc,
  
positive.code:         {heartbeat, Other} -> Other;
          false -> false
      end,
      chttpd:verify_is_server_admin(Req),
      Acc = #acc{
          username=admin,
          feed=Feed,
          resp=Req,
          heartbeat_interval=Heartbeat
      },
      case Feed of
          "normal" ->
              {ok, Info} = fabric:get_db_info(Db),
              Etag = chttpd:make_etag(Info),
              chttpd:etag_respond(Req, Etag, fun() ->
                  fabric:changes(Db, fun changes_callback/2, Acc#acc{etag=Etag}, Options)
              end);
          Feed when Feed =:= "continuous"; Feed =:= "longpoll" ->
              fabric:changes(Db, fun changes_callback/2, Acc, Options);
          _ ->
              Msg = <<"Supported `feed` types: normal, continuous, longpoll">>,
              throw({bad_request, Msg})
  
negative.code:                 resp=Resp1,
                  last_data_sent_time=os:timestamp()
              },
              maybe_finish(Acc1)
      end;
  changes_callback({stop, EndSeq}, Acc) ->
      % Temporary upgrade clause - Case 24236
  