Closed (fixed)
Project:
Drupal core
Version:
x.y.z
Component:
base system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 Feb 2006 at 07:44 UTC
Updated:
16 Oct 2006 at 16:08 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
Sid_M commentedThe same issues are found in the HTTPPost function.
Comment #2
Egon Bianchet commentedPlease provide a patch (patch howto).
Comment #3
Egon Bianchet commentedI think it's a bug report
Comment #4
Anonymous (not verified) commentedI don't agree with moving the send() function.. it's fine where it is. However, I agree with the redundancy on the multiple if statements based on bAsync.
Here is a patch that removes the reduancy but keeps the functions how they were.
Comment #5
Egon Bianchet commentedComment #6
dries commentedCode looks good but how can one reproduce the problem, and test that this works?
Comment #7
kkaefer commentedPatch looks good. +1 on this. It's just for "cosmetic" purposes and does not alter any functionality whatsoever.
Comment #8
killes@www.drop.org commentedcommitted to 4.7
Comment #9
dries commentedCommitted to CVS HEAD.
Comment #10
(not verified) commentedComment #11
ddoongoor commentedI think this is still an issue. I've just downloaded 4.7.3 and misc/drupal.js still contains HTTPGet() (and HTTPPost()) with the possible race condition.
Comment #12
killes@www.drop.org commentedthe fix will be part of a future 4.7.4 release
Comment #13
kkaefer commentedIn addition, this issue does no longer exist in HEAD as we use jQuery for all AJAX functionalities.
Comment #14
ddoongoor commentedThanks for the update. In our project we've actually seen the race condition manifest itself. We've applied this revision to our version and it corrects the problem.