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

retry a comet request when it's aborted

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Normal
    • Resolution: Done
    • Affects Version/s: 8.6.1
    • Fix Version/s: 8.6.3
    • Component/s: None
    • Security Level: Jimmy
    • Labels:
      None
    • gh.sprint.customfield.default.name:
      ZK 8.6.3 S1

      Description

      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.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                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