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.
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
Post a Comment