couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fedor Indutny (JIRA)" <j...@apache.org>
Subject [jira] Created: (COUCHDB-978) jquery.couch.js: db.changes().stop() should abort XMLHTTPRequest
Date Wed, 08 Dec 2010 10:21:01 GMT
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


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 is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message