couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fdman...@apache.org
Subject svn commit: r996293 - /couchdb/trunk/src/couchdb/couch_rep_changes_feed.erl
Date Sun, 12 Sep 2010 11:33:56 GMT
Author: fdmanana
Date: Sun Sep 12 11:33:56 2010
New Revision: 996293

URL: http://svn.apache.org/viewvc?rev=996293&view=rev
Log:
Fix previous revision (module prefix not included)

Modified:
    couchdb/trunk/src/couchdb/couch_rep_changes_feed.erl

Modified: couchdb/trunk/src/couchdb/couch_rep_changes_feed.erl
URL: http://svn.apache.org/viewvc/couchdb/trunk/src/couchdb/couch_rep_changes_feed.erl?rev=996293&r1=996292&r2=996293&view=diff
==============================================================================
--- couchdb/trunk/src/couchdb/couch_rep_changes_feed.erl (original)
+++ couchdb/trunk/src/couchdb/couch_rep_changes_feed.erl Sun Sep 12 11:33:56 2010
@@ -94,7 +94,7 @@ init([_Parent, #http_db{}=Source, Since,
         {ok, #state{conn=Pid, last_seq=Since, reqid=ReqId, init_args=Args}};
     {ibrowse_async_headers, ReqId, Code, Hdrs} when Code=="301"; Code=="302" ->
         catch ibrowse:stop_worker_process(Pid),
-        Url2 = redirect_url(Hdrs, Req#http_db.url),
+        Url2 = couch_rep_httpc:redirect_url(Hdrs, Req#http_db.url),
         %% TODO use couch_httpc:request instead of start_http_request
         {Pid2, ReqId2} = start_http_request(Url2),
         receive {ibrowse_async_headers, ReqId2, "200", _} ->



Mime
View raw message