Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-4256

retry a comet request when it's aborted

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Done
    • Icon: Normal Normal
    • 8.6.3
    • 8.6.1
    • None
    • Security Level: Jimmy
    • None
    • ZK 8.6.3 S1

      Steps to Reproduce

      current implementation will stop a comet request when the request is aborted by a browser.

      Current Result

      zkex.cmsp.SPush = zk.$extends(zk.Object, {
      ...
          _send: function () {
      		...
      			req.onabort = this.proxy(this.stop);
      

      Expected Result

      retry when it's aborted

      Debug Info

      • possible reasons that Chrome aborts a request: https://stackoverflow.com/a/13459106/1281378
      • the user doesn't know the reason of abortion yet, we can research more before implementing it
      • the user confirms that retry after abort solve their problem, even he still don't know the reason of abortion.

            rudyhuang rudyhuang
            hawk hawk
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 4 hours
                4h
                Remaining:
                Time Spent - 2 hours Remaining Estimate - 2 hours
                2h
                Logged:
                Time Spent - 2 hours Remaining Estimate - 2 hours
                2h