I’ve got an app that fires off multiple network requests at once when a user registers…
However, my server is receiving duplicate calls for some of the later requests in the sequence (2 identical calls when it should be one). I’m printing out each call/url from the app as it is made, and am sure only one is getting fired off of each call…
I am not seeing duplicate calls received by the server when this same code executes on the simulator, or on my android test device - just from my iPad test device…
After flattening my head (banging it against the wall) I tried adding a delay between the calls. After adding a 50 ms delay, voila. No more duplicates received by the server. No idea if this is an iOS 6 out error, or if it is due to my server being hosted in a (low quality) cloud that has issues with waking/sleeping my app / it’s buffers when rapid fire calls like this come in… But again, just a slight delay between the calls, and it all works fine… (I used the handy delay technique described here: http://www.coronalabs.com/blog/2012/04/24/working-with-time-delays-and-counting/ )
So, was wondering if anyone else ran into this and had any insights. No crisis, I’ve got a workaround - just would like to understand whats going on a little better. [import]uid: 79933 topic_id: 33800 reply_id: 333800[/import]