I don’t see any issue, passing cancel: true to a replication running and 
authenticated stops it and returns {"ok": true} in 1.3. I’ve tried with 1.2.1 
and 1.3.

If there is an authentication error then /_replicate returns a 404 though (also 
observed in 1.2.1 and 1.3). That’s probably because it couldn’t find a 
replication with those parameters. A replication encountering 401 unauthorized 
stops immediately. We will definitely document the 404 response in the docs but 
I can’t reproduce what you’re encountering, can you double check and provide 
steps to repro if possible?

James
On 4 August 2016 at 10:08:32, Nick Pomfret ([email protected]) wrote:

So could someone confirm (or deny) that the cancel flag works in the latest iOS 
release?  I can't get it to work, but I'm sure it has worked in previous 
releases.


/**
 * [email protected]
 * http://twitter.com/nickpomfret
 * https://uk.linkedin.com/in/nick-pomfret-03614a
 */
 

On 3 August 2016 at 16:50, Jens Alfke <[email protected]> wrote:

On Aug 3, 2016, at 4:17 AM, Nick Pomfret <[email protected]> wrote:

Ah, I'm running a 1.2 sync-gateway, maybe that's the problem? 

Shouldn’t make a difference — canceling a replication is a purely local task 
that doesn’t involve the server.

FYI, the docs are here.

—Jens

--
You received this message because you are subscribed to a topic in the Google 
Groups "Couchbase Mobile" group.
To unsubscribe from this topic, visit 
https://groups.google.com/d/topic/mobile-couchbase/8y3eMdlHtpM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to 
[email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mobile-couchbase/640B7A12-90AC-461F-9E9C-1E356850E89F%40couchbase.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups 
"Couchbase Mobile" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mobile-couchbase/CACfBfNsLbhsD%3DM_e5pzN-cRt49JNHWMpdEeOJ4r_QX%2BqbwLL8w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Couchbase Mobile" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mobile-couchbase/etPan.57a36d6c.2230d249.8351%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to