Identi.ca Identi.ca
  • Login
  • Public

    • Public
    • Groups
    • Featured
    • Popular

Conversation

Notices

  1. Dustin Sallings Dustin Sallings

    Does anyone have any experience with firefox just completely aborting the processing of an AJAX request (with jquery?)

    Friday, 14-Nov-08 22:46:57 UTC from identispy
    • Brian roy Brian roy

      @dustin nope... generally that only happens on timeout...

      Friday, 14-Nov-08 22:55:35 UTC
    • Dustin Sallings Dustin Sallings Brian roy

      @briantroy It's happening fairly consistently for me on the first load of this app. There's no timeout I see doing anything.

      Friday, 14-Nov-08 23:00:33 UTC
    • Dustin Sallings Dustin Sallings Brian roy

      @briantroy That is, it'll fail on the first request within 2s consistently, but work fine after a 30m long poll (took a nap).

      Friday, 14-Nov-08 23:02:09 UTC
    • Jack Moffitt Jack Moffitt

      @dustin Failed requests are quite common. Though usually random, not always on the first one.

      Friday, 14-Nov-08 23:06:19 UTC
    • Brian roy Brian roy

      @dustin are you handlingthe error: case? if so what are you getting? Is it even firing?

      Friday, 14-Nov-08 23:07:24 UTC
    • Dustin Sallings Dustin Sallings Jack Moffitt

      @metajack Hmm... I'd expect a callback. I'm using ajaxStop because there should *always* be one in flight. Just stops.

      Friday, 14-Nov-08 23:18:33 UTC
    • Jack Moffitt Jack Moffitt

      @dustin Lots of AJAX libs dont' recover from non-HTTP errors.

      Friday, 14-Nov-08 23:21:06 UTC
    • Jack Moffitt Jack Moffitt

      @dustin Also, it's possible for the AJAX request to get stuck in a proxy or somewhere until the server timeout value is reached.

      Friday, 14-Nov-08 23:21:59 UTC
    • Dustin Sallings Dustin Sallings Jack Moffitt

      @metajack Kind of disappointing. I've got no sign of failure anywhere. -- this is just localhost

      Friday, 14-Nov-08 23:22:12 UTC
    • Brian roy Brian roy

      @dustin if there is always one active don't use ajaxStop... use ajaxComplete ... for long polling I always use .ajax with internal cllbacks

      Friday, 14-Nov-08 23:24:43 UTC
    • Dustin Sallings Dustin Sallings Brian roy

      @briantroy I've tried both. They both work the same way unless the GET gets swallowed.

      Friday, 14-Nov-08 23:25:29 UTC

Site notice

  • API
  • Status

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

Identi.ca is a microblogging service brought to you by Status.net. It runs the StatusNet microblogging software, version 1.1.0-alpha1, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All Identi.ca content and data are available under the Creative Commons Attribution 3.0 license.

Switch to mobile site layout.

Built in Montreal