Bug Tracker

Modify

Ticket #1263 (closed bug: invalid)

Opened 6 years ago

Last modified 4 years ago

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:
Blocking: Blocked by:

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

comment:1 Changed 4 years ago by dmethvin

  • Status changed from new to closed
  • Resolution set to invalid

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

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.