jQuery: The Write Less, Do More JavaScript Library

Ticket #1263 (new bug)

Opened 1 year ago

Last modified 9 months ago

Dropped AJAX connections strangly report success

Reported by: harningt Assigned to: anonymous
Type: bug Priority: major
Milestone: 1.1.3 Component: ajax
Version: 1.1.2 Keywords:
Cc: Needs: Review

Description

I was debugging some issues to do w/ proxies causing problems in our AJAX code and found that some strange behavior was exhibited when web connections are abruptly dropped.

Note: Tested on Firefox, haven't tried IE. The Ajax Proxy here was used to test dropped connections... http://sourceforge.net/projects/jpspan/

Ex: Ajax request begins - connection dropped Ajax completes:

status == 200 responseText == ""

Strange, huh?

The one thing that is different in that than a blank page is that there are no HTTP headers available.

There should probably be workaround inside the AJAX module for this situation (so that some sort of error is reported or the request retried...).

Attachments

Note: See TracTickets for help on using tickets.