Bug Tracker

Opened 13 years ago

Closed 11 years ago

#1263 closed bug (invalid)

Dropped AJAX connections strangly report success

Reported by: harningt Owned by:
Priority: major Milestone: 1.1.3
Component: ajax Version: 1.1.2
Keywords: Cc:
Blocked by: Blocking:

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...).

Change History (1)

comment:1 Changed 11 years ago by dmethvin

Resolution: invalid
Status: newclosed

No test case or details on the bug. Reopen with more details if the problem still exists in the current version of jQuery.

Note: See TracTickets for help on using tickets.