[
https://issues.apache.org/jira/browse/COUCHDB-978?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alexander Shorin resolved COUCHDB-978.
--------------------------------------
Resolution: Fixed
Fix Version/s: 1.7.0
Fixed in
[9eb2629|https://git-wip-us.apache.org/repos/asf?p=couchdb.git;a=commit;h=9eb2629]
> jquery.couch.js: db.changes().stop() should abort XMLHTTPRequest
> ----------------------------------------------------------------
>
> Key: COUCHDB-978
> URL: https://issues.apache.org/jira/browse/COUCHDB-978
> Project: CouchDB
> Issue Type: Bug
> Affects Versions: 1.0.1
> Environment: Doesn't matter
> Reporter: Fedor Indutny
> Fix For: 1.7.0
>
> Attachments:
> 0001-jquery.couch.js-db.changes-.stop-should-abort-XMLHTT.patch
>
>
> Suppose you're listening for the db changes:
> var promise = app.db.changes(0);
> And want to stop listening:
> promise.stop();
> But it will only prevent reconnecting and event triggering, while
> XMLHTTPRequest will be still active (just until server responds).
> My patch is fixing this.
--
This message was sent by Atlassian JIRA
(v6.2#6252)