android - a url's response may be replaced by another url -


i have 2 different domain urls named a.com , b.com. code send request: asynchttpclient same one.

asynchttpclient.post(context, "a.com", aparams, aresponsehandler); asynchttpclient.post(context, "b.com", bparams, brsponsehandler); 

there chance happen: "b.com" response in aresponsehandler, although doesn't happen frequently. why mistake response ?

whehter perform either of them solely, it's ok.

i find guy has same question.

the issue linked on github seems closed. original poster wrote following:

in local tests ,no way reproduce problem, happened.....

it seems unlikely occur, , issue cannot reproduced. personally, wouldn't worry happening in application. write conditional statement check , throw exception if wrong responsehandler triggered.


Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -

How to provide Authorization & Authentication using Asp.net, C#? -